cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1405077 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/unit/di/server/ConnectionProperties.java
Date Fri, 02 Nov 2012 18:02:04 GMT
Author: aadamchik
Date: Fri Nov  2 18:02:03 2012
New Revision: 1405077

URL: http://svn.apache.org/viewvc?rev=1405077&view=rev
Log:
generated connection.properties has really old Driver in the example

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/unit/di/server/ConnectionProperties.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/unit/di/server/ConnectionProperties.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/unit/di/server/ConnectionProperties.java?rev=1405077&r1=1405076&r2=1405077&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/unit/di/server/ConnectionProperties.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/unit/di/server/ConnectionProperties.java
Fri Nov  2 18:02:03 2012
@@ -221,9 +221,9 @@ class ConnectionProperties {
             out.newLine();
             out.write("# example1." + PASSWORD_KEY + " = some_passwd");
             out.newLine();
-            out.write("# example1." + URL_KEY + " = jdbc:mysql://noise/cayenne");
+            out.write("# example1." + URL_KEY + " = jdbc:mysql://localhost/cayenne");
             out.newLine();
-            out.write("# example1." + DRIVER_KEY + " = org.gjt.mm.mysql.Driver");
+            out.write("# example1." + DRIVER_KEY + " = com.mysql.jdbc.Driver");
             out.newLine();
 
             // example 2
@@ -237,9 +237,9 @@ class ConnectionProperties {
             out.newLine();
             out.write("# example2." + PASSWORD_KEY + " = some_passwd");
             out.newLine();
-            out.write("# example2." + URL_KEY + " = jdbc:mysql://noise/cayenne");
+            out.write("# example2." + URL_KEY + " = jdbc:mysql://localhost/cayenne");
             out.newLine();
-            out.write("# example2." + DRIVER_KEY + " = org.gjt.mm.mysql.Driver");
+            out.write("# example2." + DRIVER_KEY + " = com.mysql.jdbc.Driver");
             out.newLine();
         }
         finally {



Mime
View raw message