Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Sybase schema problem

Hi,
Actually I have two problems regarding Sybase database schema but they might be related.
We are using Data Integration 5.2.2r99271 and Sybase Anywhere 12
Creating a Sybase connection does work well but as soon as I'm trying to "Retrieve Schema" I get no results back. The screen where is supposed to display tables and views remains blank. However, connection to DB is successful.
Any hints what could be wrong?
With generic ODBC I'm able to connect to the same Sybase DB and I can also retrieve the schema.
Later when I add a tDBInput component I get the error "java.sql.SQLException: Table 'CATEGORY' not found". However, if I manually alter the queries table name to DBA.CATEGORY then I can successfully pull data from the table. Any hints how I can add the "DBA" prefix permanently?
I will appreciate any help.
Best Regards,
Adrian
Labels (3)
3 Replies
Anonymous
Not applicable
Author

Hi,
I think you use the dedicated sybase component tSybaseInput and tSybaseOutput instead of tDBInput/tDBOutput that are general components for ODBC connection.
Best regards
Sabrina
Anonymous
Not applicable
Author

Had the same problem on the same Talend version.
To solve it :

On DB Type choose "General JDBC"
Set the Jar Driver "jconn3.jar" located at TOS_DI-r99271-V5.2.2\plugins\org.talend.designer.components.localprovider_5.2.2.r99271\components\tSybaseInput
When you click on "..." for the Class Name it will automatically set "com.sybase.jdbc3.jdbc.SybDataSource"
Enter Username and Password 
Set the "sybase_id" XML file

Test and validate your connection and that's it.
Now you'll be able to retrieve the Schemas.
Hope it helps.
Anonymous
Not applicable
Author

Had the same problem on the same Talend version.
To solve it :

On DB Type choose "General JDBC"
Set the Jar Driver "jconn3.jar" located at TOS_DI-r99271-V5.2.2\plugins\org.talend.designer.components.localprovider_5.2.2.r99271\components\tSybaseInput
When you click on "..." for the Class Name it will automatically set "com.sybase.jdbc3.jdbc.SybDataSource"
Enter Username and Password 
Set the "sybase_id" XML file

Test and validate your connection and that's it.
Now you'll be able to retrieve the Schemas.
Hope it helps.