[teiid-issues] [JBoss JIRA] (TEIID-2017) CLONE - wrong type on model in VDB definition
Steven Hawkins (JIRA)
jira-events at lists.jboss.org
Thu Apr 26 10:58:17 EDT 2012
[ https://issues.jboss.org/browse/TEIID-2017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Hawkins updated TEIID-2017:
----------------------------------
Fix Version/s: 8.0
Affects Version/s: 8.0
(was: 7.6)
Workaround Description: Modify the vdb.xml and change TYPE to OTHER
Forum Reference: https://community.jboss.org/message/729933#729933 (was: https://community.jboss.org/message/729933#729933)
> CLONE - wrong type on model in VDB definition
> ---------------------------------------------
>
> Key: TEIID-2017
> URL: https://issues.jboss.org/browse/TEIID-2017
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 8.0
> Environment: Windows
> Reporter: luca gioppo
> Fix For: 8.0
>
>
> In a VDB created for transforming relational data to XML from exixting XSD the VDB insert "TYPE" in the model description in the manifest file as shown below:
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <vdb version="1" name="libri">
> <property value="false" name="preview"/>
> <model visible="true" type="PHYSICAL" name="local_book" path="/books/local_book.xmi">
> <property value="1841187605" name="checksum"/>
> <property value="false" name="builtIn"/>
> <property value="440299790.INDEX" name="indexName"/>
> <source translator-name="mysql5" connection-jndi-name="java:/local_book" name="local_book"/>
> </model>
> <model visible="true" type="TYPE" name="Books" path="/books/Books.xsd">
> <property value="2392354248" name="checksum"/>
> <property value="false" name="builtIn"/>
> <property value="4008441630.INDEX" name="indexName"/>
> <property value="/books/BookDatatypes.xsd" name="imports"/>
> </model>
> <model visible="true" type="TYPE" name="BookDatatypes" path="/books/BookDatatypes.xsd">
> <property value="3412846293" name="checksum"/>
> <property value="false" name="builtIn"/>
> <property value="3680615365.INDEX" name="indexName"/>
> </model>
> <model visible="true" type="VIRTUAL" name="libro" path="/books/libro.xmi">
> <property value="1493944231" name="checksum"/>
> <property value="false" name="builtIn"/>
> <property value="2863148665.INDEX" name="indexName"/>
> <property value="/books/Books.xsd" name="imports"/>
> <property value="/books/BookDatatypes.xsd" name="imports"/>
> <property value="/books/local_book.xmi" name="imports"/>
> <validation-error path="bookListingDocument/bookListing/sequence/book/type" severity="WARNING">The XML Schema component type for "type" must be marked as an enterprise datatype to be used in this model.</validation-error>
> <validation-error path="bookListingDocument/bookListing/sequence/book/isbn" severity="WARNING">The XML Schema component type for "isbn" must be marked as an enterprise datatype to be used in this model.</validation-error>
> <validation-error path="bookListingDocument/Mapping Class Set Container/Mapping Classes/book" severity="WARNING">Possible cross-join: Group/s '[local_book.aria.books, local_book.aria.publishers]' are not joined either directly or transitively to other groups through a join criteria. Check all queries in the transformation.</validation-error>
> <validation-error path="bookListingDocument/bookListing/sequence/book/sequence/edition" severity="WARNING">"edition" has a fixed or default value and should not be mapped. (See validation Preferences)</validation-error>
> <validation-error path="bookListingDocument/bookListing/sequence/book/sequence/title" severity="WARNING">The XML Schema component type for "title" must be marked as an enterprise datatype to be used in this model.</validation-error>
> <validation-error path="bookListingDocument/bookListing/sequence/book/sequence/edition" severity="WARNING">The XML Schema component type for "edition" must be marked as an enterprise datatype to be used in this model.</validation-error>
> <validation-error path="bookListingDocument/bookListing/sequence/book/sequence/publishDate" severity="WARNING">The XML Schema component type for "publishDate" must be marked as an enterprise datatype to be used in this model.</validation-error>
> </model>
> </vdb>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the teiid-issues
mailing list