[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6744) TransientObjectException thrown on dirty check during flush with CHECK_NULLABILITY set to false

Gail Badner (JIRA) noreply at atlassian.com
Tue Oct 18 18:14:20 EDT 2011


TransientObjectException thrown on dirty check during flush with CHECK_NULLABILITY set to false
-----------------------------------------------------------------------------------------------

                 Key: HHH-6744
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6744
             Project: Hibernate Core
          Issue Type: Bug
          Components: core
    Affects Versions: 4.0.0.CR4
            Reporter: Gail Badner
             Fix For: 4.0.0.next


TransientObjectException thrown on dirty check of a many-to-one association during flush with CHECK_NULLABILITY set to false when the entity being dirty-checked:
- has a sequence ID generator,
- has been saved, but not flushed 

This may also happen on an update.
 
I believe JDBCException should be thrown instead.

This is reproduced by MultiPathCircleCascadeCheckNullibilityFalseTest.testMergeEntityWithNonNullableTransientEntity() for Oracle10gDialect and PostgreSQLDialect.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list