class org.hibernate.loader.custom.JdbcResultMetadata
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.hibernate.loader.custom.JdbcResultMetadata
super_class: java.lang.Object
{
private final org.hibernate.engine.spi.SessionFactoryImplementor factory;
descriptor: Lorg/hibernate/engine/spi/SessionFactoryImplementor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.sql.ResultSet resultSet;
descriptor: Ljava/sql/ResultSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.sql.ResultSetMetaData resultSetMetaData;
descriptor: Ljava/sql/ResultSetMetaData;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.hibernate.engine.spi.SessionFactoryImplementor, java.sql.ResultSet);
descriptor: (Lorg/hibernate/engine/spi/SessionFactoryImplementor;Ljava/sql/ResultSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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.loader.custom.JdbcResultMetadata.factory:Lorg/hibernate/engine/spi/SessionFactoryImplementor;
2: aload 0
aload 2
putfield org.hibernate.loader.custom.JdbcResultMetadata.resultSet:Ljava/sql/ResultSet;
3: aload 0
aload 2
invokeinterface java.sql.ResultSet.getMetaData:()Ljava/sql/ResultSetMetaData;
putfield org.hibernate.loader.custom.JdbcResultMetadata.resultSetMetaData:Ljava/sql/ResultSetMetaData;
4: goto 7
5: StackMap locals: org.hibernate.loader.custom.JdbcResultMetadata org.hibernate.engine.spi.SessionFactoryImplementor java.sql.ResultSet
StackMap stack: java.sql.SQLException
astore 3
start local 3 6: new org.hibernate.HibernateException
dup
ldc "Could not extract result set metadata"
aload 3
invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/hibernate/loader/custom/JdbcResultMetadata;
0 8 1 factory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
0 8 2 resultSet Ljava/sql/ResultSet;
6 7 3 e Ljava/sql/SQLException;
Exception table:
from to target type
1 4 5 Class java.sql.SQLException
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
factory
resultSet
public int getColumnCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.hibernate.loader.custom.JdbcResultMetadata.resultSetMetaData:Ljava/sql/ResultSetMetaData;
invokeinterface java.sql.ResultSetMetaData.getColumnCount:()I
1: ireturn
2: StackMap locals:
StackMap stack: java.sql.SQLException
astore 1
start local 1 3: new org.hibernate.HibernateException
dup
ldc "Could not determine result set column count"
aload 1
invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/loader/custom/JdbcResultMetadata;
3 4 1 e Ljava/sql/SQLException;
Exception table:
from to target type
0 1 2 Class java.sql.SQLException
Exceptions:
throws org.hibernate.HibernateException
public int resolveColumnPosition(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.loader.custom.JdbcResultMetadata.resultSet:Ljava/sql/ResultSet;
aload 1
invokeinterface java.sql.ResultSet.findColumn:(Ljava/lang/String;)I
1: ireturn
2: StackMap locals:
StackMap stack: java.sql.SQLException
astore 2
start local 2 3: new org.hibernate.HibernateException
dup
new java.lang.StringBuilder
dup
ldc "Could not resolve column name in result set ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/loader/custom/JdbcResultMetadata;
0 4 1 columnName Ljava/lang/String;
3 4 2 e Ljava/sql/SQLException;
Exception table:
from to target type
0 1 2 Class java.sql.SQLException
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
columnName
public java.lang.String getColumnName(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.loader.custom.JdbcResultMetadata.factory:Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getDialect:()Lorg/hibernate/dialect/Dialect;
invokevirtual org.hibernate.dialect.Dialect.getColumnAliasExtractor:()Lorg/hibernate/dialect/ColumnAliasExtractor;
aload 0
getfield org.hibernate.loader.custom.JdbcResultMetadata.resultSetMetaData:Ljava/sql/ResultSetMetaData;
iload 1
invokeinterface org.hibernate.dialect.ColumnAliasExtractor.extractColumnAlias:(Ljava/sql/ResultSetMetaData;I)Ljava/lang/String;
1: areturn
2: StackMap locals:
StackMap stack: java.sql.SQLException
astore 2
start local 2 3: new org.hibernate.HibernateException
dup
new java.lang.StringBuilder
dup
ldc "Could not resolve column name ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/loader/custom/JdbcResultMetadata;
0 4 1 position I
3 4 2 e Ljava/sql/SQLException;
Exception table:
from to target type
0 1 2 Class java.sql.SQLException
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
position
public org.hibernate.type.Type getHibernateType(int);
descriptor: (I)Lorg/hibernate/type/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.loader.custom.JdbcResultMetadata.resultSetMetaData:Ljava/sql/ResultSetMetaData;
iload 1
invokeinterface java.sql.ResultSetMetaData.getColumnType:(I)I
istore 2
start local 2 1: aload 0
getfield org.hibernate.loader.custom.JdbcResultMetadata.resultSetMetaData:Ljava/sql/ResultSetMetaData;
iload 1
invokeinterface java.sql.ResultSetMetaData.getScale:(I)I
istore 3
start local 3 2: aload 0
getfield org.hibernate.loader.custom.JdbcResultMetadata.resultSetMetaData:Ljava/sql/ResultSetMetaData;
iload 1
invokeinterface java.sql.ResultSetMetaData.getPrecision:(I)I
istore 4
start local 4 3: iload 4
istore 5
start local 5 4: iload 2
iconst_1
if_icmpne 6
iload 4
ifne 6
5: aload 0
getfield org.hibernate.loader.custom.JdbcResultMetadata.resultSetMetaData:Ljava/sql/ResultSetMetaData;
iload 1
invokeinterface java.sql.ResultSetMetaData.getColumnDisplaySize:(I)I
istore 5
6: StackMap locals: org.hibernate.loader.custom.JdbcResultMetadata int int int int int
StackMap stack:
aload 0
getfield org.hibernate.loader.custom.JdbcResultMetadata.factory:Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getTypeResolver:()Lorg/hibernate/type/TypeResolver;
7: aload 0
getfield org.hibernate.loader.custom.JdbcResultMetadata.factory:Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getDialect:()Lorg/hibernate/dialect/Dialect;
8: iload 2
9: iload 5
10: iload 4
11: iload 3
12: invokevirtual org.hibernate.dialect.Dialect.getHibernateTypeName:(IIII)Ljava/lang/String;
13: invokevirtual org.hibernate.type.TypeResolver.heuristicType:(Ljava/lang/String;)Lorg/hibernate/type/Type;
areturn
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 14 0 this Lorg/hibernate/loader/custom/JdbcResultMetadata;
0 14 1 columnPos I
1 14 2 columnType I
2 14 3 scale I
3 14 4 precision I
4 14 5 length I
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
columnPos
}
SourceFile: "JdbcResultMetadata.java"