From: Manfred G. (JIRA) <no...@at...> - 2006-07-20 11:36:13
|
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 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 |