[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6463) hbm2ddl and Oracle DB: Found: number, expected: boolean

Andreas Beckers (JIRA) noreply at atlassian.com
Wed Jul 27 03:55:14 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43069#comment-43069 ] 

Andreas Beckers commented on HHH-6463:
--------------------------------------

Also when you want to set the boolean to null, a wrong sql type (16) is used in the setNull command.

> hbm2ddl and Oracle DB: Found: number, expected: boolean
> -------------------------------------------------------
>
>                 Key: HHH-6463
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6463
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 4.0.0.Beta1
>            Reporter: Thomas
>
> As described in this forum topic:
> https://forum.hibernate.org/viewtopic.php?f=1&t=1011905&start=0
> Since version 4 Hibernate (hbm2ddl) cannot map a boolean field in a JPA entity to a column with type number(1,0) in Oracle DB.

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