[hibernate-issues] [Hibernate-JIRA] Updated: (HBX-1003) hbm2java doesn't handle immutable types like imm_date

Xavier Poinsard (JIRA) noreply at atlassian.com
Wed Oct 24 11:11:39 EDT 2007


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

Xavier Poinsard updated HBX-1003:
---------------------------------

    Attachment: Node.hbm.xml

Here is a test case (simplification from existing hibernate official test case : test/org/hibernate/test/ops/Node.hbm.xml  ).
There is one property with type imm_date and I would expect the generated java class to use a Date type instead of imm_date which is not a valid java type as in the original java class provided with the test case.

> hbm2java doesn't handle immutable types like imm_date
> -----------------------------------------------------
>
>                 Key: HBX-1003
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-1003
>             Project: Hibernate Tools
>          Issue Type: Bug
>          Components: hbm2java
>    Affects Versions: 3.2.beta11
>         Environment: Hibernate 3.2.5
>            Reporter: Xavier Poinsard
>         Attachments: Node.hbm.xml
>
>
> With a mapping defining imm_date as hibernate type, the generated class contains imm_date as java type.

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