Red Hat Bugzilla – Bug 1013683
Standardise Entity ID generation in FSW
Last modified: 2015-11-02 03:06:35 EST
We should standardise sequence generation across all projects within FSW/BRMS so that we can more easily support the creation of DB scripts.
An alternative, which would ease the creation of the DB scripts, is to use table generation instead. e.g.
@TableGenerator(name = "claims", table = "Sequences",
pkColumnName = "id", valueColumnName = "nextValue",
pkColumnValue = "claims", allocationSize = 1000)
@GeneratedValue(strategy = GenerationType.TABLE, generator = "claims")
Low priority, won't make 6.2.