HHH-18180 Update hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/sequence/InformixSequenceSupport.java

Co-authored-by: Christian Beikov <christian.beikov@gmail.com>
This commit is contained in:
Vlado Kuruc 2024-05-29 14:41:05 +02:00 committed by Christian Beikov
parent 8d01a705c1
commit abf07078d8
1 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,9 @@ import org.hibernate.dialect.sequence.SequenceSupport;
*/
public final class InformixSequenceSupport extends NextvalSequenceSupport {
private boolean supportsIfExists = false;
public static final SequenceSupport INSTANCE = new InformixSequenceSupport( false );
private final boolean supportsIfExists;
public InformixSequenceSupport(boolean supportsIfExists){
this.supportsIfExists = supportsIfExists;