[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-6855) SequenceStyleGenerator should force use of TableStructure when the optimizer is PooledLo
Steve Ebersole (JIRA)
noreply at atlassian.com
Wed Jan 11 13:13:11 EST 2012
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole closed HHH-6855.
-------------------------------
Prepping 4.0.1
> SequenceStyleGenerator should force use of TableStructure when the optimizer is PooledLo
> ----------------------------------------------------------------------------------------
>
> Key: HHH-6855
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6855
> Project: Hibernate Core
> Issue Type: Bug
> Components: core
> Affects Versions: 4.0.0.CR6
> Reporter: Oskar Berggren
> Assignee: Steve Ebersole
> Labels: id
> Fix For: 4.0.1
>
> Time Spent: 1h 23m
>
> The SequenceStyleGenerator's configure() method contains the following snippet:
> if ( dialect.supportsSequences() && !forceTableUse ) {
> if ( OptimizerFactory.POOL.equals( optimizationStrategy ) && !dialect.supportsPooledSequences() ) {
> forceTableUse = true;
> LOG.forcingTableUse();
> }
> }
> Since "supportsPooledSequences" is about initial value and increment size, it seems tables should be forced also for the PooledLo optimizer.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list