db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r483628 - /db/derby/code/trunk/java/engine/org/apache/derby/jdbc/EmbeddedDriver.java
Date Thu, 07 Dec 2006 19:41:26 GMT
Author: rhillegas
Date: Thu Dec  7 11:41:23 2006
New Revision: 483628

URL: http://svn.apache.org/viewvc?view=rev&rev=483628
Log:
DERBY-2132: Mention JDBC4.0 in the javadoc for EmbeddedDriver. Also briefly describe driver
autoloading under Java SE 6.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/jdbc/EmbeddedDriver.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/jdbc/EmbeddedDriver.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/jdbc/EmbeddedDriver.java?view=diff&rev=483628&r1=483627&r2=483628
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/jdbc/EmbeddedDriver.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/jdbc/EmbeddedDriver.java Thu Dec  7 11:41:23
2006
@@ -42,6 +42,7 @@
 	The driver automatically supports the correct JDBC specification version
 	for the Java Virtual Machine's environment.
 	<UL>
+	<LI> JDBC 4.0 - Java SE 6
 	<LI> JDBC 3.0 - Java 2 - JDK 1.4, J2SE 5.0
 	<LI> JDBC 2.0 - Java 2 - JDK 1.2,1.3
 	</UL>
@@ -66,6 +67,11 @@
 	method call, but adding the newInstance() guarantees
 	that Derby will be booted on any Java Virtual Machine.
 
+	<P>
+	Note that you do not need to manually load the driver this way if you are
+	running on Jave SE 6 or later. In that environment, the driver will be
+	automatically loaded for you when your application requests a connection to
+	a Derby database.
 	<P>
 	Any initial error messages are placed in the PrintStream
 	supplied by the DriverManager. If the PrintStream is null error messages are



Mime
View raw message