[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6717) oracle does not have a boolean type
Strong Liu (JIRA)
noreply at atlassian.com
Wed Oct 12 05:40:19 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44004#comment-44004 ]
Strong Liu commented on HHH-6717:
---------------------------------
Okey, BooleanType used to map between Types.BIT and Boolean, and Types.BIT is translated to 'number(1,0) in oracle dialect.
HHH-468 changed BooleanType to map between Types.BOOLEAN and Boolean, but didn't register a column type for Types.BOOLEAN on many dialects (at least oracle and sql server)
so, we should keep using 'number(1,0)'
> oracle does not have a boolean type
> -----------------------------------
>
> Key: HHH-6717
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6717
> Project: Hibernate Core
> Issue Type: Bug
> Components: core
> Reporter: Strong Liu
> Assignee: Strong Liu
> Fix For: 4.0.0.next
>
>
> now Dialect has mapped Types.BOOLEAN to 'boolean' by default, then we need change this in Oracle dialect to let it map to _char(1)_
--
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