cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1299333 - in /cayenne/main/trunk: docs/doc/src/main/resources/ framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/dbsync/
Date Sun, 11 Mar 2012 06:42:26 GMT
Author: oltka
Date: Sun Mar 11 06:42:25 2012
New Revision: 1299333

URL: http://svn.apache.org/viewvc?rev=1299333&view=rev
Log:
CAY-1672 [PATCH] SQLException thrown by processSchemaUpdate in BaseSchemaUpdateStrategy is
not thrown in sub classes

Modified:
    cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/dbsync/ThrowOnPartialOrCreateSchemaStrategy.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/dbsync/ThrowOnPartialSchemaStrategy.java

Modified: cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt?rev=1299333&r1=1299332&r2=1299333&view=diff
==============================================================================
--- cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt (original)
+++ cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt Sun Mar 11 06:42:25 2012
@@ -43,6 +43,7 @@ CAY-1667 Expression parser performance o
 CAY-1668 Memory Exhaustion Problem with Deserialization of ObjectContext
 CAY-1669 RuntimeProperties use of System properties becomes a contention point when creating
query translators 
 CAY-1670 Non-blocking DataRowStore
+CAY-1672 [PATCH] SQLException thrown by processSchemaUpdate in BaseSchemaUpdateStrategy is
not thrown in sub classes
 CAY-1675 [PATCH] add .first(List<T>) method to Expression to enhance in-memory filtering
 CAY-1679 A notion of default node
 CAY-1680 Get rid of shared locks in DataDomain metadata lookups

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/dbsync/ThrowOnPartialOrCreateSchemaStrategy.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/dbsync/ThrowOnPartialOrCreateSchemaStrategy.java?rev=1299333&r1=1299332&r2=1299333&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/dbsync/ThrowOnPartialOrCreateSchemaStrategy.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/dbsync/ThrowOnPartialOrCreateSchemaStrategy.java
Sun Mar 11 06:42:25 2012
@@ -18,6 +18,7 @@
  ****************************************************************/
 package org.apache.cayenne.access.dbsync;
 
+import java.sql.SQLException;
 import java.util.Collection;
 import java.util.Iterator;
 import java.util.List;
@@ -42,7 +43,7 @@ public class ThrowOnPartialOrCreateSchem
             DataNode dataNode,
             List<String> mergerOnlyTable,
             String errorMessage,
-            int entitiesSize) {
+            int entitiesSize) throws SQLException {
 
         if (mergerOnlyTable.size() == 0 && errorMessage == null) {
             logger.info("Full schema is present");

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/dbsync/ThrowOnPartialSchemaStrategy.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/dbsync/ThrowOnPartialSchemaStrategy.java?rev=1299333&r1=1299332&r2=1299333&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/dbsync/ThrowOnPartialSchemaStrategy.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/dbsync/ThrowOnPartialSchemaStrategy.java
Sun Mar 11 06:42:25 2012
@@ -43,7 +43,7 @@ public class ThrowOnPartialSchemaStrateg
      * @since 3.0
      */
     @Override
-    protected void processSchemaUpdate(DataNode dataNode) {
+    protected void processSchemaUpdate(DataNode dataNode) throws SQLException {
 
         SchemaAnalyzer analyzer = new SchemaAnalyzer();
 
@@ -97,7 +97,7 @@ public class ThrowOnPartialSchemaStrateg
             DataNode dataNode,
             List<String> mergerOnlyTable,
             String errorMessage,
-            int entitiesSize) {
+            int entitiesSize) throws SQLException {
 
         if (mergerOnlyTable.size() == 0 && errorMessage == null) {
             logger.info("Full schema is present");



Mime
View raw message