From: Max R. A. (JIRA) <no...@at...> - 2006-07-24 11:05:15
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1924?page=all ] Max Rydahl Andersen closed HHH-1924: ------------------------------------ Fix Version: 3.2.0.ga Resolution: Fixed thanks. fixed. > ForeignKeys: TransientObjectException is thrown without a message because of a wrong bracket in the code > -------------------------------------------------------------------------------------------------------- > > Key: HHH-1924 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1924 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.1.3, 3.2.0.cr3 > Reporter: Manfred Geiler > Priority: Minor > Fix For: 3.2.0.ga > > > Line 216 of org.hibernate.engine.ForeignKeys class is this: > throw new TransientObjectException( > "object references an unsaved transient instance - save the transient instance before flushing: " + > entityName == null ? session.guessEntityName( object ) : entityName > ); > but should rather be this: > throw new TransientObjectException( > "object references an unsaved transient instance - save the transient instance before flushing: " + > (entityName == null ? session.guessEntityName( object ) : entityName) > ); -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |