[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6673) @Embbeded fields updated in @PreUpdate not included in update when dynamicUpdate=true

Tom Allison (JIRA) noreply at atlassian.com
Tue Sep 20 18:28:38 EDT 2011


@Embbeded fields updated in @PreUpdate not included in update when dynamicUpdate=true
-------------------------------------------------------------------------------------

                 Key: HHH-6673
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6673
             Project: Hibernate Core
          Issue Type: Bug
          Components: annotations, core
    Affects Versions: 3.6.7, 3.6.5
         Environment: hibernate-core 3.6.5, 3.6.7, Oracle 10g
            Reporter: Tom Allison
         Attachments: TestCase.zip

When using an @Embedded component for audit fields and setting the values in a @PreUpdate lifecycle method, the fields do not get included in the UPDATE statement when using @org.hibernate.annotations.Entity(dynamicUpdate = true).

See attached test case.

--
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