public class org.hibernate.engine.jdbc.ContextualLobCreator extends org.hibernate.engine.jdbc.AbstractLobCreator implements org.hibernate.engine.jdbc.LobCreator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.engine.jdbc.ContextualLobCreator
super_class: org.hibernate.engine.jdbc.AbstractLobCreator
{
private org.hibernate.engine.jdbc.LobCreationContext lobCreationContext;
descriptor: Lorg/hibernate/engine/jdbc/LobCreationContext;
flags: (0x0002) ACC_PRIVATE
public static final org.hibernate.engine.jdbc.LobCreationContext$Callback<java.sql.Blob> CREATE_BLOB_CALLBACK;
descriptor: Lorg/hibernate/engine/jdbc/LobCreationContext$Callback;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/hibernate/engine/jdbc/LobCreationContext$Callback<Ljava/sql/Blob;>;
public static final org.hibernate.engine.jdbc.LobCreationContext$Callback<java.sql.Clob> CREATE_CLOB_CALLBACK;
descriptor: Lorg/hibernate/engine/jdbc/LobCreationContext$Callback;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/hibernate/engine/jdbc/LobCreationContext$Callback<Ljava/sql/Clob;>;
public static final org.hibernate.engine.jdbc.LobCreationContext$Callback<java.sql.NClob> CREATE_NCLOB_CALLBACK;
descriptor: Lorg/hibernate/engine/jdbc/LobCreationContext$Callback;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/hibernate/engine/jdbc/LobCreationContext$Callback<Ljava/sql/NClob;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.hibernate.engine.jdbc.ContextualLobCreator$1
dup
invokespecial org.hibernate.engine.jdbc.ContextualLobCreator$1.<init>:()V
putstatic org.hibernate.engine.jdbc.ContextualLobCreator.CREATE_BLOB_CALLBACK:Lorg/hibernate/engine/jdbc/LobCreationContext$Callback;
1: new org.hibernate.engine.jdbc.ContextualLobCreator$2
dup
invokespecial org.hibernate.engine.jdbc.ContextualLobCreator$2.<init>:()V
putstatic org.hibernate.engine.jdbc.ContextualLobCreator.CREATE_CLOB_CALLBACK:Lorg/hibernate/engine/jdbc/LobCreationContext$Callback;
2: new org.hibernate.engine.jdbc.ContextualLobCreator$3
dup
invokespecial org.hibernate.engine.jdbc.ContextualLobCreator$3.<init>:()V
putstatic org.hibernate.engine.jdbc.ContextualLobCreator.CREATE_NCLOB_CALLBACK:Lorg/hibernate/engine/jdbc/LobCreationContext$Callback;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.hibernate.engine.jdbc.LobCreationContext);
descriptor: (Lorg/hibernate/engine/jdbc/LobCreationContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.hibernate.engine.jdbc.AbstractLobCreator.<init>:()V
1: aload 0
aload 1
putfield org.hibernate.engine.jdbc.ContextualLobCreator.lobCreationContext:Lorg/hibernate/engine/jdbc/LobCreationContext;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/engine/jdbc/ContextualLobCreator;
0 3 1 lobCreationContext Lorg/hibernate/engine/jdbc/LobCreationContext;
MethodParameters:
Name Flags
lobCreationContext
public java.sql.Blob createBlob();
descriptor: ()Ljava/sql/Blob;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.engine.jdbc.ContextualLobCreator.lobCreationContext:Lorg/hibernate/engine/jdbc/LobCreationContext;
getstatic org.hibernate.engine.jdbc.ContextualLobCreator.CREATE_BLOB_CALLBACK:Lorg/hibernate/engine/jdbc/LobCreationContext$Callback;
invokeinterface org.hibernate.engine.jdbc.LobCreationContext.execute:(Lorg/hibernate/engine/jdbc/LobCreationContext$Callback;)Ljava/lang/Object;
checkcast java.sql.Blob
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/engine/jdbc/ContextualLobCreator;
public java.sql.Blob createBlob(byte[]);
descriptor: ([B)Ljava/sql/Blob;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.hibernate.engine.jdbc.ContextualLobCreator.createBlob:()Ljava/sql/Blob;
astore 2
start local 2 1: aload 2
lconst_1
aload 1
invokeinterface java.sql.Blob.setBytes:(J[B)I
pop
2: aload 2
3: areturn
end local 2 4: StackMap locals:
StackMap stack: java.sql.SQLException
astore 2
start local 2 5: new org.hibernate.JDBCException
dup
ldc "Unable to set BLOB bytes after creation"
aload 2
invokespecial org.hibernate.JDBCException.<init>:(Ljava/lang/String;Ljava/sql/SQLException;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/engine/jdbc/ContextualLobCreator;
0 6 1 bytes [B
1 4 2 blob Ljava/sql/Blob;
5 6 2 e Ljava/sql/SQLException;
Exception table:
from to target type
0 3 4 Class java.sql.SQLException
MethodParameters:
Name Flags
bytes
public java.sql.Blob createBlob(java.io.InputStream, long);
descriptor: (Ljava/io/InputStream;J)Ljava/sql/Blob;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.hibernate.engine.jdbc.NonContextualLobCreator.INSTANCE:Lorg/hibernate/engine/jdbc/NonContextualLobCreator;
aload 1
lload 2
invokevirtual org.hibernate.engine.jdbc.NonContextualLobCreator.createBlob:(Ljava/io/InputStream;J)Ljava/sql/Blob;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/engine/jdbc/ContextualLobCreator;
0 1 1 inputStream Ljava/io/InputStream;
0 1 2 length J
MethodParameters:
Name Flags
inputStream
length
public java.sql.Clob createClob();
descriptor: ()Ljava/sql/Clob;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.engine.jdbc.ContextualLobCreator.lobCreationContext:Lorg/hibernate/engine/jdbc/LobCreationContext;
getstatic org.hibernate.engine.jdbc.ContextualLobCreator.CREATE_CLOB_CALLBACK:Lorg/hibernate/engine/jdbc/LobCreationContext$Callback;
invokeinterface org.hibernate.engine.jdbc.LobCreationContext.execute:(Lorg/hibernate/engine/jdbc/LobCreationContext$Callback;)Ljava/lang/Object;
checkcast java.sql.Clob
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/engine/jdbc/ContextualLobCreator;
public java.sql.Clob createClob(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/sql/Clob;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.hibernate.engine.jdbc.ContextualLobCreator.createClob:()Ljava/sql/Clob;
astore 2
start local 2 1: aload 2
lconst_1
aload 1
invokeinterface java.sql.Clob.setString:(JLjava/lang/String;)I
pop
2: aload 2
3: areturn
end local 2 4: StackMap locals:
StackMap stack: java.sql.SQLException
astore 2
start local 2 5: new org.hibernate.JDBCException
dup
ldc "Unable to set CLOB string after creation"
aload 2
invokespecial org.hibernate.JDBCException.<init>:(Ljava/lang/String;Ljava/sql/SQLException;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/engine/jdbc/ContextualLobCreator;
0 6 1 string Ljava/lang/String;
1 4 2 clob Ljava/sql/Clob;
5 6 2 e Ljava/sql/SQLException;
Exception table:
from to target type
0 3 4 Class java.sql.SQLException
MethodParameters:
Name Flags
string
public java.sql.Clob createClob(java.io.Reader, long);
descriptor: (Ljava/io/Reader;J)Ljava/sql/Clob;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.hibernate.engine.jdbc.NonContextualLobCreator.INSTANCE:Lorg/hibernate/engine/jdbc/NonContextualLobCreator;
aload 1
lload 2
invokevirtual org.hibernate.engine.jdbc.NonContextualLobCreator.createClob:(Ljava/io/Reader;J)Ljava/sql/Clob;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/engine/jdbc/ContextualLobCreator;
0 1 1 reader Ljava/io/Reader;
0 1 2 length J
MethodParameters:
Name Flags
reader
length
public java.sql.NClob createNClob();
descriptor: ()Ljava/sql/NClob;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.engine.jdbc.ContextualLobCreator.lobCreationContext:Lorg/hibernate/engine/jdbc/LobCreationContext;
getstatic org.hibernate.engine.jdbc.ContextualLobCreator.CREATE_NCLOB_CALLBACK:Lorg/hibernate/engine/jdbc/LobCreationContext$Callback;
invokeinterface org.hibernate.engine.jdbc.LobCreationContext.execute:(Lorg/hibernate/engine/jdbc/LobCreationContext$Callback;)Ljava/lang/Object;
checkcast java.sql.NClob
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/engine/jdbc/ContextualLobCreator;
public java.sql.NClob createNClob(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/sql/NClob;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.hibernate.engine.jdbc.ContextualLobCreator.createNClob:()Ljava/sql/NClob;
astore 2
start local 2 1: aload 2
lconst_1
aload 1
invokeinterface java.sql.NClob.setString:(JLjava/lang/String;)I
pop
2: aload 2
3: areturn
end local 2 4: StackMap locals:
StackMap stack: java.sql.SQLException
astore 2
start local 2 5: new org.hibernate.JDBCException
dup
ldc "Unable to set NCLOB string after creation"
aload 2
invokespecial org.hibernate.JDBCException.<init>:(Ljava/lang/String;Ljava/sql/SQLException;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/engine/jdbc/ContextualLobCreator;
0 6 1 string Ljava/lang/String;
1 4 2 nclob Ljava/sql/NClob;
5 6 2 e Ljava/sql/SQLException;
Exception table:
from to target type
0 3 4 Class java.sql.SQLException
MethodParameters:
Name Flags
string
public java.sql.NClob createNClob(java.io.Reader, long);
descriptor: (Ljava/io/Reader;J)Ljava/sql/NClob;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.hibernate.engine.jdbc.NonContextualLobCreator.INSTANCE:Lorg/hibernate/engine/jdbc/NonContextualLobCreator;
aload 1
lload 2
invokevirtual org.hibernate.engine.jdbc.NonContextualLobCreator.createNClob:(Ljava/io/Reader;J)Ljava/sql/NClob;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/engine/jdbc/ContextualLobCreator;
0 1 1 reader Ljava/io/Reader;
0 1 2 length J
MethodParameters:
Name Flags
reader
length
}
SourceFile: "ContextualLobCreator.java"
NestMembers:
org.hibernate.engine.jdbc.ContextualLobCreator$1 org.hibernate.engine.jdbc.ContextualLobCreator$2 org.hibernate.engine.jdbc.ContextualLobCreator$3
InnerClasses:
org.hibernate.engine.jdbc.ContextualLobCreator$1
org.hibernate.engine.jdbc.ContextualLobCreator$2
org.hibernate.engine.jdbc.ContextualLobCreator$3
public abstract Callback = org.hibernate.engine.jdbc.LobCreationContext$Callback of org.hibernate.engine.jdbc.LobCreationContext