Feedback
Did this article resolve your question/issue?

   

Article

DatabaseMetaData.getProcedures() doesn't return any stored procedures when collation set to Japanese_Unicode_CS_AS_KS_WS using the JDBC SQL Server Driver

Information

 
TitleDatabaseMetaData.getProcedures() doesn't return any stored procedures when collation set to Japanese_Unicode_CS_AS_KS_WS using the JDBC SQL Server Driver
URL Namedatabasemetadata-getprocedures-doesn-t-return-any-stored-procedures-when-collation-set-to-japanese-unicode-cs-as-ks-ws-using-the-jdbc-sql-server-driver
Article Number000138586
EnvironmentProduct: DataDirect SQL Server JDBC driver
Version: 6.0.0.000062
OS: All supported platforms
Database: Microsoft SQL Server 2012 - 11.0.2100.60
Application: N/A
Question/Problem Description
SQL Server JDBC driver 5.1.4.000169, returns a correct resultset with all the stored procedures when the collation is set to Japanese_Unicode_CS_AS_KS_WS.
With the latest driver version
6.0.0.000062, the result set is different when the same application is executed.
DatabaseMetaData.getProcedures() does not return the stored procedures when the collation is set to Case Sensitive.
 
Steps to Reproduce1. Create a DB. Set collation to Japanese_Unicode_CS_AS_KS_WS.
2. CREATE PROCEDURE dummy_procedure
AS
SET NOCOUNT ON;
SELECT sysdate from dual;
3. Connect to the DB and call the DatabaseMetaData.getProcedures() function.
Clarifying Information
SQL Server JDBC driver 5.1.4.000169, returns all the stored procedures when the collation is set to Japanese_Unicode_CS_AS_KS_WS.
SQL Server JDBC driver 6.0.0.000062, does not return any stored procedures when the collation is set to Japanese_Unicode_CS_AS_KS_WS.
Error Message
Defect NumberDefect XDBC-12039
Enhancement Number
Cause
Resolution
Fixed in a hotfix.
SQL Server Driver version 6.0.0.000114.

Refer to “ Connect for JDBC hot fix download and install instructions ” for instructions on how to download and install the hot fix.
Workaround
Notes
Last Modified Date11/20/2020 7:03 AM
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.