mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 16:44:57 +00:00
Fix a typo in a variable name
This commit is contained in:
parent
5ed5656c29
commit
b8b0fbc13c
@ -375,12 +375,12 @@ public void noCascade(
|
||||
&& !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…
x
Reference in New Issue
Block a user