Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot retrieve database metadata for Sybase [SPR-6053] #10722

spring-issuemaster opened this issue Aug 29, 2009 · 2 comments


None yet
1 participant
Copy link

commented Aug 29, 2009

Balaji Varanasi opened SPR-6053 and commented

When executing a Sybase stored procedure using SimpleJdbcCall class, the database metadata is not being loaded. The logs show the following messages:

org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory - SQL Server is not one of the databases fully supported for procedure calls -- supported are: [Apache Derby, DB2, MySQL, Microsoft SQL Server, Oracle, Sybase]
org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory - Metadata processing disabled - you must specify all parameters explicitly
org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory - Using org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider

After little research, I found that our Sybase database is named "SQL Server" and the commonDatabaseName method in JdbcUtils being used to get the database name compares against the string "sql server".

This problem gets fixed if the comparison with "sql server" is done without considering the case.

Affects: 2.5.6, 3.0 M4


Issue Links:

  • #11630 Sybase isn't detected by metadata when using WebLogic JDBC Driver ("is duplicated by")
  • #10936 Include 'ASE' in the list of product names recognised by JDBCUtils as Sybase ("is duplicated by")

Referenced from: commits ea674f2, b482d6d


This comment has been minimized.

Copy link
Collaborator Author

commented Sep 3, 2009

Thomas Risberg commented

I'm making this change. Haven't been able to get your specific variant during testing. What db and driver version are you using?



This comment has been minimized.

Copy link
Collaborator Author

commented Sep 4, 2009

Balaji Varanasi commented

I am using the BEA's Sybase Driver (Type 4) Versions:11.x, 12.x that comes with Weblogic 10.3. The driver class name is: weblogic.jdbc.sybase.SybaseDriver

And here is the db information I got from DBA: Adaptive Server Enterprise/15.0.2/EBF 15961 ESD#6/P/RS6000/AIX 5.2/ase1502/2537/64-bit/FBO/Thu Oct 2 00:22:14 2008

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.