[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3125) BigDecimal support for id generator from DB sequence

Dan (JIRA) noreply at atlassian.com
Tue Oct 14 16:16:04 EDT 2008


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

Dan commented on HHH-3125:
--------------------------

Can you please give some more details as to how that would be accomplished. I am using Sybase / JPA via JBoss 4.2.2.  I would like to have my PK fields mapped to BigInteger in the JPA entity and then implement IdentifierGenerator but, I'm not sure how to hook it all up. Pleas advise.

> BigDecimal support for id generator from DB sequence
> ----------------------------------------------------
>
>                 Key: HHH-3125
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3125
>             Project: Hibernate Core
>          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