public class org.hibernate.result.internal.OutputsImpl implements org.hibernate.result.Outputs
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.result.internal.OutputsImpl
super_class: java.lang.Object
{
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.result.spi.ResultContext context;
descriptor: Lorg/hibernate/result/spi/ResultContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.sql.PreparedStatement jdbcStatement;
descriptor: Ljava/sql/PreparedStatement;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.hibernate.result.internal.OutputsImpl$CustomLoaderExtension loader;
descriptor: Lorg/hibernate/result/internal/OutputsImpl$CustomLoaderExtension;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.hibernate.result.internal.OutputsImpl$CurrentReturnState currentReturnState;
descriptor: Lorg/hibernate/result/internal/OutputsImpl$CurrentReturnState;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/hibernate/result/internal/OutputsImpl;
invokestatic org.hibernate.internal.CoreLogging.logger:(Ljava/lang/Class;)Lorg/jboss/logging/Logger;
putstatic org.hibernate.result.internal.OutputsImpl.log:Lorg/jboss/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.hibernate.result.spi.ResultContext, java.sql.PreparedStatement);
descriptor: (Lorg/hibernate/result/spi/ResultContext;Ljava/sql/PreparedStatement;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.hibernate.result.internal.OutputsImpl.context:Lorg/hibernate/result/spi/ResultContext;
2: aload 0
aload 2
putfield org.hibernate.result.internal.OutputsImpl.jdbcStatement:Ljava/sql/PreparedStatement;
3: aload 0
aload 1
invokestatic org.hibernate.result.internal.OutputsImpl.buildSpecializedCustomLoader:(Lorg/hibernate/result/spi/ResultContext;)Lorg/hibernate/result/internal/OutputsImpl$CustomLoaderExtension;
putfield org.hibernate.result.internal.OutputsImpl.loader:Lorg/hibernate/result/internal/OutputsImpl$CustomLoaderExtension;
4: aload 2
invokeinterface java.sql.PreparedStatement.execute:()Z
istore 3
start local 3 5: aload 0
aload 0
iload 3
invokevirtual org.hibernate.result.internal.OutputsImpl.buildCurrentReturnState:(Z)Lorg/hibernate/result/internal/OutputsImpl$CurrentReturnState;
putfield org.hibernate.result.internal.OutputsImpl.currentReturnState:Lorg/hibernate/result/internal/OutputsImpl$CurrentReturnState;
end local 3 6: goto 9
7: StackMap locals: org.hibernate.result.internal.OutputsImpl org.hibernate.result.spi.ResultContext java.sql.PreparedStatement
StackMap stack: java.sql.SQLException
astore 3
start local 3 8: aload 0
aload 3
ldc "Error calling CallableStatement.getMoreResults"
invokevirtual org.hibernate.result.internal.OutputsImpl.convert:(Ljava/sql/SQLException;Ljava/lang/String;)Lorg/hibernate/JDBCException;
athrow
end local 3 9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/hibernate/result/internal/OutputsImpl;
0 10 1 context Lorg/hibernate/result/spi/ResultContext;
0 10 2 jdbcStatement Ljava/sql/PreparedStatement;
5 6 3 isResultSet Z
8 9 3 e Ljava/sql/SQLException;
Exception table:
from to target type
4 6 7 Class java.sql.SQLException
MethodParameters:
Name Flags
context
jdbcStatement
private org.hibernate.result.internal.OutputsImpl$CurrentReturnState buildCurrentReturnState(boolean);
descriptor: (Z)Lorg/hibernate/result/internal/OutputsImpl$CurrentReturnState;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iconst_m1
istore 2
start local 2 1: iload 1
ifne 6
2: aload 0
getfield org.hibernate.result.internal.OutputsImpl.jdbcStatement:Ljava/sql/PreparedStatement;
invokeinterface java.sql.PreparedStatement.getUpdateCount:()I
istore 2
3: goto 6
4: StackMap locals: org.hibernate.result.internal.OutputsImpl int int
StackMap stack: java.sql.SQLException
astore 3
start local 3 5: aload 0
aload 3
ldc "Error calling CallableStatement.getUpdateCount"
invokevirtual org.hibernate.result.internal.OutputsImpl.convert:(Ljava/sql/SQLException;Ljava/lang/String;)Lorg/hibernate/JDBCException;
athrow
end local 3 6: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
invokevirtual org.hibernate.result.internal.OutputsImpl.buildCurrentReturnState:(ZI)Lorg/hibernate/result/internal/OutputsImpl$CurrentReturnState;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/result/internal/OutputsImpl;
0 7 1 isResultSet Z
1 7 2 updateCount I
5 6 3 e Ljava/sql/SQLException;
Exception table:
from to target type
2 3 4 Class java.sql.SQLException
MethodParameters:
Name Flags
isResultSet
protected org.hibernate.result.internal.OutputsImpl$CurrentReturnState buildCurrentReturnState(boolean, int);
descriptor: (ZI)Lorg/hibernate/result/internal/OutputsImpl$CurrentReturnState;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.hibernate.result.internal.OutputsImpl$CurrentReturnState
dup
aload 0
iload 1
iload 2
invokespecial org.hibernate.result.internal.OutputsImpl$CurrentReturnState.<init>:(Lorg/hibernate/result/internal/OutputsImpl;ZI)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/result/internal/OutputsImpl;
0 1 1 isResultSet Z
0 1 2 updateCount I
MethodParameters:
Name Flags
isResultSet
updateCount
protected org.hibernate.JDBCException convert(java.sql.SQLException, java.lang.String);
descriptor: (Ljava/sql/SQLException;Ljava/lang/String;)Lorg/hibernate/JDBCException;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.hibernate.result.internal.OutputsImpl.context:Lorg/hibernate/result/spi/ResultContext;
invokeinterface org.hibernate.result.spi.ResultContext.getSession:()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;
1: aload 1
2: aload 2
3: aload 0
getfield org.hibernate.result.internal.OutputsImpl.context:Lorg/hibernate/result/spi/ResultContext;
invokeinterface org.hibernate.result.spi.ResultContext.getSql:()Ljava/lang/String;
4: invokevirtual org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert:(Ljava/sql/SQLException;Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/JDBCException;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/result/internal/OutputsImpl;
0 5 1 e Ljava/sql/SQLException;
0 5 2 message Ljava/lang/String;
MethodParameters:
Name Flags
e
message
public org.hibernate.result.Output getCurrent();
descriptor: ()Lorg/hibernate/result/Output;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.result.internal.OutputsImpl.currentReturnState:Lorg/hibernate/result/internal/OutputsImpl$CurrentReturnState;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.result.internal.OutputsImpl.currentReturnState:Lorg/hibernate/result/internal/OutputsImpl$CurrentReturnState;
invokevirtual org.hibernate.result.internal.OutputsImpl$CurrentReturnState.getOutput:()Lorg/hibernate/result/Output;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/result/internal/OutputsImpl;
public boolean goToNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.hibernate.result.internal.OutputsImpl.currentReturnState:Lorg/hibernate/result/internal/OutputsImpl$CurrentReturnState;
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.result.internal.OutputsImpl.currentReturnState:Lorg/hibernate/result/internal/OutputsImpl$CurrentReturnState;
invokevirtual org.hibernate.result.internal.OutputsImpl$CurrentReturnState.indicatesMoreOutputs:()Z
ifeq 8
3: aload 0
getfield org.hibernate.result.internal.OutputsImpl.jdbcStatement:Ljava/sql/PreparedStatement;
invokeinterface java.sql.PreparedStatement.getMoreResults:()Z
istore 1
start local 1 4: aload 0
aload 0
iload 1
invokevirtual org.hibernate.result.internal.OutputsImpl.buildCurrentReturnState:(Z)Lorg/hibernate/result/internal/OutputsImpl$CurrentReturnState;
putfield org.hibernate.result.internal.OutputsImpl.currentReturnState:Lorg/hibernate/result/internal/OutputsImpl$CurrentReturnState;
end local 1 5: goto 8
6: StackMap locals:
StackMap stack: java.sql.SQLException
astore 1
start local 1 7: aload 0
aload 1
ldc "Error calling CallableStatement.getMoreResults"
invokevirtual org.hibernate.result.internal.OutputsImpl.convert:(Ljava/sql/SQLException;Ljava/lang/String;)Lorg/hibernate/JDBCException;
athrow
end local 1 8: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.result.internal.OutputsImpl.currentReturnState:Lorg/hibernate/result/internal/OutputsImpl$CurrentReturnState;
ifnull 9
aload 0
getfield org.hibernate.result.internal.OutputsImpl.currentReturnState:Lorg/hibernate/result/internal/OutputsImpl$CurrentReturnState;
invokevirtual org.hibernate.result.internal.OutputsImpl$CurrentReturnState.indicatesMoreOutputs:()Z
ifeq 9
iconst_1
ireturn
StackMap locals:
StackMap stack:
9: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/hibernate/result/internal/OutputsImpl;
4 5 1 isResultSet Z
7 8 1 e Ljava/sql/SQLException;
Exception table:
from to target type
3 5 6 Class java.sql.SQLException
public void release();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.hibernate.result.internal.OutputsImpl.jdbcStatement:Ljava/sql/PreparedStatement;
invokeinterface java.sql.PreparedStatement.close:()V
1: goto 4
2: StackMap locals:
StackMap stack: java.sql.SQLException
astore 1
start local 1 3: getstatic org.hibernate.result.internal.OutputsImpl.log:Lorg/jboss/logging/Logger;
ldc "Unable to close PreparedStatement"
aload 1
invokevirtual org.jboss.logging.Logger.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/result/internal/OutputsImpl;
3 4 1 e Ljava/sql/SQLException;
Exception table:
from to target type
0 1 2 Class java.sql.SQLException
private java.util.List ();
descriptor: ()Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
aload 0
getfield org.hibernate.result.internal.OutputsImpl.jdbcStatement:Ljava/sql/PreparedStatement;
invokeinterface java.sql.PreparedStatement.getResultSet:()Ljava/sql/ResultSet;
invokevirtual org.hibernate.result.internal.OutputsImpl.extractResults:(Ljava/sql/ResultSet;)Ljava/util/List;
1: areturn
2: StackMap locals:
StackMap stack: java.sql.SQLException
astore 1
start local 1 3: aload 0
aload 1
ldc "Error calling CallableStatement.getResultSet"
invokevirtual org.hibernate.result.internal.OutputsImpl.convert:(Ljava/sql/SQLException;Ljava/lang/String;)Lorg/hibernate/JDBCException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/result/internal/OutputsImpl;
3 4 1 e Ljava/sql/SQLException;
Exception table:
from to target type
0 1 2 Class java.sql.SQLException
protected java.util.List (java.sql.ResultSet);
descriptor: (Ljava/sql/ResultSet;)Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.result.internal.OutputsImpl.loader:Lorg/hibernate/result/internal/OutputsImpl$CustomLoaderExtension;
aload 1
invokevirtual org.hibernate.result.internal.OutputsImpl$CustomLoaderExtension.processResultSet:(Ljava/sql/ResultSet;)Ljava/util/List;
1: areturn
2: StackMap locals:
StackMap stack: java.sql.SQLException
astore 2
start local 2 3: aload 0
aload 2
ldc "Error extracting results from CallableStatement"
invokevirtual org.hibernate.result.internal.OutputsImpl.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 4 0 this Lorg/hibernate/result/internal/OutputsImpl;
0 4 1 resultSet Ljava/sql/ResultSet;
3 4 2 e Ljava/sql/SQLException;
Exception table:
from to target type
0 1 2 Class java.sql.SQLException
MethodParameters:
Name Flags
resultSet
private static org.hibernate.result.internal.OutputsImpl$CustomLoaderExtension buildSpecializedCustomLoader(org.hibernate.result.spi.ResultContext);
descriptor: (Lorg/hibernate/result/spi/ResultContext;)Lorg/hibernate/result/internal/OutputsImpl$CustomLoaderExtension;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: new org.hibernate.loader.custom.sql.SQLQueryReturnProcessor
dup
1: aload 0
invokeinterface org.hibernate.result.spi.ResultContext.getQueryReturns:()[Lorg/hibernate/engine/query/spi/sql/NativeSQLQueryReturn;
2: aload 0
invokeinterface org.hibernate.result.spi.ResultContext.getSession:()Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
3: invokespecial org.hibernate.loader.custom.sql.SQLQueryReturnProcessor.<init>:([Lorg/hibernate/engine/query/spi/sql/NativeSQLQueryReturn;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)V
astore 1
start local 1 4: aload 1
invokevirtual org.hibernate.loader.custom.sql.SQLQueryReturnProcessor.process:()Lorg/hibernate/loader/custom/sql/SQLQueryReturnProcessor$ResultAliasContext;
pop
5: aload 1
invokevirtual org.hibernate.loader.custom.sql.SQLQueryReturnProcessor.generateCallableReturns:()Ljava/util/List;
astore 2
start local 2 6: new org.hibernate.result.internal.OutputsImpl$1
dup
aload 0
aload 2
invokespecial org.hibernate.result.internal.OutputsImpl$1.<init>:(Lorg/hibernate/result/spi/ResultContext;Ljava/util/List;)V
astore 3
start local 3 7: new org.hibernate.result.internal.OutputsImpl$CustomLoaderExtension
dup
8: aload 3
9: aload 0
invokeinterface org.hibernate.result.spi.ResultContext.getQueryParameters:()Lorg/hibernate/engine/spi/QueryParameters;
10: aload 0
invokeinterface org.hibernate.result.spi.ResultContext.getSession:()Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
11: invokespecial org.hibernate.result.internal.OutputsImpl$CustomLoaderExtension.<init>:(Lorg/hibernate/loader/custom/CustomQuery;Lorg/hibernate/engine/spi/QueryParameters;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 context Lorg/hibernate/result/spi/ResultContext;
4 12 1 processor Lorg/hibernate/loader/custom/sql/SQLQueryReturnProcessor;
6 12 2 customReturns Ljava/util/List<Lorg/hibernate/loader/custom/Return;>;
7 12 3 customQuery Lorg/hibernate/loader/custom/CustomQuery;
MethodParameters:
Name Flags
context final
}
SourceFile: "OutputsImpl.java"
NestMembers:
org.hibernate.result.internal.OutputsImpl$1 org.hibernate.result.internal.OutputsImpl$CurrentReturnState org.hibernate.result.internal.OutputsImpl$CustomLoaderExtension
InnerClasses:
public ResultAliasContext = org.hibernate.loader.custom.sql.SQLQueryReturnProcessor$ResultAliasContext of org.hibernate.loader.custom.sql.SQLQueryReturnProcessor
org.hibernate.result.internal.OutputsImpl$1
protected CurrentReturnState = org.hibernate.result.internal.OutputsImpl$CurrentReturnState of org.hibernate.result.internal.OutputsImpl
private CustomLoaderExtension = org.hibernate.result.internal.OutputsImpl$CustomLoaderExtension of org.hibernate.result.internal.OutputsImpl