If you see the exception COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver] CLI0124E Invalid argument value. SQLSTATE=HY009 when running an application that need to create connections to an IBM DB2 database, check if you are writing the database name correctly in the connection url. A coworker and me detected this problem when installing our software and we lasted near half hour to think that the url could be wrong; a simple error with a generic error message. I have seen a better message using the db2 command line proccesor: SQL1013N The database alias name or database name "SDASDSAD" could not be found. SQLSTATE=42705, why not use the same message for a JDBC connection attempt?










Trackbacks (0)