[hibernate-commits] Hibernate SVN: r18593 - in core/trunk: testsuite/src/test/java/org/hibernate/test/component/cascading/collection and 1 other directory.
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Wed Jan 20 14:16:39 EST 2010
Author: steve.ebersole at jboss.com
Date: 2010-01-20 14:16:38 -0500 (Wed, 20 Jan 2010)
New Revision: 18593
Modified:
core/trunk/core/src/main/java/org/hibernate/type/ManyToOneType.java
core/trunk/testsuite/src/test/java/org/hibernate/test/component/cascading/collection/Value.java
Log:
HHH-4726 - Add support for delete-orphan cascading to <one-to-one/>
Modified: core/trunk/core/src/main/java/org/hibernate/type/ManyToOneType.java
===================================================================
--- core/trunk/core/src/main/java/org/hibernate/type/ManyToOneType.java 2010-01-20 18:48:20 UTC (rev 18592)
+++ core/trunk/core/src/main/java/org/hibernate/type/ManyToOneType.java 2010-01-20 19:16:38 UTC (rev 18593)
@@ -65,7 +65,7 @@
* @param lazy Should the association be handled lazily
*/
public ManyToOneType(String referencedEntityName, boolean lazy) {
- this( referencedEntityName, null, !lazy, true, false, false );
+ this( referencedEntityName, null, lazy, true, false, false );
}
/**
@@ -79,7 +79,7 @@
boolean unwrapProxy,
boolean isEmbeddedInXML,
boolean ignoreNotFound) {
- this( referencedEntityName, uniqueKeyPropertyName, !lazy, isEmbeddedInXML, unwrapProxy, ignoreNotFound, false );
+ this( referencedEntityName, uniqueKeyPropertyName, lazy, unwrapProxy, isEmbeddedInXML, ignoreNotFound, false );
}
public ManyToOneType(
Modified: core/trunk/testsuite/src/test/java/org/hibernate/test/component/cascading/collection/Value.java
===================================================================
--- core/trunk/testsuite/src/test/java/org/hibernate/test/component/cascading/collection/Value.java 2010-01-20 18:48:20 UTC (rev 18592)
+++ core/trunk/testsuite/src/test/java/org/hibernate/test/component/cascading/collection/Value.java 2010-01-20 19:16:38 UTC (rev 18593)
@@ -10,7 +10,7 @@
private Definition definition;
private LocalizedStrings localizedStrings = new LocalizedStrings();
- private Value() {
+ protected Value() {
}
public Value(Definition definition) {
More information about the hibernate-commits
mailing list