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