public class org.hibernate.jdbc.Expectations$BasicParamExpectation extends org.hibernate.jdbc.Expectations$BasicExpectation
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.jdbc.Expectations$BasicParamExpectation
super_class: org.hibernate.jdbc.Expectations$BasicExpectation
{
private final int parameterPosition;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(int, int);
descriptor: (II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokespecial org.hibernate.jdbc.Expectations$BasicExpectation.<init>:(I)V
1: aload 0
iload 2
putfield org.hibernate.jdbc.Expectations$BasicParamExpectation.parameterPosition:I
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/jdbc/Expectations$BasicParamExpectation;
0 3 1 expectedRowCount I
0 3 2 parameterPosition I
MethodParameters:
Name Flags
expectedRowCount
parameterPosition
public int prepare(java.sql.PreparedStatement);
descriptor: (Ljava/sql/PreparedStatement;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.hibernate.jdbc.Expectations$BasicParamExpectation.toCallableStatement:(Ljava/sql/PreparedStatement;)Ljava/sql/CallableStatement;
aload 0
getfield org.hibernate.jdbc.Expectations$BasicParamExpectation.parameterPosition:I
iconst_2
invokeinterface java.sql.CallableStatement.registerOutParameter:(II)V
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/jdbc/Expectations$BasicParamExpectation;
0 2 1 statement Ljava/sql/PreparedStatement;
Exceptions:
throws java.sql.SQLException, org.hibernate.HibernateException
MethodParameters:
Name Flags
statement
public boolean canBeBatched();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/jdbc/Expectations$BasicParamExpectation;
protected int determineRowCount(int, java.sql.PreparedStatement);
descriptor: (ILjava/sql/PreparedStatement;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.hibernate.jdbc.Expectations$BasicParamExpectation.toCallableStatement:(Ljava/sql/PreparedStatement;)Ljava/sql/CallableStatement;
aload 0
getfield org.hibernate.jdbc.Expectations$BasicParamExpectation.parameterPosition:I
invokeinterface java.sql.CallableStatement.getInt:(I)I
1: ireturn
2: StackMap locals:
StackMap stack: java.sql.SQLException
astore 3
start local 3 3: getstatic org.hibernate.jdbc.Expectations.sqlExceptionHelper:Lorg/hibernate/engine/jdbc/spi/SqlExceptionHelper;
aload 3
ldc "could not extract row counts from CallableStatement"
invokevirtual org.hibernate.engine.jdbc.spi.SqlExceptionHelper.logExceptions:(Ljava/sql/SQLException;Ljava/lang/String;)V
4: new org.hibernate.exception.GenericJDBCException
dup
ldc "could not extract row counts from CallableStatement"
aload 3
invokespecial org.hibernate.exception.GenericJDBCException.<init>:(Ljava/lang/String;Ljava/sql/SQLException;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/jdbc/Expectations$BasicParamExpectation;
0 5 1 reportedRowCount I
0 5 2 statement Ljava/sql/PreparedStatement;
3 5 3 sqle Ljava/sql/SQLException;
Exception table:
from to target type
0 1 2 Class java.sql.SQLException
MethodParameters:
Name Flags
reportedRowCount
statement
private java.sql.CallableStatement toCallableStatement(java.sql.PreparedStatement);
descriptor: (Ljava/sql/PreparedStatement;)Ljava/sql/CallableStatement;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: ldc Ljava/sql/CallableStatement;
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 4
1: new org.hibernate.HibernateException
dup
2: new java.lang.StringBuilder
dup
ldc "BasicParamExpectation operates exclusively on CallableStatements : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
checkcast java.sql.CallableStatement
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/jdbc/Expectations$BasicParamExpectation;
0 5 1 statement Ljava/sql/PreparedStatement;
MethodParameters:
Name Flags
statement
}
SourceFile: "Expectations.java"
NestHost: org.hibernate.jdbc.Expectations
InnerClasses:
public BasicExpectation = org.hibernate.jdbc.Expectations$BasicExpectation of org.hibernate.jdbc.Expectations
public BasicParamExpectation = org.hibernate.jdbc.Expectations$BasicParamExpectation of org.hibernate.jdbc.Expectations