diff --git a/framework/dependencies.yml b/framework/dependencies.yml index 27e27ab0a6..e83b41b9fa 100644 --- a/framework/dependencies.yml +++ b/framework/dependencies.yml @@ -44,7 +44,7 @@ require: &allDependencies - org.bouncycastle -> bcprov-jdk15 1.45 - org.codehaus.groovy -> groovy-all 1.7.7 - org.eclipse.jdt.core 3.6.0 - - org.hibernate -> hibernate-core 3.6.0.Final + - org.hibernate -> hibernate-core 3.6.1.Final - org.hibernate -> hibernate-commons-annotations 3.2.0.Final - org.hibernate -> hibernate-entitymanager 3.6.0.Final - org.hibernate.javax.persistence -> hibernate-jpa-2.0-api 1.0.0.Final diff --git a/framework/lib/hibernate-core-3.6.0.Final.jar b/framework/lib/hibernate-core-3.6.1.Final.jar similarity index 81% rename from framework/lib/hibernate-core-3.6.0.Final.jar rename to framework/lib/hibernate-core-3.6.1.Final.jar index ee6f324dbe..7ac9c5a9cf 100644 Binary files a/framework/lib/hibernate-core-3.6.0.Final.jar and b/framework/lib/hibernate-core-3.6.1.Final.jar differ diff --git a/framework/patches/hibernate-3.6.x.Final.patch b/framework/patches/hibernate-3.6.x.Final.patch index 0f28547177..119b174cec 100644 --- a/framework/patches/hibernate-3.6.x.Final.patch +++ b/framework/patches/hibernate-3.6.x.Final.patch @@ -1,8 +1,8 @@ --- project/core/src/main/java/org/hibernate/EmptyInterceptor.java 2008-07-30 11:46:34.000000000 +0200 +++ project/core/src/main/java/org/hibernate/EmptyInterceptor.java 2010-04-08 21:07:24.000000000 +0200 @@ -112,10 +112,10 @@ - return sql; - } + return sql; + } - public void onCollectionRemove(Object collection, Serializable key) throws CallbackException {} + public boolean onCollectionRemove(Object collection, Serializable key) throws CallbackException { return true; } @@ -12,71 +12,71 @@ - public void onCollectionUpdate(Object collection, Serializable key) throws CallbackException {} + public boolean onCollectionUpdate(Object collection, Serializable key) throws CallbackException { return true; } - + } \ No newline at end of file --- project/core/src/main/java/org/hibernate/Interceptor.java 2008-07-30 11:46:34.000000000 +0200 +++ project/core/src/main/java/org/hibernate/Interceptor.java 2010-04-08 21:06:52.000000000 +0200 @@ -84,15 +84,15 @@ - /** - * Called before a collection is (re)created. - */ + /** + * Called before a collection is (re)created. + */ - public void onCollectionRecreate(Object collection, Serializable key) throws CallbackException; + public boolean onCollectionRecreate(Object collection, Serializable key) throws CallbackException; - /** - * Called before a collection is deleted. - */ + /** + * Called before a collection is deleted. + */ - public void onCollectionRemove(Object collection, Serializable key) throws CallbackException; + public boolean onCollectionRemove(Object collection, Serializable key) throws CallbackException; - /** - * Called before a collection is updated. - */ + /** + * Called before a collection is updated. + */ - public void onCollectionUpdate(Object collection, Serializable key) throws CallbackException; + public boolean onCollectionUpdate(Object collection, Serializable key) throws CallbackException; - /** - * Called before a flush - */ + /** + * Called before a flush + */ --- project/core/src/main/java/org/hibernate/event/def/AbstractFlushingEventListener.java 2010-03-10 03:25:04.000000000 +0100 +++ project/core/src/main/java/org/hibernate/event/def/AbstractFlushingEventListener.java 2010-04-08 21:06:14.000000000 +0200 @@ -140,7 +140,28 @@ - for ( int i=0; i patch --dry-run -p0 -i ../hibernate-3.6.x.Final.patch