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 )
|
||||
&& !(child instanceof HibernateProxy) //a proxy cannot be transient and it breaks ForeignKeys.isTransient
|
||||
&& ForeignKeys.isTransient( childEntityName, child, null, session ) ) {
|
||||
String parentEntiytName = persister.getEntityName();
|
||||
String parentEntityName = persister.getEntityName();
|
||||
String propertyName = persister.getPropertyNames()[propertyIndex];
|
||||
throw new TransientPropertyValueException(
|
||||
"object references an unsaved transient instance - save the transient instance before flushing",
|
||||
childEntityName,
|
||||
parentEntiytName,
|
||||
parentEntityName,
|
||||
propertyName
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue