OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
JDBC connection string parameters

From: Alexey Gaidukov (gaiddc.baikal.ru)
Date: Wed Aug 24 2005 - 01:13:02 CDT


JDBC driver is from 7.6.00.12 for Windows package.

I have two variants of JDBC connection strings
jdbc:sapdb://maxdb/DCDB?unicode=true&isolationLevel=SERIALIZABLE
and
jdbc:sapdb://maxdb/DCDB?isolationLevel=SERIALIZABLE&unicode=true

The first one works well but the second throws an exception

java.lang.IllegalArgumentException: nanos > 999999999 or < 0
   at java.sql.Timestamp.<init>(Unknown Source)
   at
com.sap.dbtech.jdbc.translators.TimestampTranslator.getTimestamp(TimestampTranslator.java:210)

   at
com.sap.dbtech.jdbc.translators.TimestampTranslator.getObject(TimestampTranslator.java:58)

   at
com.sap.dbtech.jdbc.ResultSetSapDB.getObject(ResultSetSapDB.java:1107)

As I wrote before (mail from 05.07.2005) the same exception I get when
connection string is
jdbc:sapdb://maxdb/DCDB

--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb