public class org.hibernate.query.procedure.internal.ProcedureParameterImpl<T> extends org.hibernate.query.internal.QueryParameterImpl<T> implements org.hibernate.query.procedure.spi.ProcedureParameterImplementor<T>, org.hibernate.procedure.ParameterRegistration<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.query.procedure.internal.ProcedureParameterImpl
super_class: org.hibernate.query.internal.QueryParameterImpl
{
private static final org.jboss.logging.Logger log;
descriptor: Lorg/jboss/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.hibernate.procedure.internal.ProcedureCallImpl procedureCall;
descriptor: Lorg/hibernate/procedure/internal/ProcedureCallImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Integer position;
descriptor: Ljava/lang/Integer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.persistence.ParameterMode mode;
descriptor: Ljavax/persistence/ParameterMode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Class<T> javaType;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<TT;>;
private int[] sqlTypes;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private boolean passNullsEnabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int startIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static volatile int[] $SWITCH_TABLE$javax$persistence$TemporalType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/hibernate/query/procedure/internal/ProcedureParameterImpl;
invokestatic org.jboss.logging.Logger.getLogger:(Ljava/lang/Class;)Lorg/jboss/logging/Logger;
putstatic org.hibernate.query.procedure.internal.ProcedureParameterImpl.log:Lorg/jboss/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.hibernate.procedure.internal.ProcedureCallImpl, java.lang.String, javax.persistence.ParameterMode, java.lang.Class<T>, org.hibernate.type.Type, );
descriptor: (Lorg/hibernate/procedure/internal/ProcedureCallImpl;Ljava/lang/String;Ljavax/persistence/ParameterMode;Ljava/lang/Class;Lorg/hibernate/type/Type;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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: aload 0
aload 5
invokespecial org.hibernate.query.internal.QueryParameterImpl.<init>:(Lorg/hibernate/type/Type;)V
1: aload 0
aload 1
putfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
2: aload 0
aload 2
putfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.name:Ljava/lang/String;
3: aload 0
aconst_null
putfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.position:Ljava/lang/Integer;
4: aload 0
aload 3
putfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.mode:Ljavax/persistence/ParameterMode;
5: aload 0
aload 4
putfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.javaType:Ljava/lang/Class;
6: aload 0
iload 6
putfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.passNullsEnabled:Z
7: aload 0
aload 5
invokevirtual org.hibernate.query.procedure.internal.ProcedureParameterImpl.setHibernateType:(Lorg/hibernate/type/Type;)V
8: return
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 9 0 this Lorg/hibernate/query/procedure/internal/ProcedureParameterImpl<TT;>;
0 9 1 procedureCall Lorg/hibernate/procedure/internal/ProcedureCallImpl;
0 9 2 name Ljava/lang/String;
0 9 3 mode Ljavax/persistence/ParameterMode;
0 9 4 javaType Ljava/lang/Class<TT;>;
0 9 5 hibernateType Lorg/hibernate/type/Type;
0 9 6 initialPassNullsSetting Z
Signature: (Lorg/hibernate/procedure/internal/ProcedureCallImpl;Ljava/lang/String;Ljavax/persistence/ParameterMode;Ljava/lang/Class<TT;>;Lorg/hibernate/type/Type;Z)V
MethodParameters:
Name Flags
procedureCall
name
mode
javaType
hibernateType
initialPassNullsSetting
public void <init>(org.hibernate.procedure.internal.ProcedureCallImpl, java.lang.Integer, javax.persistence.ParameterMode, java.lang.Class<T>, org.hibernate.type.Type, );
descriptor: (Lorg/hibernate/procedure/internal/ProcedureCallImpl;Ljava/lang/Integer;Ljavax/persistence/ParameterMode;Ljava/lang/Class;Lorg/hibernate/type/Type;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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: aload 0
aload 5
invokespecial org.hibernate.query.internal.QueryParameterImpl.<init>:(Lorg/hibernate/type/Type;)V
1: aload 0
aload 1
putfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
2: aload 0
aconst_null
putfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.name:Ljava/lang/String;
3: aload 0
aload 2
putfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.position:Ljava/lang/Integer;
4: aload 0
aload 3
putfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.mode:Ljavax/persistence/ParameterMode;
5: aload 0
aload 4
putfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.javaType:Ljava/lang/Class;
6: aload 0
iload 6
putfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.passNullsEnabled:Z
7: aload 0
aload 5
invokevirtual org.hibernate.query.procedure.internal.ProcedureParameterImpl.setHibernateType:(Lorg/hibernate/type/Type;)V
8: return
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 9 0 this Lorg/hibernate/query/procedure/internal/ProcedureParameterImpl<TT;>;
0 9 1 procedureCall Lorg/hibernate/procedure/internal/ProcedureCallImpl;
0 9 2 position Ljava/lang/Integer;
0 9 3 mode Ljavax/persistence/ParameterMode;
0 9 4 javaType Ljava/lang/Class<TT;>;
0 9 5 hibernateType Lorg/hibernate/type/Type;
0 9 6 initialPassNullsSetting Z
Signature: (Lorg/hibernate/procedure/internal/ProcedureCallImpl;Ljava/lang/Integer;Ljavax/persistence/ParameterMode;Ljava/lang/Class<TT;>;Lorg/hibernate/type/Type;Z)V
MethodParameters:
Name Flags
procedureCall
position
mode
javaType
hibernateType
initialPassNullsSetting
public javax.persistence.ParameterMode getMode();
descriptor: ()Ljavax/persistence/ParameterMode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.mode:Ljavax/persistence/ParameterMode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/query/procedure/internal/ProcedureParameterImpl<TT;>;
public boolean isPassNullsEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.passNullsEnabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/query/procedure/internal/ProcedureParameterImpl<TT;>;
public void enablePassingNulls(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.passNullsEnabled:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/query/procedure/internal/ProcedureParameterImpl<TT;>;
0 2 1 enabled Z
MethodParameters:
Name Flags
enabled
public int[] getSourceLocations();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
newarray 10
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/query/procedure/internal/ProcedureParameterImpl<TT;>;
public java.lang.String getName();
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.query.procedure.internal.ProcedureParameterImpl.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/query/procedure/internal/ProcedureParameterImpl<TT;>;
public java.lang.Integer getPosition();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.position:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/query/procedure/internal/ProcedureParameterImpl<TT;>;
public org.hibernate.type.Type getHibernateType();
descriptor: ()Lorg/hibernate/type/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.query.procedure.internal.ProcedureParameterImpl.getType:()Lorg/hibernate/type/Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/query/procedure/internal/ProcedureParameterImpl<TT;>;
public void setHibernateType(org.hibernate.type.Type);
descriptor: (Lorg/hibernate/type/Type;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.hibernate.query.internal.QueryParameterImpl.setHibernateType:(Lorg/hibernate/type/Type;)V
1: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.mode:Ljavax/persistence/ParameterMode;
getstatic javax.persistence.ParameterMode.REF_CURSOR:Ljavax/persistence/ParameterMode;
if_acmpne 4
2: aload 0
iconst_1
newarray 10
dup
iconst_0
sipush 2012
iastore
putfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.sqlTypes:[I
3: goto 7
4: StackMap locals:
StackMap stack:
aload 1
ifnonnull 6
5: new java.lang.IllegalArgumentException
dup
ldc "Type cannot be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getSession:()Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.type.Type.sqlTypes:(Lorg/hibernate/engine/spi/Mapping;)[I
putfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.sqlTypes:[I
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/hibernate/query/procedure/internal/ProcedureParameterImpl<TT;>;
0 8 1 expectedType Lorg/hibernate/type/Type;
MethodParameters:
Name Flags
expectedType
public java.lang.Class<T> getParameterType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.javaType:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/query/procedure/internal/ProcedureParameterImpl<TT;>;
Signature: ()Ljava/lang/Class<TT;>;
public org.hibernate.procedure.ParameterBind<T> getBind();
descriptor: ()Lorg/hibernate/procedure/ParameterBind;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getQueryParameterBindings:()Lorg/hibernate/query/spi/QueryParameterBindings;
aload 0
invokeinterface org.hibernate.query.spi.QueryParameterBindings.getBinding:(Lorg/hibernate/query/QueryParameter;)Lorg/hibernate/query/spi/QueryParameterBinding;
checkcast org.hibernate.procedure.ParameterBind
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/query/procedure/internal/ProcedureParameterImpl<TT;>;
Signature: ()Lorg/hibernate/procedure/ParameterBind<TT;>;
public void bindValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.hibernate.query.procedure.internal.ProcedureParameterImpl.getBind:()Lorg/hibernate/procedure/ParameterBind;
aload 1
invokeinterface org.hibernate.procedure.ParameterBind.setBindValue:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/query/procedure/internal/ProcedureParameterImpl<TT;>;
0 2 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
public void bindValue(java.lang.Object, javax.persistence.TemporalType);
descriptor: (Ljava/lang/Object;Ljavax/persistence/TemporalType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.hibernate.query.procedure.internal.ProcedureParameterImpl.getBind:()Lorg/hibernate/procedure/ParameterBind;
aload 1
aload 2
invokeinterface org.hibernate.procedure.ParameterBind.setBindValue:(Ljava/lang/Object;Ljavax/persistence/TemporalType;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/query/procedure/internal/ProcedureParameterImpl<TT;>;
0 2 1 value Ljava/lang/Object;
0 2 2 explicitTemporalType Ljavax/persistence/TemporalType;
MethodParameters:
Name Flags
value
explicitTemporalType
public void prepare(java.sql.CallableStatement, int);
descriptor: (Ljava/sql/CallableStatement;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.hibernate.query.procedure.internal.ProcedureParameterImpl.getHibernateType:()Lorg/hibernate/type/Type;
astore 3
start local 3 1: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.sqlTypes:[I
astore 4
start local 4 2: aload 0
invokevirtual org.hibernate.query.procedure.internal.ProcedureParameterImpl.getBind:()Lorg/hibernate/procedure/ParameterBind;
astore 5
start local 5 3: aload 5
ifnull 14
aload 5
invokeinterface org.hibernate.procedure.ParameterBind.getExplicitTemporalType:()Ljavax/persistence/TemporalType;
ifnull 14
4: ldc Ljava/util/Calendar;
aload 5
invokeinterface org.hibernate.procedure.ParameterBind.getValue:()Ljava/lang/Object;
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 14
5: invokestatic org.hibernate.query.procedure.internal.ProcedureParameterImpl.$SWITCH_TABLE$javax$persistence$TemporalType:()[I
aload 5
invokeinterface org.hibernate.procedure.ParameterBind.getExplicitTemporalType:()Ljavax/persistence/TemporalType;
invokevirtual javax.persistence.TemporalType.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 9
2: 12
3: 6
default: 14
}
6: StackMap locals: org.hibernate.type.Type int[] org.hibernate.procedure.ParameterBind
StackMap stack:
getstatic org.hibernate.type.CalendarType.INSTANCE:Lorg/hibernate/type/CalendarType;
astore 3
7: aload 3
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getSession:()Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.type.Type.sqlTypes:(Lorg/hibernate/engine/spi/Mapping;)[I
astore 4
8: goto 14
9: StackMap locals:
StackMap stack:
getstatic org.hibernate.type.CalendarDateType.INSTANCE:Lorg/hibernate/type/CalendarDateType;
astore 3
10: aload 3
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getSession:()Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.type.Type.sqlTypes:(Lorg/hibernate/engine/spi/Mapping;)[I
astore 4
11: goto 14
12: StackMap locals:
StackMap stack:
getstatic org.hibernate.type.CalendarTimeType.INSTANCE:Lorg/hibernate/type/CalendarTimeType;
astore 3
13: aload 3
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getSession:()Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.type.Type.sqlTypes:(Lorg/hibernate/engine/spi/Mapping;)[I
astore 4
14: StackMap locals:
StackMap stack:
aload 0
iload 2
putfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.startIndex:I
15: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.mode:Ljavax/persistence/ParameterMode;
getstatic javax.persistence.ParameterMode.IN:Ljavax/persistence/ParameterMode;
if_acmpeq 16
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.mode:Ljavax/persistence/ParameterMode;
getstatic javax.persistence.ParameterMode.INOUT:Ljavax/persistence/ParameterMode;
if_acmpeq 16
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.mode:Ljavax/persistence/ParameterMode;
getstatic javax.persistence.ParameterMode.OUT:Ljavax/persistence/ParameterMode;
if_acmpne 71
16: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.mode:Ljavax/persistence/ParameterMode;
getstatic javax.persistence.ParameterMode.INOUT:Ljavax/persistence/ParameterMode;
if_acmpeq 17
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.mode:Ljavax/persistence/ParameterMode;
getstatic javax.persistence.ParameterMode.OUT:Ljavax/persistence/ParameterMode;
if_acmpne 37
17: StackMap locals:
StackMap stack:
aload 4
arraylength
iconst_1
if_icmple 27
18: ldc Lorg/hibernate/type/ProcedureParameterExtractionAware;
aload 3
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 21
19: aload 3
checkcast org.hibernate.type.ProcedureParameterExtractionAware
invokeinterface org.hibernate.type.ProcedureParameterExtractionAware.canDoExtraction:()Z
ifeq 21
20: iconst_1
goto 22
StackMap locals:
StackMap stack:
21: iconst_0
StackMap locals:
StackMap stack: int
22: istore 6
start local 6 23: iload 6
ifne 27
24: new java.lang.UnsupportedOperationException
dup
25: new java.lang.StringBuilder
dup
ldc "Type ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] does support multi-parameter value extraction"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
26: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 6 27: StackMap locals:
StackMap stack:
aload 4
arraylength
iconst_1
if_icmpne 32
28: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getParameterStrategy:()Lorg/hibernate/procedure/spi/ParameterStrategy;
getstatic org.hibernate.procedure.spi.ParameterStrategy.NAMED:Lorg/hibernate/procedure/spi/ParameterStrategy;
if_acmpne 32
29: aload 0
aload 3
invokevirtual org.hibernate.query.procedure.internal.ProcedureParameterImpl.canDoNameParameterBinding:(Lorg/hibernate/type/Type;)Z
ifeq 32
30: aload 1
aload 0
invokevirtual org.hibernate.query.procedure.internal.ProcedureParameterImpl.getName:()Ljava/lang/String;
aload 4
iconst_0
iaload
invokeinterface java.sql.CallableStatement.registerOutParameter:(Ljava/lang/String;I)V
31: goto 37
32: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 33: goto 36
34: StackMap locals: int
StackMap stack:
aload 1
iload 2
iload 6
iadd
aload 4
iload 6
iaload
invokeinterface java.sql.CallableStatement.registerOutParameter:(II)V
35: iinc 6 1
StackMap locals:
StackMap stack:
36: iload 6
aload 4
arraylength
if_icmplt 34
end local 6 37: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.mode:Ljavax/persistence/ParameterMode;
getstatic javax.persistence.ParameterMode.INOUT:Ljavax/persistence/ParameterMode;
if_acmpeq 38
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.mode:Ljavax/persistence/ParameterMode;
getstatic javax.persistence.ParameterMode.IN:Ljavax/persistence/ParameterMode;
if_acmpne 79
38: StackMap locals:
StackMap stack:
aload 5
ifnull 39
aload 5
invokeinterface org.hibernate.procedure.ParameterBind.getValue:()Ljava/lang/Object;
ifnonnull 61
39: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.query.procedure.internal.ProcedureParameterImpl.isPassNullsEnabled:()Z
ifeq 55
40: getstatic org.hibernate.query.procedure.internal.ProcedureParameterImpl.log:Lorg/jboss/logging/Logger;
41: ldc "Stored procedure [%s] IN/INOUT parameter [%s] not bound and `passNulls` was set to true; binding NULL"
42: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getProcedureName:()Ljava/lang/String;
43: aload 0
44: invokevirtual org.jboss.logging.Logger.debugf:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
45: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getParameterStrategy:()Lorg/hibernate/procedure/spi/ParameterStrategy;
getstatic org.hibernate.procedure.spi.ParameterStrategy.NAMED:Lorg/hibernate/procedure/spi/ParameterStrategy;
if_acmpne 53
aload 0
aload 3
invokevirtual org.hibernate.query.procedure.internal.ProcedureParameterImpl.canDoNameParameterBinding:(Lorg/hibernate/type/Type;)Z
ifeq 53
46: aload 3
checkcast org.hibernate.type.ProcedureParameterNamedBinder
47: aload 1
48: aconst_null
49: aload 0
invokevirtual org.hibernate.query.procedure.internal.ProcedureParameterImpl.getName:()Ljava/lang/String;
50: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getSession:()Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
51: invokeinterface org.hibernate.type.ProcedureParameterNamedBinder.nullSafeSet:(Ljava/sql/CallableStatement;Ljava/lang/Object;Ljava/lang/String;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)V
52: goto 79
53: StackMap locals:
StackMap stack:
aload 3
aload 1
aconst_null
iload 2
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getSession:()Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.type.Type.nullSafeSet:(Ljava/sql/PreparedStatement;Ljava/lang/Object;ILorg/hibernate/engine/spi/SharedSessionContractImplementor;)V
54: goto 79
55: StackMap locals:
StackMap stack:
getstatic org.hibernate.query.procedure.internal.ProcedureParameterImpl.log:Lorg/jboss/logging/Logger;
56: ldc "Stored procedure [%s] IN/INOUT parameter [%s] not bound and `passNulls` was set to false; assuming procedure defines default value"
57: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getProcedureName:()Ljava/lang/String;
58: aload 0
59: invokevirtual org.jboss.logging.Logger.debugf:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
60: goto 79
61: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getParameterStrategy:()Lorg/hibernate/procedure/spi/ParameterStrategy;
getstatic org.hibernate.procedure.spi.ParameterStrategy.NAMED:Lorg/hibernate/procedure/spi/ParameterStrategy;
if_acmpne 69
aload 0
aload 3
invokevirtual org.hibernate.query.procedure.internal.ProcedureParameterImpl.canDoNameParameterBinding:(Lorg/hibernate/type/Type;)Z
ifeq 69
62: aload 3
checkcast org.hibernate.type.ProcedureParameterNamedBinder
63: aload 1
64: aload 5
invokeinterface org.hibernate.procedure.ParameterBind.getValue:()Ljava/lang/Object;
65: aload 0
invokevirtual org.hibernate.query.procedure.internal.ProcedureParameterImpl.getName:()Ljava/lang/String;
66: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getSession:()Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
67: invokeinterface org.hibernate.type.ProcedureParameterNamedBinder.nullSafeSet:(Ljava/sql/CallableStatement;Ljava/lang/Object;Ljava/lang/String;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)V
68: goto 79
69: StackMap locals:
StackMap stack:
aload 3
aload 1
aload 5
invokeinterface org.hibernate.procedure.ParameterBind.getValue:()Ljava/lang/Object;
iload 2
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getSession:()Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.type.Type.nullSafeSet:(Ljava/sql/PreparedStatement;Ljava/lang/Object;ILorg/hibernate/engine/spi/SharedSessionContractImplementor;)V
70: goto 79
71: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getParameterStrategy:()Lorg/hibernate/procedure/spi/ParameterStrategy;
getstatic org.hibernate.procedure.spi.ParameterStrategy.NAMED:Lorg/hibernate/procedure/spi/ParameterStrategy;
if_acmpne 76
72: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getSession:()Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getServiceRegistry:()Lorg/hibernate/service/spi/ServiceRegistryImplementor;
73: ldc Lorg/hibernate/engine/jdbc/cursor/spi/RefCursorSupport;
invokeinterface org.hibernate.service.spi.ServiceRegistryImplementor.getService:(Ljava/lang/Class;)Lorg/hibernate/service/Service;
checkcast org.hibernate.engine.jdbc.cursor.spi.RefCursorSupport
74: aload 1
aload 0
invokevirtual org.hibernate.query.procedure.internal.ProcedureParameterImpl.getName:()Ljava/lang/String;
invokeinterface org.hibernate.engine.jdbc.cursor.spi.RefCursorSupport.registerRefCursorParameter:(Ljava/sql/CallableStatement;Ljava/lang/String;)V
75: goto 79
76: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getSession:()Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getServiceRegistry:()Lorg/hibernate/service/spi/ServiceRegistryImplementor;
77: ldc Lorg/hibernate/engine/jdbc/cursor/spi/RefCursorSupport;
invokeinterface org.hibernate.service.spi.ServiceRegistryImplementor.getService:(Ljava/lang/Class;)Lorg/hibernate/service/Service;
checkcast org.hibernate.engine.jdbc.cursor.spi.RefCursorSupport
78: aload 1
iload 2
invokeinterface org.hibernate.engine.jdbc.cursor.spi.RefCursorSupport.registerRefCursorParameter:(Ljava/sql/CallableStatement;I)V
79: StackMap locals:
StackMap stack:
return
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 80 0 this Lorg/hibernate/query/procedure/internal/ProcedureParameterImpl<TT;>;
0 80 1 statement Ljava/sql/CallableStatement;
0 80 2 startIndex I
1 80 3 typeToUse Lorg/hibernate/type/Type;
2 80 4 sqlTypesToUse [I
3 80 5 bind Lorg/hibernate/procedure/ParameterBind;
23 27 6 canHandleMultiParamExtraction Z
33 37 6 i I
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
statement
startIndex
private boolean canDoNameParameterBinding(org.hibernate.type.Type);
descriptor: (Lorg/hibernate/type/Type;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getSession:()Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
1: invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getJdbcCoordinator:()Lorg/hibernate/engine/jdbc/spi/JdbcCoordinator;
2: invokeinterface org.hibernate.engine.jdbc.spi.JdbcCoordinator.getJdbcSessionOwner:()Lorg/hibernate/resource/jdbc/spi/JdbcSessionOwner;
3: invokeinterface org.hibernate.resource.jdbc.spi.JdbcSessionOwner.getJdbcSessionContext:()Lorg/hibernate/resource/jdbc/spi/JdbcSessionContext;
4: invokeinterface org.hibernate.resource.jdbc.spi.JdbcSessionContext.getServiceRegistry:()Lorg/hibernate/service/ServiceRegistry;
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
5: invokeinterface org.hibernate.engine.jdbc.env.spi.JdbcEnvironment.getExtractedDatabaseMetaData:()Lorg/hibernate/engine/jdbc/env/spi/ExtractedDatabaseMetaData;
6: astore 2
start local 2 7: aload 2
invokeinterface org.hibernate.engine.jdbc.env.spi.ExtractedDatabaseMetaData.supportsNamedParameters:()Z
ifeq 11
8: ldc Lorg/hibernate/type/ProcedureParameterNamedBinder;
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 11
9: aload 1
checkcast org.hibernate.type.ProcedureParameterNamedBinder
invokeinterface org.hibernate.type.ProcedureParameterNamedBinder.canDoSetting:()Z
ifeq 11
10: iconst_1
ireturn
StackMap locals: org.hibernate.engine.jdbc.env.spi.ExtractedDatabaseMetaData
StackMap stack:
11: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/hibernate/query/procedure/internal/ProcedureParameterImpl<TT;>;
0 12 1 hibernateType Lorg/hibernate/type/Type;
7 12 2 databaseMetaData Lorg/hibernate/engine/jdbc/env/spi/ExtractedDatabaseMetaData;
MethodParameters:
Name Flags
hibernateType
public int[] getSqlTypes();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.mode:Ljavax/persistence/ParameterMode;
getstatic javax.persistence.ParameterMode.REF_CURSOR:Ljavax/persistence/ParameterMode;
if_acmpne 2
1: new java.lang.IllegalStateException
dup
ldc "REF_CURSOR parameters do not have a SQL/JDBC type"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.query.procedure.internal.ProcedureParameterImpl.determineHibernateType:()Lorg/hibernate/type/Type;
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getSession:()Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.type.Type.sqlTypes:(Lorg/hibernate/engine/spi/Mapping;)[I
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/query/procedure/internal/ProcedureParameterImpl<TT;>;
private org.hibernate.type.Type determineHibernateType();
descriptor: ()Lorg/hibernate/type/Type;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.query.procedure.internal.ProcedureParameterImpl.getBind:()Lorg/hibernate/procedure/ParameterBind;
astore 1
start local 1 1: aload 1
invokeinterface org.hibernate.procedure.ParameterBind.getBindType:()Lorg/hibernate/type/Type;
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 2
areturn
4: StackMap locals: org.hibernate.procedure.ParameterBind org.hibernate.type.Type
StackMap stack:
aload 0
invokevirtual org.hibernate.query.procedure.internal.ProcedureParameterImpl.getHibernateType:()Lorg/hibernate/type/Type;
astore 3
start local 3 5: aload 3
ifnull 7
6: aload 3
areturn
7: StackMap locals: org.hibernate.type.Type
StackMap stack:
aload 1
invokeinterface org.hibernate.procedure.ParameterBind.getValue:()Ljava/lang/Object;
ifnull 13
8: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getSession:()Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
9: invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
10: invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getTypeResolver:()Lorg/hibernate/type/TypeResolver;
11: aload 1
invokeinterface org.hibernate.procedure.ParameterBind.getValue:()Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual org.hibernate.type.TypeResolver.heuristicType:(Ljava/lang/String;)Lorg/hibernate/type/Type;
12: areturn
13: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "Unable to determine SQL type(s) - Hibernate Type not known"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/hibernate/query/procedure/internal/ProcedureParameterImpl<TT;>;
1 14 1 bind Lorg/hibernate/procedure/ParameterBind<TT;>;
2 14 2 bindType Lorg/hibernate/type/Type;
5 14 3 paramType Lorg/hibernate/type/Type;
public T extract(java.sql.CallableStatement);
descriptor: (Ljava/sql/CallableStatement;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.mode:Ljavax/persistence/ParameterMode;
getstatic javax.persistence.ParameterMode.IN:Ljavax/persistence/ParameterMode;
if_acmpne 2
1: new org.hibernate.procedure.ParameterMisuseException
dup
ldc "IN parameter not valid for output extraction"
invokespecial org.hibernate.procedure.ParameterMisuseException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.mode:Ljavax/persistence/ParameterMode;
getstatic javax.persistence.ParameterMode.REF_CURSOR:Ljavax/persistence/ParameterMode;
if_acmpne 8
3: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getParameterStrategy:()Lorg/hibernate/procedure/spi/ParameterStrategy;
getstatic org.hibernate.procedure.spi.ParameterStrategy.NAMED:Lorg/hibernate/procedure/spi/ParameterStrategy;
if_acmpne 6
4: aload 1
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.name:Ljava/lang/String;
invokeinterface java.sql.CallableStatement.getObject:(Ljava/lang/String;)Ljava/lang/Object;
5: areturn
6: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.startIndex:I
invokeinterface java.sql.CallableStatement.getObject:(I)Ljava/lang/Object;
7: areturn
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.query.procedure.internal.ProcedureParameterImpl.determineHibernateType:()Lorg/hibernate/type/Type;
astore 2
start local 2 9: aload 2
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getSession:()Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.type.Type.sqlTypes:(Lorg/hibernate/engine/spi/Mapping;)[I
astore 3
start local 3 10: aload 3
arraylength
iconst_1
if_icmpne 14
11: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getParameterStrategy:()Lorg/hibernate/procedure/spi/ParameterStrategy;
getstatic org.hibernate.procedure.spi.ParameterStrategy.NAMED:Lorg/hibernate/procedure/spi/ParameterStrategy;
if_acmpne 14
12: aload 0
aload 2
invokevirtual org.hibernate.query.procedure.internal.ProcedureParameterImpl.canDoNameParameterBinding:(Lorg/hibernate/type/Type;)Z
ifeq 14
13: iconst_1
goto 15
StackMap locals: org.hibernate.type.Type int[]
StackMap stack:
14: iconst_0
StackMap locals:
StackMap stack: int
15: istore 4
start local 4 16: ldc Lorg/hibernate/type/ProcedureParameterExtractionAware;
aload 2
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 30
17: iload 4
ifeq 24
18: aload 2
checkcast org.hibernate.type.ProcedureParameterExtractionAware
19: aload 1
20: iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
invokevirtual org.hibernate.query.procedure.internal.ProcedureParameterImpl.getName:()Ljava/lang/String;
aastore
21: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getSession:()Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
22: invokeinterface org.hibernate.type.ProcedureParameterExtractionAware.extract:(Ljava/sql/CallableStatement;[Ljava/lang/String;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)Ljava/lang/Object;
23: areturn
24: StackMap locals: int
StackMap stack:
aload 2
checkcast org.hibernate.type.ProcedureParameterExtractionAware
25: aload 1
26: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.startIndex:I
27: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getSession:()Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
28: invokeinterface org.hibernate.type.ProcedureParameterExtractionAware.extract:(Ljava/sql/CallableStatement;ILorg/hibernate/engine/spi/SharedSessionContractImplementor;)Ljava/lang/Object;
29: areturn
30: StackMap locals:
StackMap stack:
iload 4
ifeq 33
31: aload 1
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.name:Ljava/lang/String;
invokeinterface java.sql.CallableStatement.getObject:(Ljava/lang/String;)Ljava/lang/Object;
32: areturn
33: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.startIndex:I
invokeinterface java.sql.CallableStatement.getObject:(I)Ljava/lang/Object;
34: areturn
end local 4 end local 3 end local 2 35: StackMap locals: org.hibernate.query.procedure.internal.ProcedureParameterImpl java.sql.CallableStatement
StackMap stack: java.sql.SQLException
astore 2
start local 2 36: aload 0
getfield org.hibernate.query.procedure.internal.ProcedureParameterImpl.procedureCall:Lorg/hibernate/procedure/internal/ProcedureCallImpl;
invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getSession:()Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getSQLExceptionHelper:()Lorg/hibernate/engine/jdbc/spi/SqlExceptionHelper;
37: aload 2
38: ldc "Unable to extract OUT/INOUT parameter value"
39: invokevirtual org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert:(Ljava/sql/SQLException;Ljava/lang/String;)Lorg/hibernate/JDBCException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lorg/hibernate/query/procedure/internal/ProcedureParameterImpl<TT;>;
0 40 1 statement Ljava/sql/CallableStatement;
9 35 2 hibernateType Lorg/hibernate/type/Type;
10 35 3 sqlTypes [I
16 35 4 useNamed Z
36 40 2 e Ljava/sql/SQLException;
Exception table:
from to target type
2 5 35 Class java.sql.SQLException
6 7 35 Class java.sql.SQLException
8 23 35 Class java.sql.SQLException
24 29 35 Class java.sql.SQLException
30 32 35 Class java.sql.SQLException
33 34 35 Class java.sql.SQLException
Signature: (Ljava/sql/CallableStatement;)TT;
MethodParameters:
Name Flags
statement
static int[] $SWITCH_TABLE$javax$persistence$TemporalType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.hibernate.query.procedure.internal.ProcedureParameterImpl.$SWITCH_TABLE$javax$persistence$TemporalType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic javax.persistence.TemporalType.values:()[Ljavax/persistence/TemporalType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic javax.persistence.TemporalType.DATE:Ljavax/persistence/TemporalType;
invokevirtual javax.persistence.TemporalType.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic javax.persistence.TemporalType.TIME:Ljavax/persistence/TemporalType;
invokevirtual javax.persistence.TemporalType.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic javax.persistence.TemporalType.TIMESTAMP:Ljavax/persistence/TemporalType;
invokevirtual javax.persistence.TemporalType.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic org.hibernate.query.procedure.internal.ProcedureParameterImpl.$SWITCH_TABLE$javax$persistence$TemporalType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
}
Signature: <T:Ljava/lang/Object;>Lorg/hibernate/query/internal/QueryParameterImpl<TT;>;Lorg/hibernate/query/procedure/spi/ProcedureParameterImplementor<TT;>;Lorg/hibernate/procedure/ParameterRegistration<TT;>;
SourceFile: "ProcedureParameterImpl.java"