[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3125) BigDecimal support for id generator from DB sequence
Graham Collinson (JIRA)
noreply at atlassian.com
Thu Sep 4 07:47:04 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31082#action_31082 ]
Graham Collinson commented on HHH-3125:
---------------------------------------
An oracle column with Number(22,0) isn't floating point but is still reversed as a BigDecimal. BigDecimal support in IdentifierGeneratorFactory would seem to make sense in this case. Unless the sql type is being incorrectly reversed. Perhaps it should be a BigInteger instead?
I will be able to use a GenericGenerator to get round this.
> BigDecimal support for id generator from DB sequence
> ----------------------------------------------------
>
> Key: HHH-3125
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3125
> Project: Hibernate3
> Issue Type: New Feature
> Environment: Hibernate 3.2, Oracle 10
> Reporter: Tomas Rada
> Assignee: Steve Ebersole
>
> Currently with using BigDecimal as entity id is thrown exception " this id generator generates long, integer, short or string" - class "IdentifierGeneratorFactory".
> Is there possibility to add BigDecimal support for id generator?
--
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