Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1524] Fix exception when evolutions has errors.

[1375] Update to Junit 4.10
  • Loading branch information...
commit 409365522cdc544b464e7b9a8164d4bfb6ec7cd7 1 parent bc77610
Alexandre Chatiron authored May 16, 2012 pepite committed May 29, 2012
2  framework/dependencies.yml
@@ -29,7 +29,7 @@ require:    &allDependencies
29 29
     - javax.inject 1.0
30 30
     - jaxen 1.1
31 31
     - joda-time 2.1 
32  
-    - junit 4.8.1
  32
+    - junit 4.10
33 33
     - jregex 1.2_01
34 34
     - log4j 1.2.16
35 35
     - net.sf.ehcache -> ehcache-core 2.4.3
BIN  framework/lib/junit-4.10.jar
Binary file not shown
BIN  framework/lib/junit-4.8.1.jar
Binary file not shown
2  framework/src/play/db/Evolutions.java
@@ -279,7 +279,7 @@ public static synchronized boolean applyScript(boolean runScript) {
279 279
                     SQLException ex = (SQLException) e;
280 280
                     message += " [ERROR:" + ex.getErrorCode() + ", SQLSTATE:" + ex.getSQLState() + "]";
281 281
                 }
282  
-                PreparedStatement ps = connection.prepareStatement("update play_evolutions set last_problem = ?1 where id = ?2");
  282
+                PreparedStatement ps = connection.prepareStatement("update play_evolutions set last_problem = ? where id = ?");
283 283
                 ps.setString(1, message);
284 284
                 ps.setInt(2, applying);
285 285
                 ps.execute();

0 notes on commit 4093655

Please sign in to comment.
Something went wrong with that request. Please try again.