[hibernate-issues] [Hibernate-JIRA] Resolved: (METAGEN-2) Does not handle byte[] at all

Hardy Ferentschik (JIRA) noreply at atlassian.com
Wed Nov 4 11:09:08 EST 2009


     [ http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hardy Ferentschik resolved METAGEN-2.
-------------------------------------

    Resolution: Fixed

Arrays are not added as SingularAttribute to the metamodel. We don't take into account yet that one could place a @*ToMany annotation onto the array. JPA 2 does not define an ArrayAttribute for this case. Hibernate allows *ToMany on arrays, JPA not (at least I think so)
After talking to Emmanuel we decided to map arrays as SingularAttribute for now and handle the other case later.

> Does not handle byte[] at all
> -----------------------------
>
>                 Key: METAGEN-2
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-2
>             Project: Hibernate StaticMetamodel Generator
>          Issue Type: Bug
>            Reporter: Steve Ebersole
>            Assignee: Hardy Ferentschik
>
> http://fisheye.jboss.org/browse/Hibernate/core/trunk/entitymanager/src/test/java/org/hibernate/ejb/test/cascade/ExtractionDocument.java?r=15483#l23  ExtractionDocument defines a byte[] field.  The generator does not create any ExtractionDocument_ field for that attribute at all.

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