[JBoss JIRA] (TEIID-4102) Infinispan 6 resource-adapter has not valid module.xml
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIID-4102?page=com.atlassian.jira.plugin... ]
Van Halbert commented on TEIID-4102:
------------------------------------
Not at this time. There's more coming in the next release.
> Infinispan 6 resource-adapter has not valid module.xml
> ------------------------------------------------------
>
> Key: TEIID-4102
> URL: https://issues.jboss.org/browse/TEIID-4102
> Project: Teiid
> Issue Type: Bug
> Components: Misc. Connectors
> Affects Versions: 8.12.x
> Reporter: Jan Stastny
> Assignee: Van Halbert
>
> There is problem with invalid module.xml file in infinispan 6 resource-adapter.
> In its dependencies there is:
> {code:xml}
> <module name="org.jboss.teiid.translator.infinispan.cache" export=true/>
> {code}
> There should be
> {code:xml}
> <module name="org.jboss.teiid.translator.infinispan.cache" export="true"/>
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (TEIID-4103) OData - wrong string indexing in string functions indexof and substring
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-4103?page=com.atlassian.jira.plugin... ]
Ramesh Reddy edited comment on TEIID-4103 at 3/23/16 2:18 PM:
--------------------------------------------------------------
In that case I will re-write queries as
indexof(str, strfind) ===> LOCATE(strfind, str)-1
substring(str,start) ===> SUBSTRING(str, start+1)
substring(str,start, #ofchars) ===> SUBSTRING(str, start+1, #ofchars)
was (Author: rareddy):
In that case I will re-write queries as
indexof(str, strfind) ===> LOCATE(strfind, str)-1
substring(str,start) ===> SUBSTRING(str, start+1)
substring(str,start, end) ===> SUBSTRING(str, start+1, end+1)
> OData - wrong string indexing in string functions indexof and substring
> ------------------------------------------------------------------------
>
> Key: TEIID-4103
> URL: https://issues.jboss.org/browse/TEIID-4103
> Project: Teiid
> Issue Type: Sub-task
> Components: OData
> Reporter: Michal Sanitrak
> Assignee: Ramesh Reddy
>
> By documentation \[1\] function indexof returns the zero-based character position of the first occurrence of the second parameter value in the first parameter value.
> Function substring doens't have explicitly specified indexing, but based on _Example 60_ \[2\] is function substring _zero-based_ too.
> *indexof*
> Reference service which supports OData V4:
> *ULR:* http://services.odata.org/V4/Northwind/Northwind.svc/Customers/?$filter=i...,'lfreds') eq 1
> *Result:* Customer with CompanyName equals "Alfreds Futterkiste"
> *URL:* http://localhost:8080/odata4/olingo_basic/Source/SimpleDataTable/?$filter...,'alue') eq 1
> *Result:* No entities
> *Expected result:* Entity with intkey 1,2,3,4,8,9,10,11,12
> *substring*
> Reference service which supports OData V4:
> *URL:* http://services.odata.org/V4/Northwind/Northwind.svc/Customers/?$filter=i...,'lfreds') eq 1
> *Result:* Customer with CompanyName equals "Alfreds Futterkiste"
> *ULR:* http://localhost:8080/odata4/olingo_basic/Source/SimpleDataTable/?$filter..., 1) eq 'alue_asdf'
> *Result:* No entities
> *Expected result:* Entity with intkey 10
> \[1\] https://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part2-u...
> \[2\] https://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part2-u...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (TEIID-4103) OData - wrong string indexing in string functions indexof and substring
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-4103?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-4103:
---------------------------------------
> You mean for "start" and "end" values above in the "substring"?
Yes. If it's supported then it will complicate simply shifting the substring arguments as the negative direction won't need adjusting.
> OData - wrong string indexing in string functions indexof and substring
> ------------------------------------------------------------------------
>
> Key: TEIID-4103
> URL: https://issues.jboss.org/browse/TEIID-4103
> Project: Teiid
> Issue Type: Sub-task
> Components: OData
> Reporter: Michal Sanitrak
> Assignee: Ramesh Reddy
>
> By documentation \[1\] function indexof returns the zero-based character position of the first occurrence of the second parameter value in the first parameter value.
> Function substring doens't have explicitly specified indexing, but based on _Example 60_ \[2\] is function substring _zero-based_ too.
> *indexof*
> Reference service which supports OData V4:
> *ULR:* http://services.odata.org/V4/Northwind/Northwind.svc/Customers/?$filter=i...,'lfreds') eq 1
> *Result:* Customer with CompanyName equals "Alfreds Futterkiste"
> *URL:* http://localhost:8080/odata4/olingo_basic/Source/SimpleDataTable/?$filter...,'alue') eq 1
> *Result:* No entities
> *Expected result:* Entity with intkey 1,2,3,4,8,9,10,11,12
> *substring*
> Reference service which supports OData V4:
> *URL:* http://services.odata.org/V4/Northwind/Northwind.svc/Customers/?$filter=i...,'lfreds') eq 1
> *Result:* Customer with CompanyName equals "Alfreds Futterkiste"
> *ULR:* http://localhost:8080/odata4/olingo_basic/Source/SimpleDataTable/?$filter..., 1) eq 'alue_asdf'
> *Result:* No entities
> *Expected result:* Entity with intkey 10
> \[1\] https://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part2-u...
> \[2\] https://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part2-u...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (TEIID-4103) OData - wrong string indexing in string functions indexof and substring
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-4103?page=com.atlassian.jira.plugin... ]
Ramesh Reddy commented on TEIID-4103:
-------------------------------------
You mean for "start" and "end" values above in the "substring"? There has been changes in latest errata 03 about treating negative values as to start from end of the string
> OData - wrong string indexing in string functions indexof and substring
> ------------------------------------------------------------------------
>
> Key: TEIID-4103
> URL: https://issues.jboss.org/browse/TEIID-4103
> Project: Teiid
> Issue Type: Sub-task
> Components: OData
> Reporter: Michal Sanitrak
> Assignee: Ramesh Reddy
>
> By documentation \[1\] function indexof returns the zero-based character position of the first occurrence of the second parameter value in the first parameter value.
> Function substring doens't have explicitly specified indexing, but based on _Example 60_ \[2\] is function substring _zero-based_ too.
> *indexof*
> Reference service which supports OData V4:
> *ULR:* http://services.odata.org/V4/Northwind/Northwind.svc/Customers/?$filter=i...,'lfreds') eq 1
> *Result:* Customer with CompanyName equals "Alfreds Futterkiste"
> *URL:* http://localhost:8080/odata4/olingo_basic/Source/SimpleDataTable/?$filter...,'alue') eq 1
> *Result:* No entities
> *Expected result:* Entity with intkey 1,2,3,4,8,9,10,11,12
> *substring*
> Reference service which supports OData V4:
> *URL:* http://services.odata.org/V4/Northwind/Northwind.svc/Customers/?$filter=i...,'lfreds') eq 1
> *Result:* Customer with CompanyName equals "Alfreds Futterkiste"
> *ULR:* http://localhost:8080/odata4/olingo_basic/Source/SimpleDataTable/?$filter..., 1) eq 'alue_asdf'
> *Result:* No entities
> *Expected result:* Entity with intkey 10
> \[1\] https://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part2-u...
> \[2\] https://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part2-u...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (TEIID-4102) Infinispan 6 resource-adapter has not valid module.xml
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-4102?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-4102:
---------------------------------------
Van, was there something you wanted to do for this beyonds Jan's pull request?
> Infinispan 6 resource-adapter has not valid module.xml
> ------------------------------------------------------
>
> Key: TEIID-4102
> URL: https://issues.jboss.org/browse/TEIID-4102
> Project: Teiid
> Issue Type: Bug
> Components: Misc. Connectors
> Affects Versions: 8.12.x
> Reporter: Jan Stastny
> Assignee: Van Halbert
>
> There is problem with invalid module.xml file in infinispan 6 resource-adapter.
> In its dependencies there is:
> {code:xml}
> <module name="org.jboss.teiid.translator.infinispan.cache" export=true/>
> {code}
> There should be
> {code:xml}
> <module name="org.jboss.teiid.translator.infinispan.cache" export="true"/>
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (TEIID-4094) Move the packaging of teiid-jdbc.jar into is own project
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-4094?page=com.atlassian.jira.plugin... ]
Steven Hawkins resolved TEIID-4094.
-----------------------------------
Fix Version/s: 9.0
8.12.5
Resolution: Done
I made a small change to copy the jdbc jar into the build/target so that our releases can just copy all of the artifacts from the same location.
> Move the packaging of teiid-jdbc.jar into is own project
> --------------------------------------------------------
>
> Key: TEIID-4094
> URL: https://issues.jboss.org/browse/TEIID-4094
> Project: Teiid
> Issue Type: Enhancement
> Components: Build/Kits
> Affects Versions: 8.12.x
> Reporter: Van Halbert
> Assignee: Van Halbert
> Fix For: 9.0, 8.12.5
>
>
> The issue with the way the teiid-jdbc.jar is packaged now, is that the teiid-web-console.zip gets included as a dependency.
> {code}
> [INFO] +- org.jboss.teiid:teiid:jar:jdbc:8.12.5.redhat-2:compile
> [INFO] | \- org.jboss.teiid.web-console:teiid-console-dist:zip:jboss-as7:2.5.6.Final-redhat-63-4:compile
> {code}
> And that becomes an issue when other external projects to Teiid include the jdbc driver as a dependency, in that they also end up requiring the web-console.zip.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (TEIID-4103) OData - wrong string indexing in string functions indexof and substring
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-4103?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-4103:
---------------------------------------
Be sure to disallow the use of negative indexes.
> OData - wrong string indexing in string functions indexof and substring
> ------------------------------------------------------------------------
>
> Key: TEIID-4103
> URL: https://issues.jboss.org/browse/TEIID-4103
> Project: Teiid
> Issue Type: Sub-task
> Components: OData
> Reporter: Michal Sanitrak
> Assignee: Ramesh Reddy
>
> By documentation \[1\] function indexof returns the zero-based character position of the first occurrence of the second parameter value in the first parameter value.
> Function substring doens't have explicitly specified indexing, but based on _Example 60_ \[2\] is function substring _zero-based_ too.
> *indexof*
> Reference service which supports OData V4:
> *ULR:* http://services.odata.org/V4/Northwind/Northwind.svc/Customers/?$filter=i...,'lfreds') eq 1
> *Result:* Customer with CompanyName equals "Alfreds Futterkiste"
> *URL:* http://localhost:8080/odata4/olingo_basic/Source/SimpleDataTable/?$filter...,'alue') eq 1
> *Result:* No entities
> *Expected result:* Entity with intkey 1,2,3,4,8,9,10,11,12
> *substring*
> Reference service which supports OData V4:
> *URL:* http://services.odata.org/V4/Northwind/Northwind.svc/Customers/?$filter=i...,'lfreds') eq 1
> *Result:* Customer with CompanyName equals "Alfreds Futterkiste"
> *ULR:* http://localhost:8080/odata4/olingo_basic/Source/SimpleDataTable/?$filter..., 1) eq 'alue_asdf'
> *Result:* No entities
> *Expected result:* Entity with intkey 10
> \[1\] https://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part2-u...
> \[2\] https://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part2-u...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (TEIID-4103) OData - wrong string indexing in string functions indexof and substring
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-4103?page=com.atlassian.jira.plugin... ]
Ramesh Reddy commented on TEIID-4103:
-------------------------------------
In that case I will re-write queries as
indexof(str, strfind) ===> LOCATE(strfind, str)-1
substring(str,start) ===> SUBSTRING(str, start+1)
substring(str,start, end) ===> SUBSTRING(str, start+1, end+1)
> OData - wrong string indexing in string functions indexof and substring
> ------------------------------------------------------------------------
>
> Key: TEIID-4103
> URL: https://issues.jboss.org/browse/TEIID-4103
> Project: Teiid
> Issue Type: Sub-task
> Components: OData
> Reporter: Michal Sanitrak
> Assignee: Ramesh Reddy
>
> By documentation \[1\] function indexof returns the zero-based character position of the first occurrence of the second parameter value in the first parameter value.
> Function substring doens't have explicitly specified indexing, but based on _Example 60_ \[2\] is function substring _zero-based_ too.
> *indexof*
> Reference service which supports OData V4:
> *ULR:* http://services.odata.org/V4/Northwind/Northwind.svc/Customers/?$filter=i...,'lfreds') eq 1
> *Result:* Customer with CompanyName equals "Alfreds Futterkiste"
> *URL:* http://localhost:8080/odata4/olingo_basic/Source/SimpleDataTable/?$filter...,'alue') eq 1
> *Result:* No entities
> *Expected result:* Entity with intkey 1,2,3,4,8,9,10,11,12
> *substring*
> Reference service which supports OData V4:
> *URL:* http://services.odata.org/V4/Northwind/Northwind.svc/Customers/?$filter=i...,'lfreds') eq 1
> *Result:* Customer with CompanyName equals "Alfreds Futterkiste"
> *ULR:* http://localhost:8080/odata4/olingo_basic/Source/SimpleDataTable/?$filter..., 1) eq 'alue_asdf'
> *Result:* No entities
> *Expected result:* Entity with intkey 10
> \[1\] https://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part2-u...
> \[2\] https://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part2-u...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (TEIID-4105) ODATA: Duplicate NavigationProperty name
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-4105?page=com.atlassian.jira.plugin... ]
Ramesh Reddy updated TEIID-4105:
--------------------------------
Reporter: Ivan Lucas Vargas (was: Ramesh Reddy)
> ODATA: Duplicate NavigationProperty name
> ----------------------------------------
>
> Key: TEIID-4105
> URL: https://issues.jboss.org/browse/TEIID-4105
> Project: Teiid
> Issue Type: Bug
> Components: OData
> Affects Versions: 8.3
> Reporter: Ivan Lucas Vargas
> Assignee: Ramesh Reddy
> Labels: Beta3
> Fix For: 9.0, 8.12.5
>
>
> Entity 1: TransferRule
> Entity 2: FinancialAccount
> TransferRule
> - sourceAccount : FinancialAccount
> - destination : FinancialAccount
> - other attributes
> the mapping to this for odata resolves to
> <NavigationProperty Name="financialaccount" Relationship="LivingODS.transferrule_destinationfinancial_account_id_fk" FromRole="transferrule" ToRole="financialaccount" />
> <NavigationProperty Name="financialaccount" Relationship="LivingODS.transferrule_sourcefinancial_account_id_fk" FromRole="transferrule"
> ToRole="financialaccount" />
> The navigation property name is duplicated with in transfer rule entity.
> Hence some of the Odata client see it as ambiguous element
> Is there a way to customise the Name to
> Name="src_financialaccount" and
> Name="dest_financialaccount"
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months