public class org.hibernate.engine.jdbc.BlobProxy implements java.lang.reflect.InvocationHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.engine.jdbc.BlobProxy
super_class: java.lang.Object
{
private static final java.lang.Class[] PROXY_INTERFACES;
descriptor: [Ljava/lang/Class;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private org.hibernate.engine.jdbc.BinaryStream binaryStream;
descriptor: Lorg/hibernate/engine/jdbc/BinaryStream;
flags: (0x0002) ACC_PRIVATE
private boolean needsReset;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/sql/Blob;
aastore
dup
iconst_1
ldc Lorg/hibernate/engine/jdbc/BlobImplementer;
aastore
putstatic org.hibernate.engine.jdbc.BlobProxy.PROXY_INTERFACES:[Ljava/lang/Class;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(byte[]);
descriptor: ([B)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.hibernate.engine.jdbc.internal.BinaryStreamImpl
dup
aload 1
invokespecial org.hibernate.engine.jdbc.internal.BinaryStreamImpl.<init>:([B)V
putfield org.hibernate.engine.jdbc.BlobProxy.binaryStream:Lorg/hibernate/engine/jdbc/BinaryStream;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/engine/jdbc/BlobProxy;
0 3 1 bytes [B
MethodParameters:
Name Flags
bytes
private void <init>(java.io.InputStream, long);
descriptor: (Ljava/io/InputStream;J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, 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
new org.hibernate.engine.jdbc.BlobProxy$StreamBackedBinaryStream
dup
aload 1
lload 2
invokespecial org.hibernate.engine.jdbc.BlobProxy$StreamBackedBinaryStream.<init>:(Ljava/io/InputStream;J)V
putfield org.hibernate.engine.jdbc.BlobProxy.binaryStream:Lorg/hibernate/engine/jdbc/BinaryStream;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/engine/jdbc/BlobProxy;
0 3 1 stream Ljava/io/InputStream;
0 3 2 length J
MethodParameters:
Name Flags
stream
length
private long getLength();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.engine.jdbc.BlobProxy.binaryStream:Lorg/hibernate/engine/jdbc/BinaryStream;
invokeinterface org.hibernate.engine.jdbc.BinaryStream.getLength:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/engine/jdbc/BlobProxy;
private java.io.InputStream getStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.engine.jdbc.BlobProxy.getUnderlyingStream:()Lorg/hibernate/engine/jdbc/BinaryStream;
invokeinterface org.hibernate.engine.jdbc.BinaryStream.getInputStream:()Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/engine/jdbc/BlobProxy;
Exceptions:
throws java.sql.SQLException
private org.hibernate.engine.jdbc.BinaryStream getUnderlyingStream();
descriptor: ()Lorg/hibernate/engine/jdbc/BinaryStream;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.engine.jdbc.BlobProxy.resetIfNeeded:()V
1: aload 0
getfield org.hibernate.engine.jdbc.BlobProxy.binaryStream:Lorg/hibernate/engine/jdbc/BinaryStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/engine/jdbc/BlobProxy;
Exceptions:
throws java.sql.SQLException
private void resetIfNeeded();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.engine.jdbc.BlobProxy.needsReset:Z
ifeq 5
1: aload 0
getfield org.hibernate.engine.jdbc.BlobProxy.binaryStream:Lorg/hibernate/engine/jdbc/BinaryStream;
invokeinterface org.hibernate.engine.jdbc.BinaryStream.getInputStream:()Ljava/io/InputStream;
invokevirtual java.io.InputStream.reset:()V
2: goto 5
3: StackMap locals:
StackMap stack: java.io.IOException
pop
4: new java.sql.SQLException
dup
ldc "could not reset reader"
invokespecial java.sql.SQLException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.hibernate.engine.jdbc.BlobProxy.needsReset:Z
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/engine/jdbc/BlobProxy;
Exception table:
from to target type
0 2 3 Class java.io.IOException
Exceptions:
throws java.sql.SQLException
public java.lang.Object invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]);
descriptor: (Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
astore 4
start local 4 1: aload 2
invokevirtual java.lang.reflect.Method.getParameterCount:()I
istore 5
start local 5 2: ldc "length"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
iload 5
ifne 4
3: aload 0
invokevirtual org.hibernate.engine.jdbc.BlobProxy.getLength:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
areturn
4: StackMap locals: java.lang.String int
StackMap stack:
ldc "getUnderlyingStream"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: aload 0
invokevirtual org.hibernate.engine.jdbc.BlobProxy.getUnderlyingStream:()Lorg/hibernate/engine/jdbc/BinaryStream;
areturn
6: StackMap locals:
StackMap stack:
ldc "getBinaryStream"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
7: iload 5
ifne 9
8: aload 0
invokevirtual org.hibernate.engine.jdbc.BlobProxy.getStream:()Ljava/io/InputStream;
areturn
9: StackMap locals:
StackMap stack:
iload 5
iconst_2
if_icmpne 19
10: aload 3
iconst_0
aaload
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lstore 6
start local 6 11: lload 6
lconst_1
lcmp
ifge 13
12: new java.sql.SQLException
dup
ldc "Start position 1-based; must be 1 or more."
invokespecial java.sql.SQLException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals: long
StackMap stack:
lload 6
aload 0
invokevirtual org.hibernate.engine.jdbc.BlobProxy.getLength:()J
lcmp
ifle 15
14: new java.sql.SQLException
dup
new java.lang.StringBuilder
dup
ldc "Start position ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 6
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "] cannot exceed overall CLOB length ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.hibernate.engine.jdbc.BlobProxy.getLength:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.sql.SQLException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
aload 3
iconst_1
aaload
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 8
start local 8 16: iload 8
ifge 18
17: new java.sql.SQLException
dup
ldc "Length must be great-than-or-equal to zero."
invokespecial java.sql.SQLException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.hibernate.engine.jdbc.BlobProxy.getStream:()Ljava/io/InputStream;
lload 6
lconst_1
lsub
iload 8
invokestatic org.hibernate.type.descriptor.java.DataHelper.subStream:(Ljava/io/InputStream;JI)Ljava/io/InputStream;
areturn
end local 8 end local 6 19: StackMap locals:
StackMap stack:
ldc "getBytes"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
20: iload 5
iconst_2
if_icmpne 28
21: aload 3
iconst_0
aaload
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lstore 6
start local 6 22: lload 6
lconst_1
lcmp
ifge 24
23: new java.sql.SQLException
dup
ldc "Start position 1-based; must be 1 or more."
invokespecial java.sql.SQLException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals: long
StackMap stack:
aload 3
iconst_1
aaload
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 8
start local 8 25: iload 8
ifge 27
26: new java.sql.SQLException
dup
ldc "Length must be great-than-or-equal to zero."
invokespecial java.sql.SQLException.<init>:(Ljava/lang/String;)V
athrow
27: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.hibernate.engine.jdbc.BlobProxy.getStream:()Ljava/io/InputStream;
lload 6
lconst_1
lsub
iload 8
invokestatic org.hibernate.type.descriptor.java.DataHelper.extractBytes:(Ljava/io/InputStream;JI)[B
areturn
end local 8 end local 6 28: StackMap locals:
StackMap stack:
ldc "free"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 31
iload 5
ifne 31
29: aload 0
getfield org.hibernate.engine.jdbc.BlobProxy.binaryStream:Lorg/hibernate/engine/jdbc/BinaryStream;
invokeinterface org.hibernate.engine.jdbc.BinaryStream.release:()V
30: aconst_null
areturn
31: StackMap locals:
StackMap stack:
ldc "toString"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 33
iload 5
ifne 33
32: aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
33: StackMap locals:
StackMap stack:
ldc "equals"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 36
iload 5
iconst_1
if_icmpne 36
34: aload 1
aload 3
iconst_0
aaload
if_acmpne 35
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
StackMap locals:
StackMap stack:
35: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
36: StackMap locals:
StackMap stack:
ldc "hashCode"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 38
iload 5
ifne 38
37: aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
38: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
ldc "Blob may not be manipulated from creating session"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
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 39 0 this Lorg/hibernate/engine/jdbc/BlobProxy;
0 39 1 proxy Ljava/lang/Object;
0 39 2 method Ljava/lang/reflect/Method;
0 39 3 args [Ljava/lang/Object;
1 39 4 methodName Ljava/lang/String;
2 39 5 argCount I
11 19 6 start J
16 19 8 length I
22 28 6 start J
25 28 8 length I
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
proxy
method
args
public static java.sql.Blob generateProxy(byte[]);
descriptor: ([B)Ljava/sql/Blob;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: invokestatic org.hibernate.engine.jdbc.BlobProxy.getProxyClassLoader:()Ljava/lang/ClassLoader;
getstatic org.hibernate.engine.jdbc.BlobProxy.PROXY_INTERFACES:[Ljava/lang/Class;
new org.hibernate.engine.jdbc.BlobProxy
dup
aload 0
invokespecial org.hibernate.engine.jdbc.BlobProxy.<init>:([B)V
invokestatic java.lang.reflect.Proxy.newProxyInstance:(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
checkcast java.sql.Blob
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bytes [B
MethodParameters:
Name Flags
bytes
public static java.sql.Blob generateProxy(java.io.InputStream, long);
descriptor: (Ljava/io/InputStream;J)Ljava/sql/Blob;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: invokestatic org.hibernate.engine.jdbc.BlobProxy.getProxyClassLoader:()Ljava/lang/ClassLoader;
getstatic org.hibernate.engine.jdbc.BlobProxy.PROXY_INTERFACES:[Ljava/lang/Class;
new org.hibernate.engine.jdbc.BlobProxy
dup
aload 0
lload 1
invokespecial org.hibernate.engine.jdbc.BlobProxy.<init>:(Ljava/io/InputStream;J)V
invokestatic java.lang.reflect.Proxy.newProxyInstance:(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
checkcast java.sql.Blob
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 stream Ljava/io/InputStream;
0 1 1 length J
MethodParameters:
Name Flags
stream
length
private static java.lang.ClassLoader getProxyClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/hibernate/engine/jdbc/BlobImplementer;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "BlobProxy.java"
NestMembers:
org.hibernate.engine.jdbc.BlobProxy$StreamBackedBinaryStream
InnerClasses:
private StreamBackedBinaryStream = org.hibernate.engine.jdbc.BlobProxy$StreamBackedBinaryStream of org.hibernate.engine.jdbc.BlobProxy