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

RH Bugzilla Integration (JIRA) issues at jboss.org
Wed Jul 9 09:32:24 EDT 2014


    [ https://issues.jboss.org/browse/TEIID-2833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983503#comment-12983503 ] 

RH Bugzilla Integration commented on TEIID-2833:
------------------------------------------------

jolee at redhat.com changed the Status of [bug 1060335|https://bugzilla.redhat.com/show_bug.cgi?id=1060335] from VERIFIED to CLOSED

> 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-2833
>                 URL: https://issues.jboss.org/browse/TEIID-2833
>             Project: Teiid
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 8.4
>            Reporter: Barry LaFond
>            Assignee: Steven Hawkins
>             Fix For: 8.4.2, 8.7
>
>         Attachments: TEIID_2829_project.zip
>
>
> 1) Open attached project in Designer 
> 2) Deploy the BQT2.vdb
> 3) Create another project
> 4) Import the VDB metadata via JDBC Importer into your second project (will end up being a read-only VDB source model)
> 5) 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 was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the teiid-issues mailing list