HHH-4726 - Add support for delete-orphan cascading to <one-to-one/>

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18593 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Steve Ebersole 2010-01-20 19:16:38 +00:00
parent 63dcdf0620
commit 2f3a967c65
2 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@ public class ManyToOneType extends EntityType {
* @param lazy Should the association be handled lazily * @param lazy Should the association be handled lazily
*/ */
public ManyToOneType(String referencedEntityName, boolean lazy) { public ManyToOneType(String referencedEntityName, boolean lazy) {
this( referencedEntityName, null, !lazy, true, false, false ); this( referencedEntityName, null, lazy, true, false, false );
} }
/** /**
@ -79,7 +79,7 @@ public class ManyToOneType extends EntityType {
boolean unwrapProxy, boolean unwrapProxy,
boolean isEmbeddedInXML, boolean isEmbeddedInXML,
boolean ignoreNotFound) { boolean ignoreNotFound) {
this( referencedEntityName, uniqueKeyPropertyName, !lazy, isEmbeddedInXML, unwrapProxy, ignoreNotFound, false ); this( referencedEntityName, uniqueKeyPropertyName, lazy, unwrapProxy, isEmbeddedInXML, ignoreNotFound, false );
} }
public ManyToOneType( public ManyToOneType(

View File

@ -10,7 +10,7 @@ public class Value {
private Definition definition; private Definition definition;
private LocalizedStrings localizedStrings = new LocalizedStrings(); private LocalizedStrings localizedStrings = new LocalizedStrings();
private Value() { protected Value() {
} }
public Value(Definition definition) { public Value(Definition definition) {