Fix a typo in a variable name
This commit is contained in:
parent
fc667eca2d
commit
7ee3001565
|
@ -375,12 +375,12 @@ public class CascadingActions {
|
||||||
&& !isInManagedState( child, session )
|
&& !isInManagedState( child, session )
|
||||||
&& !(child instanceof HibernateProxy) //a proxy cannot be transient and it breaks ForeignKeys.isTransient
|
&& !(child instanceof HibernateProxy) //a proxy cannot be transient and it breaks ForeignKeys.isTransient
|
||||||
&& ForeignKeys.isTransient( childEntityName, child, null, session ) ) {
|
&& ForeignKeys.isTransient( childEntityName, child, null, session ) ) {
|
||||||
String parentEntiytName = persister.getEntityName();
|
String parentEntityName = persister.getEntityName();
|
||||||
String propertyName = persister.getPropertyNames()[propertyIndex];
|
String propertyName = persister.getPropertyNames()[propertyIndex];
|
||||||
throw new TransientPropertyValueException(
|
throw new TransientPropertyValueException(
|
||||||
"object references an unsaved transient instance - save the transient instance before flushing",
|
"object references an unsaved transient instance - save the transient instance before flushing",
|
||||||
childEntityName,
|
childEntityName,
|
||||||
parentEntiytName,
|
parentEntityName,
|
||||||
propertyName
|
propertyName
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue