[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6855) SequenceStyleGenerator should force use of TableStructure when the optimizer is PooledLo

Oskar Berggren (JIRA) noreply at atlassian.com
Sun Nov 27 10:33:19 EST 2011


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, 3.6.8
            Reporter: Oskar Berggren


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