Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 368505

Summary: Do not default SequenceStyleGenerator optimizer to NONE
Product: [Modeling] EMF Reporter: Krasimir Chobantonov <kchobantonov>
Component: TeneoAssignee: Martin Taal <mtaal>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Krasimir Chobantonov CLA 2012-01-12 23:30:53 EST
Build Identifier: 1.2.0.v201111160433

If the optimizer is not specified in SequenceStyleGenerator annotation then in the generated hibernate configuration the option for optimizer should be missing - then the determination which optimizer to be used is delegated to Hibernate - e.g. if the incrementSize <= 1 then it is none otherwise it is pooled unless the hibernate configuration hibernate.id.optimizer.pooled.prefer_lo is set to true then it will be pooled-lo

Reproducible: Always

Steps to Reproduce:
1.Add a SequenceStyleGenerator annotation that does not have optimizer specified
2.
3.
Comment 1 Martin Taal CLA 2012-01-30 06:03:02 EST
Pushed to git, will be in next build.
Comment 2 Martin Taal CLA 2012-01-30 06:39:51 EST
Build is done and published