[teiid-issues] [JBoss JIRA] (TEIID-4945) Teiid java client error (Column name "VDBName" does not exist)

Fábio Guilherme (JIRA) issues at jboss.org
Tue Jun 6 07:29:01 EDT 2017


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

Fábio Guilherme commented on TEIID-4945:
----------------------------------------

For the querie the ontology i use this:

PREFIX : <http://www.test.org#>
select * where{
	?i a :country ; :shipImo ?imo ; :hasValue ?value .
}

For the mapping i use:
mappingId	M_country
target		:atribute{imo} a :country ; :shipImo {imo} ; :hasValue {country}. 
source		select "imo", "country", "numb_owners" from "ship"

Thanks for your replie


> Teiid java client error (Column name "VDBName" does not exist)
> --------------------------------------------------------------
>
>                 Key: TEIID-4945
>                 URL: https://issues.jboss.org/browse/TEIID-4945
>             Project: Teiid
>          Issue Type: Bug
>          Components: JDBC Driver
>    Affects Versions: 9.2.3
>         Environment: Running teiid 9.2.3 on wildfly, failing using java client with 9.2.3 driver and sucess using protege with driver 9.2.3. both use ontop for mapping the data from db to the ontology.
>            Reporter: Fábio Guilherme
>            Assignee: Steven Hawkins
>
> This java client uses ontop to make the mapping from a db to a ontology. I had prior version where i was mapping my data from a postgres db to the ontology using ontop, in my recent version i changed the db to a teiid db(where i get the error). 
> Using teiid 9.2.3 and wildfly with java client with 9.2.3 driver i get this error: 
> {color:red}Error obtaining the Metadataorg.teiid.jdbc.TeiidSQLException: Column name "VDBName" does not exist.
> 09:31:15.411 [http-nio-8081-exec-8] ERROR i.u.k.o.o.owlapi3.QuestOWL - Could not initialize the Quest query answering engine. Answering queries will not be available.
> 09:31:15.427 [http-nio-8081-exec-8] ERROR i.u.k.o.o.owlapi3.QuestOWL - java.lang.NullPointerException
> it.unibz.krdb.obda.model.OBDAException: java.lang.NullPointerException{color}
> i used the same driver(9.2.3) on protege with ontop-pro and i dont get any error.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the teiid-issues mailing list