Hello JDBC gurus,
SAP DB JDBC driver should be fixed:
Invalid calculation of nanoseconds in
com.sap.dbtech.jdbc.translators.TimestampTranslator.getTimestamp line 143:
int nano= (milli*10 +((int)raw[23]-'0'))*100;
should be replaced to:
int nano= ((int)raw[23]-'0')*100;
For SAP DB 7.4.3.30 UNICODE instance timestamp value is passed incorrectly
via network. raw[25] is corrupted and used in
com.sap.dbtech.jdbc.translators.TimestampTranslator.getTimestamp line 145!
Quick workaround: remove access to the raw[25].
Are there plans to remove deprecated Java API calls? Java standard time
conversion function may be possibly more efficient ?... e.g. by using
java.text.SimpleDateFormat code would look more elegant.
Regards,
Pranas
--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]