[Tynstep-svn] r90 - trunk/StepDataLoader/src/com/tyndalehouse/step/dataloader

ChrisBurrell at crosswire.org ChrisBurrell at crosswire.org
Mon Feb 15 13:38:53 MST 2010


Author: ChrisBurrell
Date: 2010-02-15 13:38:53 -0700 (Mon, 15 Feb 2010)
New Revision: 90

Modified:
   trunk/StepDataLoader/src/com/tyndalehouse/step/dataloader/ClientDbProvider.java
Log:
update to connection string to ensure database is recreated everytime

Modified: trunk/StepDataLoader/src/com/tyndalehouse/step/dataloader/ClientDbProvider.java
===================================================================
--- trunk/StepDataLoader/src/com/tyndalehouse/step/dataloader/ClientDbProvider.java	2010-02-11 21:39:04 UTC (rev 89)
+++ trunk/StepDataLoader/src/com/tyndalehouse/step/dataloader/ClientDbProvider.java	2010-02-15 20:38:53 UTC (rev 90)
@@ -11,7 +11,7 @@
 	
 	public static Connection getConnection(String dbPath) throws SQLException {
 		if(connection == null) {
-			String connectionString = clientConnection + dbPath;
+			String connectionString = clientConnection + dbPath + ";create=true";
 			System.out.println("Using connection string: " + connectionString);
 			connection = DriverManager.getConnection(connectionString);
 		}




More information about the Tynstep-svn mailing list