public class org.hibernate.id.enhanced.SequenceStyleGenerator implements org.hibernate.id.PersistentIdentifierGenerator, org.hibernate.id.BulkInsertionCapableIdentifierGenerator, org.hibernate.id.Configurable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.id.enhanced.SequenceStyleGenerator
super_class: java.lang.Object
{
private static final org.hibernate.internal.CoreMessageLogger LOG;
descriptor: Lorg/hibernate/internal/CoreMessageLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final java.lang.String SEQUENCE_PARAM;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "sequence_name"
public static final java.lang.String DEF_SEQUENCE_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "hibernate_sequence"
public static final java.lang.String INITIAL_PARAM;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "initial_value"
public static final int DEFAULT_INITIAL_VALUE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final java.lang.String INCREMENT_PARAM;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "increment_size"
public static final int DEFAULT_INCREMENT_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final java.lang.String CONFIG_PREFER_SEQUENCE_PER_ENTITY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "prefer_sequence_per_entity"
public static final java.lang.String CONFIG_SEQUENCE_PER_ENTITY_SUFFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "sequence_per_entity_suffix"
public static final java.lang.String DEF_SEQUENCE_SUFFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "_SEQ"
public static final java.lang.String OPT_PARAM;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "optimizer"
public static final java.lang.String FORCE_TBL_PARAM;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "force_table_use"
public static final java.lang.String VALUE_COLUMN_PARAM;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "value_column"
public static final java.lang.String DEF_VALUE_COLUMN;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "next_val"
private org.hibernate.id.enhanced.DatabaseStructure databaseStructure;
descriptor: Lorg/hibernate/id/enhanced/DatabaseStructure;
flags: (0x0002) ACC_PRIVATE
private org.hibernate.id.enhanced.Optimizer optimizer;
descriptor: Lorg/hibernate/id/enhanced/Optimizer;
flags: (0x0002) ACC_PRIVATE
private org.hibernate.type.Type identifierType;
descriptor: Lorg/hibernate/type/Type;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/hibernate/internal/CoreMessageLogger;
1: ldc Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
2: invokestatic org.jboss.logging.Logger.getMessageLogger:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
checkcast org.hibernate.internal.CoreMessageLogger
putstatic org.hibernate.id.enhanced.SequenceStyleGenerator.LOG:Lorg/hibernate/internal/CoreMessageLogger;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
public org.hibernate.id.enhanced.DatabaseStructure getDatabaseStructure();
descriptor: ()Lorg/hibernate/id/enhanced/DatabaseStructure;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.id.enhanced.SequenceStyleGenerator.databaseStructure:Lorg/hibernate/id/enhanced/DatabaseStructure;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
public org.hibernate.id.enhanced.Optimizer getOptimizer();
descriptor: ()Lorg/hibernate/id/enhanced/Optimizer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.id.enhanced.SequenceStyleGenerator.optimizer:Lorg/hibernate/id/enhanced/Optimizer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
public org.hibernate.type.Type getIdentifierType();
descriptor: ()Lorg/hibernate/type/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.id.enhanced.SequenceStyleGenerator.identifierType:Lorg/hibernate/type/Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
public void configure(org.hibernate.type.Type, java.util.Properties, org.hibernate.service.ServiceRegistry);
descriptor: (Lorg/hibernate/type/Type;Ljava/util/Properties;Lorg/hibernate/service/ServiceRegistry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ldc Lorg/hibernate/engine/jdbc/env/spi/JdbcEnvironment;
invokeinterface org.hibernate.service.ServiceRegistry.getService:(Ljava/lang/Class;)Lorg/hibernate/service/Service;
checkcast org.hibernate.engine.jdbc.env.spi.JdbcEnvironment
astore 4
start local 4 1: aload 4
invokeinterface org.hibernate.engine.jdbc.env.spi.JdbcEnvironment.getDialect:()Lorg/hibernate/dialect/Dialect;
astore 5
start local 5 2: aload 0
aload 1
putfield org.hibernate.id.enhanced.SequenceStyleGenerator.identifierType:Lorg/hibernate/type/Type;
3: ldc "force_table_use"
aload 2
iconst_0
invokestatic org.hibernate.internal.util.config.ConfigurationHelper.getBoolean:(Ljava/lang/String;Ljava/util/Map;Z)Z
istore 6
start local 6 4: aload 0
aload 2
aload 5
aload 4
aload 3
invokevirtual org.hibernate.id.enhanced.SequenceStyleGenerator.determineSequenceName:(Ljava/util/Properties;Lorg/hibernate/dialect/Dialect;Lorg/hibernate/engine/jdbc/env/spi/JdbcEnvironment;Lorg/hibernate/service/ServiceRegistry;)Lorg/hibernate/boot/model/relational/QualifiedName;
astore 7
start local 7 5: aload 0
aload 2
invokevirtual org.hibernate.id.enhanced.SequenceStyleGenerator.determineInitialValue:(Ljava/util/Properties;)I
istore 8
start local 8 6: aload 0
aload 2
invokevirtual org.hibernate.id.enhanced.SequenceStyleGenerator.determineIncrementSize:(Ljava/util/Properties;)I
istore 9
start local 9 7: aload 0
aload 2
iload 9
invokevirtual org.hibernate.id.enhanced.SequenceStyleGenerator.determineOptimizationStrategy:(Ljava/util/Properties;I)Ljava/lang/String;
astore 10
start local 10 8: aload 0
aload 10
iload 9
invokevirtual org.hibernate.id.enhanced.SequenceStyleGenerator.determineAdjustedIncrementSize:(Ljava/lang/String;I)I
istore 9
9: aload 5
invokevirtual org.hibernate.dialect.Dialect.supportsSequences:()Z
ifeq 13
iload 6
ifne 13
10: aload 5
invokevirtual org.hibernate.dialect.Dialect.supportsPooledSequences:()Z
ifne 13
aload 10
invokestatic org.hibernate.id.enhanced.OptimizerFactory.isPooledOptimizer:(Ljava/lang/String;)Z
ifeq 13
11: iconst_1
istore 6
12: getstatic org.hibernate.id.enhanced.SequenceStyleGenerator.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.forcingTableUse:()V
13: StackMap locals: org.hibernate.id.enhanced.SequenceStyleGenerator org.hibernate.type.Type java.util.Properties org.hibernate.service.ServiceRegistry org.hibernate.engine.jdbc.env.spi.JdbcEnvironment org.hibernate.dialect.Dialect int org.hibernate.boot.model.relational.QualifiedName int int java.lang.String
StackMap stack:
aload 0
aload 0
14: aload 1
15: aload 2
16: aload 4
17: iload 6
18: aload 7
19: iload 8
20: iload 9
21: invokevirtual org.hibernate.id.enhanced.SequenceStyleGenerator.buildDatabaseStructure:(Lorg/hibernate/type/Type;Ljava/util/Properties;Lorg/hibernate/engine/jdbc/env/spi/JdbcEnvironment;ZLorg/hibernate/boot/model/relational/QualifiedName;II)Lorg/hibernate/id/enhanced/DatabaseStructure;
putfield org.hibernate.id.enhanced.SequenceStyleGenerator.databaseStructure:Lorg/hibernate/id/enhanced/DatabaseStructure;
22: aload 0
23: aload 10
24: aload 0
getfield org.hibernate.id.enhanced.SequenceStyleGenerator.identifierType:Lorg/hibernate/type/Type;
invokeinterface org.hibernate.type.Type.getReturnedClass:()Ljava/lang/Class;
25: iload 9
26: ldc "initial_value"
aload 2
iconst_m1
invokestatic org.hibernate.internal.util.config.ConfigurationHelper.getInt:(Ljava/lang/String;Ljava/util/Map;I)I
i2l
27: invokestatic org.hibernate.id.enhanced.OptimizerFactory.buildOptimizer:(Ljava/lang/String;Ljava/lang/Class;IJ)Lorg/hibernate/id/enhanced/Optimizer;
putfield org.hibernate.id.enhanced.SequenceStyleGenerator.optimizer:Lorg/hibernate/id/enhanced/Optimizer;
28: aload 0
getfield org.hibernate.id.enhanced.SequenceStyleGenerator.databaseStructure:Lorg/hibernate/id/enhanced/DatabaseStructure;
aload 0
getfield org.hibernate.id.enhanced.SequenceStyleGenerator.optimizer:Lorg/hibernate/id/enhanced/Optimizer;
invokeinterface org.hibernate.id.enhanced.DatabaseStructure.prepare:(Lorg/hibernate/id/enhanced/Optimizer;)V
29: return
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
0 30 1 type Lorg/hibernate/type/Type;
0 30 2 params Ljava/util/Properties;
0 30 3 serviceRegistry Lorg/hibernate/service/ServiceRegistry;
1 30 4 jdbcEnvironment Lorg/hibernate/engine/jdbc/env/spi/JdbcEnvironment;
2 30 5 dialect Lorg/hibernate/dialect/Dialect;
4 30 6 forceTableUse Z
5 30 7 sequenceName Lorg/hibernate/boot/model/relational/QualifiedName;
6 30 8 initialValue I
7 30 9 incrementSize I
8 30 10 optimizationStrategy Ljava/lang/String;
Exceptions:
throws org.hibernate.MappingException
MethodParameters:
Name Flags
type
params
serviceRegistry
protected org.hibernate.boot.model.relational.QualifiedName determineSequenceName(java.util.Properties, org.hibernate.dialect.Dialect, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment, org.hibernate.service.ServiceRegistry);
descriptor: (Ljava/util/Properties;Lorg/hibernate/dialect/Dialect;Lorg/hibernate/engine/jdbc/env/spi/JdbcEnvironment;Lorg/hibernate/service/ServiceRegistry;)Lorg/hibernate/boot/model/relational/QualifiedName;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: ldc "sequence_per_entity_suffix"
aload 1
ldc "_SEQ"
invokestatic org.hibernate.internal.util.config.ConfigurationHelper.getString:(Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 1: ldc "hibernate_sequence"
astore 6
start local 6 2: aload 4
ldc Lorg/hibernate/engine/config/spi/ConfigurationService;
invokeinterface org.hibernate.service.ServiceRegistry.getService:(Ljava/lang/Class;)Lorg/hibernate/service/Service;
checkcast org.hibernate.engine.config.spi.ConfigurationService
3: ldc "hibernate.model.generator_name_as_sequence_name"
getstatic org.hibernate.engine.config.spi.StandardConverters.BOOLEAN:Lorg/hibernate/engine/config/spi/ConfigurationService$Converter;
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface org.hibernate.engine.config.spi.ConfigurationService.getSetting:(Ljava/lang/String;Lorg/hibernate/engine/config/spi/ConfigurationService$Converter;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
4: astore 7
start local 7 5: aload 7
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 9
6: aload 1
ldc "GENERATOR_NAME"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 7: aload 8
invokestatic org.hibernate.internal.util.StringHelper.isNotEmpty:(Ljava/lang/String;)Z
ifeq 9
8: aload 8
astore 6
end local 8 9: StackMap locals: java.lang.String java.lang.String java.lang.Boolean
StackMap stack:
ldc "prefer_sequence_per_entity"
aload 1
iconst_0
invokestatic org.hibernate.internal.util.config.ConfigurationHelper.getBoolean:(Ljava/lang/String;Ljava/util/Map;Z)Z
ifeq 11
10: new java.lang.StringBuilder
dup
aload 1
ldc "jpa_entity_name"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 12
11: StackMap locals:
StackMap stack:
aload 6
12: StackMap locals:
StackMap stack: java.lang.String
astore 8
start local 8 13: ldc "sequence_name"
aload 1
aload 8
invokestatic org.hibernate.internal.util.config.ConfigurationHelper.getString:(Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 14: aload 9
ldc "."
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 16
15: getstatic org.hibernate.boot.model.relational.QualifiedNameParser.INSTANCE:Lorg/hibernate/boot/model/relational/QualifiedNameParser;
aload 9
invokevirtual org.hibernate.boot.model.relational.QualifiedNameParser.parse:(Ljava/lang/String;)Lorg/hibernate/boot/model/relational/QualifiedNameParser$NameParts;
areturn
16: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 3
invokeinterface org.hibernate.engine.jdbc.env.spi.JdbcEnvironment.getIdentifierHelper:()Lorg/hibernate/engine/jdbc/env/spi/IdentifierHelper;
17: ldc "catalog"
aload 1
invokestatic org.hibernate.internal.util.config.ConfigurationHelper.getString:(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
18: invokeinterface org.hibernate.engine.jdbc.env.spi.IdentifierHelper.toIdentifier:(Ljava/lang/String;)Lorg/hibernate/boot/model/naming/Identifier;
astore 10
start local 10 19: aload 3
invokeinterface org.hibernate.engine.jdbc.env.spi.JdbcEnvironment.getIdentifierHelper:()Lorg/hibernate/engine/jdbc/env/spi/IdentifierHelper;
20: ldc "schema"
aload 1
invokestatic org.hibernate.internal.util.config.ConfigurationHelper.getString:(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
21: invokeinterface org.hibernate.engine.jdbc.env.spi.IdentifierHelper.toIdentifier:(Ljava/lang/String;)Lorg/hibernate/boot/model/naming/Identifier;
astore 11
start local 11 22: new org.hibernate.boot.model.relational.QualifiedNameParser$NameParts
dup
23: aload 10
24: aload 11
25: aload 3
invokeinterface org.hibernate.engine.jdbc.env.spi.JdbcEnvironment.getIdentifierHelper:()Lorg/hibernate/engine/jdbc/env/spi/IdentifierHelper;
aload 9
invokeinterface org.hibernate.engine.jdbc.env.spi.IdentifierHelper.toIdentifier:(Ljava/lang/String;)Lorg/hibernate/boot/model/naming/Identifier;
26: invokespecial org.hibernate.boot.model.relational.QualifiedNameParser$NameParts.<init>:(Lorg/hibernate/boot/model/naming/Identifier;Lorg/hibernate/boot/model/naming/Identifier;Lorg/hibernate/boot/model/naming/Identifier;)V
areturn
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
0 27 1 params Ljava/util/Properties;
0 27 2 dialect Lorg/hibernate/dialect/Dialect;
0 27 3 jdbcEnv Lorg/hibernate/engine/jdbc/env/spi/JdbcEnvironment;
0 27 4 serviceRegistry Lorg/hibernate/service/ServiceRegistry;
1 27 5 sequencePerEntitySuffix Ljava/lang/String;
2 27 6 fallbackSequenceName Ljava/lang/String;
5 27 7 preferGeneratorNameAsDefaultName Ljava/lang/Boolean;
7 9 8 generatorName Ljava/lang/String;
13 27 8 defaultSequenceName Ljava/lang/String;
14 27 9 sequenceName Ljava/lang/String;
19 27 10 catalog Lorg/hibernate/boot/model/naming/Identifier;
22 27 11 schema Lorg/hibernate/boot/model/naming/Identifier;
MethodParameters:
Name Flags
params
dialect
jdbcEnv
serviceRegistry
protected org.hibernate.boot.model.naming.Identifier determineValueColumnName(java.util.Properties, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment);
descriptor: (Ljava/util/Properties;Lorg/hibernate/engine/jdbc/env/spi/JdbcEnvironment;)Lorg/hibernate/boot/model/naming/Identifier;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: ldc "value_column"
aload 1
ldc "next_val"
invokestatic org.hibernate.internal.util.config.ConfigurationHelper.getString:(Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: aload 2
invokeinterface org.hibernate.engine.jdbc.env.spi.JdbcEnvironment.getIdentifierHelper:()Lorg/hibernate/engine/jdbc/env/spi/IdentifierHelper;
aload 3
invokeinterface org.hibernate.engine.jdbc.env.spi.IdentifierHelper.toIdentifier:(Ljava/lang/String;)Lorg/hibernate/boot/model/naming/Identifier;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
0 2 1 params Ljava/util/Properties;
0 2 2 jdbcEnvironment Lorg/hibernate/engine/jdbc/env/spi/JdbcEnvironment;
1 2 3 name Ljava/lang/String;
MethodParameters:
Name Flags
params
jdbcEnvironment
protected int determineInitialValue(java.util.Properties);
descriptor: (Ljava/util/Properties;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: ldc "initial_value"
aload 1
iconst_1
invokestatic org.hibernate.internal.util.config.ConfigurationHelper.getInt:(Ljava/lang/String;Ljava/util/Map;I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
0 1 1 params Ljava/util/Properties;
MethodParameters:
Name Flags
params
protected int determineIncrementSize(java.util.Properties);
descriptor: (Ljava/util/Properties;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: ldc "increment_size"
aload 1
iconst_1
invokestatic org.hibernate.internal.util.config.ConfigurationHelper.getInt:(Ljava/lang/String;Ljava/util/Map;I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
0 1 1 params Ljava/util/Properties;
MethodParameters:
Name Flags
params
protected java.lang.String determineOptimizationStrategy(java.util.Properties, int);
descriptor: (Ljava/util/Properties;I)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc "optimizer"
1: aload 1
2: iload 2
aload 1
invokestatic org.hibernate.id.enhanced.OptimizerFactory.determineImplicitOptimizerName:(ILjava/util/Properties;)Ljava/lang/String;
3: invokestatic org.hibernate.internal.util.config.ConfigurationHelper.getString:(Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
0 4 1 params Ljava/util/Properties;
0 4 2 incrementSize I
MethodParameters:
Name Flags
params
incrementSize
protected int determineAdjustedIncrementSize(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
invokestatic java.lang.Math.abs:(I)I
iconst_1
if_icmple 21
1: getstatic org.hibernate.id.enhanced.StandardOptimizerDescriptor.NONE:Lorg/hibernate/id/enhanced/StandardOptimizerDescriptor;
invokevirtual org.hibernate.id.enhanced.StandardOptimizerDescriptor.getExternalName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
2: iload 2
iconst_m1
if_icmpge 12
3: iconst_m1
istore 3
start local 3 4: getstatic org.hibernate.id.enhanced.SequenceStyleGenerator.LOG:Lorg/hibernate/internal/CoreMessageLogger;
5: getstatic org.hibernate.id.enhanced.StandardOptimizerDescriptor.NONE:Lorg/hibernate/id/enhanced/StandardOptimizerDescriptor;
invokevirtual org.hibernate.id.enhanced.StandardOptimizerDescriptor.getExternalName:()Ljava/lang/String;
6: ldc "increment_size"
7: iload 2
8: ldc "negative"
9: iload 3
10: invokeinterface org.hibernate.internal.CoreMessageLogger.honoringOptimizerSetting:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;I)V
11: goto 22
end local 3 12: StackMap locals:
StackMap stack:
iconst_1
istore 3
start local 3 13: getstatic org.hibernate.id.enhanced.SequenceStyleGenerator.LOG:Lorg/hibernate/internal/CoreMessageLogger;
14: getstatic org.hibernate.id.enhanced.StandardOptimizerDescriptor.NONE:Lorg/hibernate/id/enhanced/StandardOptimizerDescriptor;
invokevirtual org.hibernate.id.enhanced.StandardOptimizerDescriptor.getExternalName:()Ljava/lang/String;
15: ldc "increment_size"
16: iload 2
17: ldc "positive"
18: iload 3
19: invokeinterface org.hibernate.internal.CoreMessageLogger.honoringOptimizerSetting:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;I)V
20: goto 22
end local 3 21: StackMap locals:
StackMap stack:
iload 2
istore 3
start local 3 22: StackMap locals: int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
0 23 1 optimizationStrategy Ljava/lang/String;
0 23 2 incrementSize I
4 12 3 resolvedIncrementSize I
13 21 3 resolvedIncrementSize I
22 23 3 resolvedIncrementSize I
MethodParameters:
Name Flags
optimizationStrategy
incrementSize
protected org.hibernate.id.enhanced.DatabaseStructure buildDatabaseStructure(org.hibernate.type.Type, java.util.Properties, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment, boolean, org.hibernate.boot.model.relational.QualifiedName, int, int);
descriptor: (Lorg/hibernate/type/Type;Ljava/util/Properties;Lorg/hibernate/engine/jdbc/env/spi/JdbcEnvironment;ZLorg/hibernate/boot/model/relational/QualifiedName;II)Lorg/hibernate/id/enhanced/DatabaseStructure;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 3
invokeinterface org.hibernate.engine.jdbc.env.spi.JdbcEnvironment.getDialect:()Lorg/hibernate/dialect/Dialect;
invokevirtual org.hibernate.dialect.Dialect.supportsSequences:()Z
ifeq 1
iload 4
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 8
start local 8 3: iload 8
ifeq 5
4: aload 0
aload 1
aload 2
aload 3
aload 5
iload 6
iload 7
invokevirtual org.hibernate.id.enhanced.SequenceStyleGenerator.buildSequenceStructure:(Lorg/hibernate/type/Type;Ljava/util/Properties;Lorg/hibernate/engine/jdbc/env/spi/JdbcEnvironment;Lorg/hibernate/boot/model/relational/QualifiedName;II)Lorg/hibernate/id/enhanced/DatabaseStructure;
areturn
5: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 2
aload 3
aload 5
iload 6
iload 7
invokevirtual org.hibernate.id.enhanced.SequenceStyleGenerator.buildTableStructure:(Lorg/hibernate/type/Type;Ljava/util/Properties;Lorg/hibernate/engine/jdbc/env/spi/JdbcEnvironment;Lorg/hibernate/boot/model/relational/QualifiedName;II)Lorg/hibernate/id/enhanced/DatabaseStructure;
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
0 6 1 type Lorg/hibernate/type/Type;
0 6 2 params Ljava/util/Properties;
0 6 3 jdbcEnvironment Lorg/hibernate/engine/jdbc/env/spi/JdbcEnvironment;
0 6 4 forceTableUse Z
0 6 5 sequenceName Lorg/hibernate/boot/model/relational/QualifiedName;
0 6 6 initialValue I
0 6 7 incrementSize I
3 6 8 useSequence Z
MethodParameters:
Name Flags
type
params
jdbcEnvironment
forceTableUse
sequenceName
initialValue
incrementSize
protected org.hibernate.id.enhanced.DatabaseStructure buildSequenceStructure(org.hibernate.type.Type, java.util.Properties, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment, org.hibernate.boot.model.relational.QualifiedName, int, int);
descriptor: (Lorg/hibernate/type/Type;Ljava/util/Properties;Lorg/hibernate/engine/jdbc/env/spi/JdbcEnvironment;Lorg/hibernate/boot/model/relational/QualifiedName;II)Lorg/hibernate/id/enhanced/DatabaseStructure;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: new org.hibernate.id.enhanced.SequenceStructure
dup
aload 3
aload 4
iload 5
iload 6
aload 1
invokeinterface org.hibernate.type.Type.getReturnedClass:()Ljava/lang/Class;
invokespecial org.hibernate.id.enhanced.SequenceStructure.<init>:(Lorg/hibernate/engine/jdbc/env/spi/JdbcEnvironment;Lorg/hibernate/boot/model/relational/QualifiedName;IILjava/lang/Class;)V
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
0 1 1 type Lorg/hibernate/type/Type;
0 1 2 params Ljava/util/Properties;
0 1 3 jdbcEnvironment Lorg/hibernate/engine/jdbc/env/spi/JdbcEnvironment;
0 1 4 sequenceName Lorg/hibernate/boot/model/relational/QualifiedName;
0 1 5 initialValue I
0 1 6 incrementSize I
MethodParameters:
Name Flags
type
params
jdbcEnvironment
sequenceName
initialValue
incrementSize
protected org.hibernate.id.enhanced.DatabaseStructure buildTableStructure(org.hibernate.type.Type, java.util.Properties, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment, org.hibernate.boot.model.relational.QualifiedName, int, int);
descriptor: (Lorg/hibernate/type/Type;Ljava/util/Properties;Lorg/hibernate/engine/jdbc/env/spi/JdbcEnvironment;Lorg/hibernate/boot/model/relational/QualifiedName;II)Lorg/hibernate/id/enhanced/DatabaseStructure;
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 2
aload 3
invokevirtual org.hibernate.id.enhanced.SequenceStyleGenerator.determineValueColumnName:(Ljava/util/Properties;Lorg/hibernate/engine/jdbc/env/spi/JdbcEnvironment;)Lorg/hibernate/boot/model/naming/Identifier;
astore 7
start local 7 1: new org.hibernate.id.enhanced.TableStructure
dup
aload 3
aload 4
aload 7
iload 5
iload 6
aload 1
invokeinterface org.hibernate.type.Type.getReturnedClass:()Ljava/lang/Class;
invokespecial org.hibernate.id.enhanced.TableStructure.<init>:(Lorg/hibernate/engine/jdbc/env/spi/JdbcEnvironment;Lorg/hibernate/boot/model/relational/QualifiedName;Lorg/hibernate/boot/model/naming/Identifier;IILjava/lang/Class;)V
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
0 2 1 type Lorg/hibernate/type/Type;
0 2 2 params Ljava/util/Properties;
0 2 3 jdbcEnvironment Lorg/hibernate/engine/jdbc/env/spi/JdbcEnvironment;
0 2 4 sequenceName Lorg/hibernate/boot/model/relational/QualifiedName;
0 2 5 initialValue I
0 2 6 incrementSize I
1 2 7 valueColumnName Lorg/hibernate/boot/model/naming/Identifier;
MethodParameters:
Name Flags
type
params
jdbcEnvironment
sequenceName
initialValue
incrementSize
public java.io.Serializable generate(org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object);
descriptor: (Lorg/hibernate/engine/spi/SharedSessionContractImplementor;Ljava/lang/Object;)Ljava/io/Serializable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.hibernate.id.enhanced.SequenceStyleGenerator.optimizer:Lorg/hibernate/id/enhanced/Optimizer;
aload 0
getfield org.hibernate.id.enhanced.SequenceStyleGenerator.databaseStructure:Lorg/hibernate/id/enhanced/DatabaseStructure;
aload 1
invokeinterface org.hibernate.id.enhanced.DatabaseStructure.buildCallback:(Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)Lorg/hibernate/id/enhanced/AccessCallback;
invokeinterface org.hibernate.id.enhanced.Optimizer.generate:(Lorg/hibernate/id/enhanced/AccessCallback;)Ljava/io/Serializable;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
0 1 1 session Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
0 1 2 object Ljava/lang/Object;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
session
object
public java.lang.Object generatorKey();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.id.enhanced.SequenceStyleGenerator.databaseStructure:Lorg/hibernate/id/enhanced/DatabaseStructure;
invokeinterface org.hibernate.id.enhanced.DatabaseStructure.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
public java.lang.String[] sqlCreateStrings(org.hibernate.dialect.Dialect);
descriptor: (Lorg/hibernate/dialect/Dialect;)[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.id.enhanced.SequenceStyleGenerator.databaseStructure:Lorg/hibernate/id/enhanced/DatabaseStructure;
aload 1
invokeinterface org.hibernate.id.enhanced.DatabaseStructure.sqlCreateStrings:(Lorg/hibernate/dialect/Dialect;)[Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
0 1 1 dialect Lorg/hibernate/dialect/Dialect;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
dialect
public java.lang.String[] sqlDropStrings(org.hibernate.dialect.Dialect);
descriptor: (Lorg/hibernate/dialect/Dialect;)[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.id.enhanced.SequenceStyleGenerator.databaseStructure:Lorg/hibernate/id/enhanced/DatabaseStructure;
aload 1
invokeinterface org.hibernate.id.enhanced.DatabaseStructure.sqlDropStrings:(Lorg/hibernate/dialect/Dialect;)[Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
0 1 1 dialect Lorg/hibernate/dialect/Dialect;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
dialect
public boolean supportsBulkInsertionIdentifierGeneration();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc Lorg/hibernate/id/enhanced/NoopOptimizer;
aload 0
invokevirtual org.hibernate.id.enhanced.SequenceStyleGenerator.getOptimizer:()Lorg/hibernate/id/enhanced/Optimizer;
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 3
1: aload 0
invokevirtual org.hibernate.id.enhanced.SequenceStyleGenerator.getDatabaseStructure:()Lorg/hibernate/id/enhanced/DatabaseStructure;
invokeinterface org.hibernate.id.enhanced.DatabaseStructure.isPhysicalSequence:()Z
ifeq 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
public java.lang.String determineBulkInsertionIdentifierGenerationSelectFragment(org.hibernate.dialect.Dialect);
descriptor: (Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.hibernate.id.enhanced.SequenceStyleGenerator.getDatabaseStructure:()Lorg/hibernate/id/enhanced/DatabaseStructure;
invokeinterface org.hibernate.id.enhanced.DatabaseStructure.getName:()Ljava/lang/String;
invokevirtual org.hibernate.dialect.Dialect.getSelectSequenceNextValString:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
0 1 1 dialect Lorg/hibernate/dialect/Dialect;
MethodParameters:
Name Flags
dialect
public void registerExportables(org.hibernate.boot.model.relational.Database);
descriptor: (Lorg/hibernate/boot/model/relational/Database;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.id.enhanced.SequenceStyleGenerator.databaseStructure:Lorg/hibernate/id/enhanced/DatabaseStructure;
aload 1
invokeinterface org.hibernate.id.enhanced.DatabaseStructure.registerExportables:(Lorg/hibernate/boot/model/relational/Database;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/id/enhanced/SequenceStyleGenerator;
0 2 1 database Lorg/hibernate/boot/model/relational/Database;
MethodParameters:
Name Flags
database
}
SourceFile: "SequenceStyleGenerator.java"
InnerClasses:
public NameParts = org.hibernate.boot.model.relational.QualifiedNameParser$NameParts of org.hibernate.boot.model.relational.QualifiedNameParser
public abstract Converter = org.hibernate.engine.config.spi.ConfigurationService$Converter of org.hibernate.engine.config.spi.ConfigurationService