db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dag.Wan...@Sun.COM (Dag H. Wanvik)
Subject Re: [jira] Commented: (DERBY-2073) Inserting BigDecimal value in PreparedStatement into double column loses fractional digits
Date Mon, 13 Nov 2006 18:09:14 GMT
"Daniel John Debrunner (JIRA)" <jira@apache.org> writes:

> Class.forName(JDBC_DERBY_DRIVER).newInstance();

The ".newInstance()" part can usually be dropped as well. The JDBC3
specification does not mention use of newInstance, I think. The Derby
manuals use both versions; although mostly newInstance is omitted. I
seem to remember I had to use newInstance to be able to re-load the
driver in a test, though...

In JDBC4, only a DriverManager.connect() call will be required
(driver autoloading feature).

Mime
View raw message