Closed fokko2402 closed 4 years ago
please provide stack trace
I hope you have a clue
Did you define the vdb with Oracle jar in 1.5.1?
CREATE SERVER DB_DS TYPE 'ojdbc7-12.1.0.2.jar' FOREIGN DATA WRAPPER oracle;
That will not work, you need to add the following dependency in your pom.xml for the Oracle translator
<dependency>
<groupId>org.teiid</groupId>
<artifactid>spring-data-oracle</artifactid>
</dependency>
Then also the dependency for the Oracle jar file, since that is not available in any public repositories like maven central, you need to add to your local maven repo and then add coordinates to that.
Yes, it worked with 1.5.1. I already added the Oracle jar file to our local maven repo. And the extra dependency did the trick! Thank you for your advice and help.
vdb.ddl.txt
Upgrading from v1.5.1 to v1.6.0 I'm experiencing problems with processing the vdb.ddl. Creating the Database and Server is doing fine but once creating a Schema the NPE rises in TeiidServer line 220, where source is null. I'm using an Oracle database with 2 datasources.