Bug 999534 - Can't create data provider from teiid datasource
Summary: Can't create data provider from teiid datasource
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Dashboard Builder
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER1
: 6.0
Assignee: Van Halbert
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 999974
TreeView+ depends on / blocked
 
Reported: 2013-08-21 13:50 UTC by Filip Elias
Modified: 2014-07-09 05:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 999974 (view as bug list)
Environment:
Last Closed: 2014-02-06 15:37:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Filip Elias 2013-08-21 13:50:38 UTC
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

Comment 5 Filip Elias 2013-11-15 09:23:12 UTC
Verified on DV6 ER3


Note You need to log in before you can comment on or make changes to this bug.