Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

java.sql.SQLException Error Code: 0 SQL State: 2C000 Expand / Collapse
Author
Message
Posted Monday, August 12, 2013 7:43 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, August 14, 2013 5:37 AM
Points: 2, Visits: 5
While i am trying to connect with sql server 2012 with collation "Chinese_Hong_Kong_Stroke_90_CI_AS" through java code.I am getting error message like this

Error message:
=============
An error occurred while establishing the connection:
Type: java.sql.SQLException Error Code: 0 SQL State: 2C000
Message:
Could not find a Java charset equivalent to collation 040CD01000.

Configuration details:
=====================
Os:windows 2008
sql server version:2012
driver name:jtds

i need to fix this issue in java code.please suggest me if is there any fix.awaiting for your reply.thanks in advance.

with regards
M.Selvakumar
Post #1483317
Posted Wednesday, August 21, 2013 9:26 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Tuesday, July 8, 2014 11:52 AM
Points: 200, Visits: 332
Did you try using the Microsoft JDBC driver (if possible in your situation) for connecting to SQL 2012?


Post #1486773
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse