[JBoss JIRA] (TEIID-4064) OData - missing non-nullable property
by Michal Sanitrak (JIRA)
[ https://issues.jboss.org/browse/TEIID-4064?page=com.atlassian.jira.plugin... ]
Michal Sanitrak reassigned TEIID-4064:
--------------------------------------
Assignee: Michal Sanitrak (was: Ramesh Reddy)
> OData - missing non-nullable property
> -------------------------------------
>
> Key: TEIID-4064
> URL: https://issues.jboss.org/browse/TEIID-4064
> Project: Teiid
> Issue Type: Sub-task
> Components: OData
> Reporter: Juraj Duráni
> Assignee: Michal Sanitrak
> Labels: Alpha3
> Fix For: 9.0, 8.12.5
>
>
> Change DDL for tables Customer and Orders in VDB as follows:
> {code:sql}
> CREATE FOREIGN TABLE Customers (
> id integer PRIMARY KEY OPTIONS (NAMEINSOURCE 'id'),
> name varchar(10)) OPTIONS (NAMEINSOURCE 'DB.PUBLIC.CUSTOMERS');
> CREATE FOREIGN TABLE Orders (
> id integer PRIMARY KEY OPTIONS (NAMEINSOURCE 'id'),
> customerid integer,
> place varchar(10),
> FOREIGN KEY (customerid) REFERENCES Customers(id)) OPTIONS (NAMEINSOURCE 'DB.PUBLIC.ORDERS');
> {code}
> Note, that both tables have same name of primary key named "id".
> Invoke GET method to URL http://localhost:8080/odata4/olingo_basic/Source/Customers/?$count=true&$...
> *Result:*
> {code:xml}
> <error>
> <code>400</code>
> <message>The non-nullable property 'id' is missing.</message>
> </error>
> {code}
> Here are selected part of Teiid's log:
> *Query:*
> {code:sql}
> SELECT g10.id, g10.name, g11.id, g11.customerid, g11.place FROM Source.Customers AS g10 LEFT OUTER JOIN Source.Orders AS g11 ON g10.id = g11.customerid ORDER BY g10.id
> {code}
> *Result:*
> |id|name|id|customerid|place|
> |1|customer1|1|1|town|
> |1|customer1|2|1|state|
> |1|customer1|3|1|country|
> |1|customer1|4|1|abroad|
> |2|customer2|5|2|state|
> |2|customer2|6|2|country|
> |3|customer3|7|3|town|
> |3|customer3|8|3|town|
> |4|customer4|<null>|<null>|<null>|
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (TEIID-4102) Infinispan 6 resource-adapter has not valid module.xml
by Jan Stastny (JIRA)
[ https://issues.jboss.org/browse/TEIID-4102?page=com.atlassian.jira.plugin... ]
Jan Stastny updated TEIID-4102:
-------------------------------
Description:
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}
was:
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 shoul be
{code:xml}
<module name="org.jboss.teiid.translator.infinispan.cache" export="true"/>
{code}
> 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: Steven Hawkins
>
> 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)
10 years
[JBoss JIRA] (TEIID-4102) Infinispan 6 resource-adapter has not valid module.xml
by Jan Stastny (JIRA)
[ https://issues.jboss.org/browse/TEIID-4102?page=com.atlassian.jira.plugin... ]
Jan Stastny updated TEIID-4102:
-------------------------------
Summary: Infinispan 6 resource-adapter has not valid module.xml (was: Infinispan 6 translator has not valid module.xml)
> 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: Steven Hawkins
>
> 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 shoul 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)
10 years
[JBoss JIRA] (TEIID-4102) Infinispan 6 translator has not valid module.xml
by Jan Stastny (JIRA)
Jan Stastny created TEIID-4102:
----------------------------------
Summary: Infinispan 6 translator 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: Steven Hawkins
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 shoul 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)
10 years
[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 commented on TEIID-4094:
---------------------------------------
We'll need to adjust or revert the commit for 63-8.7.x. It doesn't need the generated pom file and the shade plugin is creating an uber jar that inappropriately contains the jboss modules dependency and other classes / xml files.
> 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
>
> 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)
10 years
[JBoss JIRA] (TEIID-3015) ODATA: Duplicate NavigationProperty name
by Ivan Lucas Vargas (JIRA)
[ https://issues.jboss.org/browse/TEIID-3015?page=com.atlassian.jira.plugin... ]
Ivan Lucas Vargas commented on TEIID-3015:
------------------------------------------
I think that there is one difference here that my example is not a self relationship. Is that the point maybe?
> ODATA: Duplicate NavigationProperty name
> ----------------------------------------
>
> Key: TEIID-3015
> URL: https://issues.jboss.org/browse/TEIID-3015
> Project: Teiid
> Issue Type: Bug
> Components: OData
> Affects Versions: 8.3
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
> Labels: Beta3
> Fix For: 8.8, 8.7.1
>
>
> 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)
10 years