Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368505 - Do not default SequenceStyleGenerator optimizer to NONE
Summary: Do not default SequenceStyleGenerator optimizer to NONE
Status: RESOLVED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Teneo (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Martin Taal CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-12 23:30 EST by Krasimir Chobantonov CLA
Modified: 2012-01-30 06:39 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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