[hibernate-issues] [Hibernate-JIRA] Created: (HHH-7178) Null Identifier for maps.....dependent on variable name

Marc (JIRA) noreply at atlassian.com
Thu Mar 15 11:13:48 EDT 2012


Null Identifier for maps.....dependent on variable name
-------------------------------------------------------

                 Key: HHH-7178
                 URL: https://hibernate.onjira.com/browse/HHH-7178
             Project: Hibernate ORM
          Issue Type: Bug
          Components: core
    Affects Versions: 4.0.1
         Environment: Oracle10g
            Reporter: Marc
         Attachments: HibernateJIRA.zip

When querying for a class which contains a self-reference and a Map whose values contain a composite primary key, a null identifier exception is thrown.  It seems to be somehow related to the variable name because when I change MyEntity.secConfigs to MyEntity.ecConfigs and change the setters/getters appropriately, the problem no longer exists.  I believe the problem is also related to the composite primary key for ContainedEntity because when I change it to use an auto-generated long the problem also goes away.

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