Skip to content

Commit

Permalink
generated connection.properties has really old Driver in the example
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/cayenne/main/trunk@1405077 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
andrus committed Nov 2, 2012
1 parent d1af64d commit c3f3ddb
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ protected static void createSamplePropertiesFile(File f) throws IOException {
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
Expand All @@ -237,9 +237,9 @@ protected static void createSamplePropertiesFile(File f) throws IOException {
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 {
Expand Down

0 comments on commit c3f3ddb

Please sign in to comment.