Red Hat Bugzilla – Bug 999534
Can't create data provider from teiid datasource
Last modified: 2014-07-09 01:02:55 EDT
Description of problem:
Can't create Data provider which uses teiid datasource.
When I click on "Attempt data load" or "Save", validation error will appear that says "SQL cannot be null for CallableStatement or PreparedStatement".
It seems that HibernateInitializer.java doesn't support Teiid.
Method inferDatabaseName(DataSource ds) doesn't check dbProductName for string "teiid" so it returns NULL and therefore the whole operation will fail.
Steps to Reproduce:
1. Create Teiid datasource
2. Select Data providers > Create new data provider > Type: SQL Query
3. Select Teiid datasource
4. Add anything in the Query field
5. Click "Attempt data load" or "Save" button
Verified on DV6 ER3