This content has been marked as final.
Show 2 replies
-
1. Re: Question with connection factory
shawkins Oct 23, 2013 10:08 AM (in response to ichanjasper)> Can I use javax.sql.DataSource in TeiidEmbeddedServer.SimpleConnectionFactoryProvider?
Yes, that is what the JDBC translator expects to see.
You can also use the method EmbeddedServer.addConnectionFactory which will do the wrapping for you.
> org.teiid.translator.TranslatorException: TEIID31097 Metadata load requires a connection factory
Does the connection name on the source match the name of the connection factory provider? Can you show the relevant vdb configuration?
Steve
-
2. Re: Question with connection factory
ichanjasper Oct 23, 2013 6:35 PM (in response to shawkins)Actually, it worked after I switched to use EmbeddedServer.addConnectionFactory. Thanks for the suggestion.