[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2471?page=c...
]
Steve Ebersole commented on HHH-2471:
-------------------------------------
committed to both trunk and 3.2. Leaving this open since the enhance table generator
needs some unit tests
create an enhanced set up id generators
---------------------------------------
Key: HHH-2471
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2471
Project: Hibernate3
Type: New Feature
Components: core
Reporter: Steve Ebersole
Assignee: Steve Ebersole
Fix For: 3.2.3
Specifically, the build the following two capabilities:
1) a sequence "style" generator targetting cross db portability in a better
fashion that native. specifically, use sequences if dialect supports them; otherwise fall
back to a table-based implementation *with the same characteristics*.
2) ability to easily apply "optimizations" without needing to create a whole
new generator. by optimizations i mean wrapping in a hilo or "pooled"
algorithm.
This will result in two new generators:
1) SequenceStyleGenerator
2) SegmentedTableGenerator (better names welcome)
Specifically, SequenceStyleGenerator by itself fulfills requirement #1. It does also
accept pluggable optimizers.
SegmentedTableGenerator is to be a rewrite of the current MultiTableHiLoGenerator which
performs the same basic function as MultiTableHiLoGenerator in terms of table layout in
order to store multiple (or segmented) sequences. However, it will also take advantage of
the pluggable optimizers.
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira