class org.hibernate.id.enhanced.SequenceStructure$1 implements org.hibernate.id.enhanced.AccessCallback
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.hibernate.id.enhanced.SequenceStructure$1
super_class: java.lang.Object
{
final org.hibernate.id.enhanced.SequenceStructure this$0;
descriptor: Lorg/hibernate/id/enhanced/SequenceStructure;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final org.hibernate.engine.spi.SharedSessionContractImplementor val$session;
descriptor: Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.hibernate.id.enhanced.SequenceStructure, org.hibernate.engine.spi.SharedSessionContractImplementor);
descriptor: (Lorg/hibernate/id/enhanced/SequenceStructure;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield org.hibernate.id.enhanced.SequenceStructure$1.this$0:Lorg/hibernate/id/enhanced/SequenceStructure;
aload 0
aload 2
putfield org.hibernate.id.enhanced.SequenceStructure$1.val$session:Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
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/SequenceStructure$1;
MethodParameters:
Name Flags
this$0 final
val$session final
public org.hibernate.id.IntegralDataTypeHolder getNextValue();
descriptor: ()Lorg/hibernate/id/IntegralDataTypeHolder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
getfield org.hibernate.id.enhanced.SequenceStructure$1.this$0:Lorg/hibernate/id/enhanced/SequenceStructure;
dup
getfield org.hibernate.id.enhanced.SequenceStructure.accessCounter:I
iconst_1
iadd
putfield org.hibernate.id.enhanced.SequenceStructure.accessCounter:I
1: aload 0
getfield org.hibernate.id.enhanced.SequenceStructure$1.val$session:Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getJdbcCoordinator:()Lorg/hibernate/engine/jdbc/spi/JdbcCoordinator;
invokeinterface org.hibernate.engine.jdbc.spi.JdbcCoordinator.getStatementPreparer:()Lorg/hibernate/engine/jdbc/spi/StatementPreparer;
aload 0
getfield org.hibernate.id.enhanced.SequenceStructure$1.this$0:Lorg/hibernate/id/enhanced/SequenceStructure;
getfield org.hibernate.id.enhanced.SequenceStructure.sql:Ljava/lang/String;
invokeinterface org.hibernate.engine.jdbc.spi.StatementPreparer.prepareStatement:(Ljava/lang/String;)Ljava/sql/PreparedStatement;
astore 1
start local 1 2: aload 0
getfield org.hibernate.id.enhanced.SequenceStructure$1.val$session:Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getJdbcCoordinator:()Lorg/hibernate/engine/jdbc/spi/JdbcCoordinator;
invokeinterface org.hibernate.engine.jdbc.spi.JdbcCoordinator.getResultSetReturn:()Lorg/hibernate/engine/jdbc/spi/ResultSetReturn;
aload 1
invokeinterface org.hibernate.engine.jdbc.spi.ResultSetReturn.extract:(Ljava/sql/PreparedStatement;)Ljava/sql/ResultSet;
astore 2
start local 2 3: aload 2
invokeinterface java.sql.ResultSet.next:()Z
pop
4: aload 0
getfield org.hibernate.id.enhanced.SequenceStructure$1.this$0:Lorg/hibernate/id/enhanced/SequenceStructure;
getfield org.hibernate.id.enhanced.SequenceStructure.numberType:Ljava/lang/Class;
invokestatic org.hibernate.id.IdentifierGeneratorHelper.getIntegralDataTypeHolder:(Ljava/lang/Class;)Lorg/hibernate/id/IntegralDataTypeHolder;
astore 3
start local 3 5: aload 3
aload 2
lconst_1
invokeinterface org.hibernate.id.IntegralDataTypeHolder.initialize:(Ljava/sql/ResultSet;J)Lorg/hibernate/id/IntegralDataTypeHolder;
pop
6: getstatic org.hibernate.id.enhanced.SequenceStructure.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.isDebugEnabled:()Z
ifeq 8
7: getstatic org.hibernate.id.enhanced.SequenceStructure.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Sequence value obtained: %s"
aload 3
invokeinterface org.hibernate.id.IntegralDataTypeHolder.makeValue:()Ljava/lang/Number;
invokeinterface org.hibernate.internal.CoreMessageLogger.debugf:(Ljava/lang/String;Ljava/lang/Object;)V
8: StackMap locals: java.sql.PreparedStatement java.sql.ResultSet org.hibernate.id.IntegralDataTypeHolder
StackMap stack:
aload 3
astore 5
9: aload 0
getfield org.hibernate.id.enhanced.SequenceStructure$1.val$session:Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getJdbcCoordinator:()Lorg/hibernate/engine/jdbc/spi/JdbcCoordinator;
invokeinterface org.hibernate.engine.jdbc.spi.JdbcCoordinator.getLogicalConnection:()Lorg/hibernate/resource/jdbc/spi/LogicalConnectionImplementor;
invokeinterface org.hibernate.resource.jdbc.spi.LogicalConnectionImplementor.getResourceRegistry:()Lorg/hibernate/resource/jdbc/ResourceRegistry;
aload 2
aload 1
invokeinterface org.hibernate.resource.jdbc.ResourceRegistry.release:(Ljava/sql/ResultSet;Ljava/sql/Statement;)V
10: goto 12
11: StackMap locals: org.hibernate.id.enhanced.SequenceStructure$1 java.sql.PreparedStatement java.sql.ResultSet org.hibernate.id.IntegralDataTypeHolder top org.hibernate.id.IntegralDataTypeHolder
StackMap stack: java.lang.Throwable
pop
12: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.id.enhanced.SequenceStructure$1.val$session:Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getJdbcCoordinator:()Lorg/hibernate/engine/jdbc/spi/JdbcCoordinator;
invokeinterface org.hibernate.engine.jdbc.spi.JdbcCoordinator.getLogicalConnection:()Lorg/hibernate/resource/jdbc/spi/LogicalConnectionImplementor;
invokeinterface org.hibernate.resource.jdbc.spi.LogicalConnectionImplementor.getResourceRegistry:()Lorg/hibernate/resource/jdbc/ResourceRegistry;
aload 1
invokeinterface org.hibernate.resource.jdbc.ResourceRegistry.release:(Ljava/sql/Statement;)V
13: aload 0
getfield org.hibernate.id.enhanced.SequenceStructure$1.val$session:Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getJdbcCoordinator:()Lorg/hibernate/engine/jdbc/spi/JdbcCoordinator;
invokeinterface org.hibernate.engine.jdbc.spi.JdbcCoordinator.afterStatementExecution:()V
14: aload 5
areturn
end local 3 15: StackMap locals: org.hibernate.id.enhanced.SequenceStructure$1 java.sql.PreparedStatement java.sql.ResultSet
StackMap stack: java.lang.Throwable
astore 4
16: aload 0
getfield org.hibernate.id.enhanced.SequenceStructure$1.val$session:Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getJdbcCoordinator:()Lorg/hibernate/engine/jdbc/spi/JdbcCoordinator;
invokeinterface org.hibernate.engine.jdbc.spi.JdbcCoordinator.getLogicalConnection:()Lorg/hibernate/resource/jdbc/spi/LogicalConnectionImplementor;
invokeinterface org.hibernate.resource.jdbc.spi.LogicalConnectionImplementor.getResourceRegistry:()Lorg/hibernate/resource/jdbc/ResourceRegistry;
aload 2
aload 1
invokeinterface org.hibernate.resource.jdbc.ResourceRegistry.release:(Ljava/sql/ResultSet;Ljava/sql/Statement;)V
17: goto 19
18: StackMap locals: org.hibernate.id.enhanced.SequenceStructure$1 java.sql.PreparedStatement java.sql.ResultSet top java.lang.Throwable
StackMap stack: java.lang.Throwable
pop
19: StackMap locals:
StackMap stack:
aload 4
athrow
end local 2 20: StackMap locals: org.hibernate.id.enhanced.SequenceStructure$1 java.sql.PreparedStatement
StackMap stack: java.lang.Throwable
astore 6
21: aload 0
getfield org.hibernate.id.enhanced.SequenceStructure$1.val$session:Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getJdbcCoordinator:()Lorg/hibernate/engine/jdbc/spi/JdbcCoordinator;
invokeinterface org.hibernate.engine.jdbc.spi.JdbcCoordinator.getLogicalConnection:()Lorg/hibernate/resource/jdbc/spi/LogicalConnectionImplementor;
invokeinterface org.hibernate.resource.jdbc.spi.LogicalConnectionImplementor.getResourceRegistry:()Lorg/hibernate/resource/jdbc/ResourceRegistry;
aload 1
invokeinterface org.hibernate.resource.jdbc.ResourceRegistry.release:(Ljava/sql/Statement;)V
22: aload 0
getfield org.hibernate.id.enhanced.SequenceStructure$1.val$session:Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getJdbcCoordinator:()Lorg/hibernate/engine/jdbc/spi/JdbcCoordinator;
invokeinterface org.hibernate.engine.jdbc.spi.JdbcCoordinator.afterStatementExecution:()V
23: aload 6
athrow
end local 1 24: StackMap locals: org.hibernate.id.enhanced.SequenceStructure$1
StackMap stack: java.sql.SQLException
astore 1
start local 1 25: aload 0
getfield org.hibernate.id.enhanced.SequenceStructure$1.val$session:Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getJdbcServices:()Lorg/hibernate/engine/jdbc/spi/JdbcServices;
invokeinterface org.hibernate.engine.jdbc.spi.JdbcServices.getSqlExceptionHelper:()Lorg/hibernate/engine/jdbc/spi/SqlExceptionHelper;
26: aload 1
27: ldc "could not get next sequence value"
28: aload 0
getfield org.hibernate.id.enhanced.SequenceStructure$1.this$0:Lorg/hibernate/id/enhanced/SequenceStructure;
getfield org.hibernate.id.enhanced.SequenceStructure.sql:Ljava/lang/String;
29: invokevirtual org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert:(Ljava/sql/SQLException;Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/JDBCException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/hibernate/id/enhanced/SequenceStructure$1;
2 24 1 st Ljava/sql/PreparedStatement;
3 20 2 rs Ljava/sql/ResultSet;
5 15 3 value Lorg/hibernate/id/IntegralDataTypeHolder;
25 30 1 sqle Ljava/sql/SQLException;
Exception table:
from to target type
9 10 11 Class java.lang.Throwable
3 9 15 any
16 17 18 Class java.lang.Throwable
2 12 20 any
15 20 20 any
1 14 24 Class java.sql.SQLException
15 24 24 Class java.sql.SQLException
public java.lang.String getTenantIdentifier();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.id.enhanced.SequenceStructure$1.val$session:Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getTenantIdentifier:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/id/enhanced/SequenceStructure$1;
}
SourceFile: "SequenceStructure.java"
EnclosingMethod: org.hibernate.id.enhanced.SequenceStructure.buildCallback:(Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)Lorg/hibernate/id/enhanced/AccessCallback;
NestHost: org.hibernate.id.enhanced.SequenceStructure
InnerClasses:
org.hibernate.id.enhanced.SequenceStructure$1