[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-3346) New id generator - produce fixed-width string representation of short, int, or long

Richard Freedman (JIRA) noreply at atlassian.com
Sun Jun 15 12:52:33 EDT 2008


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Freedman updated HHH-3346:
----------------------------------

    Attachment: FixedWidthStringIdGenerator.diff

minor bug fix to original - please ignore the previous patch

> New id generator - produce fixed-width string representation of short, int, or long
> -----------------------------------------------------------------------------------
>
>                 Key: HHH-3346
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3346
>             Project: Hibernate3
>          Issue Type: New Feature
>          Components: core
>    Affects Versions: 3.3.0.CR1
>         Environment: Hibernate 3.x, database agnostic
>            Reporter: Richard Freedman
>            Priority: Minor
>         Attachments: FixedWidthStringIdGenerator.diff, FixedWidthStringIdGenerator.diff
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> Provide a new id generator that works like IncrementGenerator, but generates fixed-width String representations of short, int, or long values.
> For brevity of key, base-36 encode the value via toString(long i, int radix), yielding digits in range '0' - 'z'
> Diff is attached.

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