You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2012/11/02 19:02:04 UTC

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

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 {