[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-3125) BigDecimal support for id generator from DB sequence
Steve Ebersole (JIRA)
noreply at atlassian.com
Tue Feb 26 00:39:33 EST 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole closed HHH-3125.
-------------------------------
Assignee: Steve Ebersole
Resolution: Rejected
I don't see the benefit.
First, how can a sequence value be a floating-point value in the first place?
Second, IdentifierGenerator is an extension point; writing a custom impl that delegated to the standard sequence generator and wrapped the sequence result in a BigDecimal should be trivial.
> 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