[teiid-issues] [JBoss JIRA] (TEIID-2829) While importing from Deployed BQT2 VDB, JDBC type of 0 and type name NULL was returned for column with design-time type varbinary

Barry LaFond (JIRA) issues at jboss.org
Thu Jan 30 09:33:28 EST 2014


Barry LaFond created TEIID-2829:
-----------------------------------

             Summary: While importing from Deployed BQT2 VDB, JDBC type of 0 and type name NULL was returned for column with design-time type varbinary
                 Key: TEIID-2829
                 URL: https://issues.jboss.org/browse/TEIID-2829
             Project: Teiid
          Issue Type: Bug
            Reporter: Barry LaFond
            Assignee: Steven Hawkins


1) Open attached project in Designer 
2) Deploy the BQT2.vdb
3) Import the VDB metadata via JDBC Importer
4) On finish you'll get an exception when processing the type_varbinary column because the type returned is "0" and type name of "null"

{code}
java.lang.IllegalArgumentException: Expected argument to be non-null but got null
	at org.teiid.core.designer.util.CoreArgCheck.isNotNull(CoreArgCheck.java:142)
	at org.teiid.core.designer.util.CoreArgCheck.isNotNull(CoreArgCheck.java:128)
	at org.teiid.designer.sdt.types.BuiltInTypesManager.getBuiltInDatatype(BuiltInTypesManager.java:477)
	at org.teiid.designer.sdt.types.WorkspaceDatatypeManager.getBuiltInDatatype(WorkspaceDatatypeManager.java:94)
	at org.teiid.designer.jdbc.relational.impl.RelationalModelProcessorImpl.findType(RelationalModelProcessorImpl.java:1450)
	at org.teiid.designer.jdbc.relational.impl.RelationalModelProcessorImpl.setColumnInfo(RelationalModelProcessorImpl.java:1321)
{code} 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list