Java Mailing List Archive

http://www.gg3721.com/

Home » Hibernate Issues List »

[hibernate-issues] [Hibernate-JIRA] Created: (METAGEN-29) Embedded
generic types not supported by metamodel generator

Anupam M (JIRA)

2010-03-13

Replies: Find Java Web Hosting

Author LoginPost Reply
Embedded generic types not supported by metamodel generator
-----------------------------------------------------------

          Key: METAGEN-29
          URL: http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-29
        Project: Hibernate Metamodel Generator
      Issue Type: Bug
      Components: processor
  Affects Versions: 1.0.0-CR-1
     Environment: Hibernate 3.5.0-CR-2
       Reporter: Adrian Hummel
       Assignee: Hardy Ferentschik
       Priority: Critical
     Attachments: bugreport.zip

Scenario: I have a @MappedSuperclass defining an abstract entity. This class has a technical primary key and a business identity. The business identity is realized by means of a generic embeddable (e.g. for a Customer class there is a corresponding CustomerId class for its business identity).

The JPAMetaModelEntityProcessor does generate the AbstractEntity_ class but does only include the primary key field but omits the generic field for the business identity (which leads to subsequent errors when accessing this field using a CriteriaBuilder).

Attached a mini project with a test case which illustrates the problem.

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

   
_______________________________________________
hibernate-issues mailing list
hibernate-issues@(protected)
https://lists.jboss.org/mailman/listinfo/hibernate-issues
©2008 gg3721.com - Jax Systems, LLC, U.S.A.