一意のインデックスキーを生成する場合にこの設定は有効に
Hilo algorithm
Hibernate will do a next value call on sequence
and then calculate the values he will use from memory with the following formula
(e.g. allocationSize is 50 and current sequence value is 5):
upperLimit = (5 * 50) + 1 = 251
lowerLimit = (251 - 50) = 201.
Hiloの関連エラー
https://hibernate.atlassian.net/browse/HHH-10656
sequenceを stringで保存する場合や prefixをつけて利用する場合
http://stackoverflow.com/questions/12517421/how-to-map-a-string-to-db-sequence-in-hibernate
近期评论