db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r610484 - /db/derby/code/trunk/java/engine/org/apache/derby/jdbc/EmbeddedSimpleDataSource.java
Date Wed, 09 Jan 2008 17:54:18 GMT
Author: myrnavl
Date: Wed Jan  9 09:54:03 2008
New Revision: 610484

URL: http://svn.apache.org/viewvc?rev=610484&view=rev
Log:
DERBY-2733 ; adding update() to the non-arg constructor, similar to what's happening in ReferenceableDataSource/EmbeddedDataSource,
so the NPE doesn't occur because jdbcurl gets a default value. 

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

Modified: db/derby/code/trunk/java/engine/org/apache/derby/jdbc/EmbeddedSimpleDataSource.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/jdbc/EmbeddedSimpleDataSource.java?rev=610484&r1=610483&r2=610484&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/jdbc/EmbeddedSimpleDataSource.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/jdbc/EmbeddedSimpleDataSource.java Wed
Jan  9 09:54:03 2008
@@ -119,6 +119,7 @@
 	 * No-arg constructor.
 	 */
 	public EmbeddedSimpleDataSource() {
+        update();
 	}
 
 	/*



Mime
View raw message