Bug 1013683

Summary: Standardise Entity ID generation in FSW
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: kconner
Component: ConfigurationAssignee: Julian Coleman <jcoleman>
Status: NEW --- QA Contact: Matej Melko <mmelko>
Severity: low Docs Contact:
Priority: low    
Version: 6.0.0 GACC: aileenc, atangrin, ganandan, kejohnso, soa-p-jira
Target Milestone: ---   
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description kconner 2013-09-30 15:24:01 UTC
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")

Comment 2 Aileen 2015-03-05 17:44:21 UTC
Low priority, won't make 6.2.