[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3827) Properties accessed using a PropertyAccessor are not persisted in the AuditTable.

Kaizer (JIRA) noreply at atlassian.com
Tue Mar 24 07:14:38 EDT 2009


Properties accessed using a PropertyAccessor are not persisted in the AuditTable.
---------------------------------------------------------------------------------

                 Key: HHH-3827
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3827
             Project: Hibernate Core
          Issue Type: Bug
          Components: envers
    Affects Versions: 3.3.1
         Environment: Hibernate version 3.3.1. Database - Oracle10g
            Reporter: Kaizer
         Attachments: property_accessor_testcase.patch

I have certain properties which will be accessed using a PropertyAccessor. However, these properties are not persisted in the AuditTable. I had a look at the AuditPropertiesReader class and the addFromProperties method is called for "field" and "property" but not for accessors. Perhaps this could be the cause. 

Please have a look at the attached path which contains a crude test case to reproduce the same. It throws an exception saying the column itself cannot be found. 

Forum discussion - http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220283

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

        



More information about the hibernate-issues mailing list