public abstract class io.ebeaninternal.server.core.PersistRequest extends io.ebeaninternal.server.core.BeanRequest implements io.ebeaninternal.server.persist.BatchPostExecute, io.ebeaninternal.api.TxnProfileEventCodes
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.ebeaninternal.server.core.PersistRequest
super_class: io.ebeaninternal.server.core.BeanRequest
{
boolean persistCascade;
descriptor: Z
flags: (0x0000)
protected io.ebeaninternal.server.core.PersistRequest$Type type;
descriptor: Lio/ebeaninternal/server/core/PersistRequest$Type;
flags: (0x0004) ACC_PROTECTED
final io.ebeaninternal.server.persist.PersistExecute persistExecute;
descriptor: Lio/ebeaninternal/server/persist/PersistExecute;
flags: (0x0010) ACC_FINAL
protected java.lang.String label;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected long startNanos;
descriptor: J
flags: (0x0004) ACC_PROTECTED
void <init>(io.ebeaninternal.api.SpiEbeanServer, io.ebeaninternal.api.SpiTransaction, io.ebeaninternal.server.persist.PersistExecute);
descriptor: (Lio/ebeaninternal/api/SpiEbeanServer;Lio/ebeaninternal/api/SpiTransaction;Lio/ebeaninternal/server/persist/PersistExecute;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial io.ebeaninternal.server.core.BeanRequest.<init>:(Lio/ebeaninternal/api/SpiEbeanServer;Lio/ebeaninternal/api/SpiTransaction;)V
1: aload 0
aload 3
putfield io.ebeaninternal.server.core.PersistRequest.persistExecute:Lio/ebeaninternal/server/persist/PersistExecute;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/ebeaninternal/server/core/PersistRequest;
0 3 1 server Lio/ebeaninternal/api/SpiEbeanServer;
0 3 2 t Lio/ebeaninternal/api/SpiTransaction;
0 3 3 persistExecute Lio/ebeaninternal/server/persist/PersistExecute;
MethodParameters:
Name Flags
server
t
persistExecute
void <init>(io.ebeaninternal.api.SpiEbeanServer, io.ebeaninternal.api.SpiTransaction, io.ebeaninternal.server.persist.PersistExecute, java.lang.String);
descriptor: (Lio/ebeaninternal/api/SpiEbeanServer;Lio/ebeaninternal/api/SpiTransaction;Lio/ebeaninternal/server/persist/PersistExecute;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
invokespecial io.ebeaninternal.server.core.PersistRequest.<init>:(Lio/ebeaninternal/api/SpiEbeanServer;Lio/ebeaninternal/api/SpiTransaction;Lio/ebeaninternal/server/persist/PersistExecute;)V
1: aload 0
aload 4
putfield io.ebeaninternal.server.core.PersistRequest.label:Ljava/lang/String;
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/ebeaninternal/server/core/PersistRequest;
0 3 1 server Lio/ebeaninternal/api/SpiEbeanServer;
0 3 2 t Lio/ebeaninternal/api/SpiTransaction;
0 3 3 persistExecute Lio/ebeaninternal/server/persist/PersistExecute;
0 3 4 label Ljava/lang/String;
MethodParameters:
Name Flags
server
t
persistExecute
label
public void addTimingBatch(long, int);
descriptor: (JI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=4, args_size=3
start local 0 start local 1 start local 3 0: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/ebeaninternal/server/core/PersistRequest;
0 1 1 startNanos J
0 1 3 size I
MethodParameters:
Name Flags
startNanos
size
public void addTimingNoBatch(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=3, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/ebeaninternal/server/core/PersistRequest;
0 1 1 startNanos J
MethodParameters:
Name Flags
startNanos
public void startBind(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifne 2
aload 0
getfield io.ebeaninternal.server.core.PersistRequest.label:Ljava/lang/String;
ifnull 2
1: aload 0
invokestatic java.lang.System.nanoTime:()J
putfield io.ebeaninternal.server.core.PersistRequest.startNanos:J
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/ebeaninternal/server/core/PersistRequest;
0 3 1 batchThisRequest Z
MethodParameters:
Name Flags
batchThisRequest
public boolean isFlushQueue();
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 Lio/ebeaninternal/server/core/PersistRequest;
public abstract int executeOrQueue();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int executeNow();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
void profileBase(java.lang.String, long, java.lang.String, int);
descriptor: (Ljava/lang/String;JLjava/lang/String;I)V
flags: (0x0000)
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 5 0: aload 0
getfield io.ebeaninternal.server.core.PersistRequest.transaction:Lio/ebeaninternal/api/SpiTransaction;
invokeinterface io.ebeaninternal.api.SpiTransaction.profileStream:()Lio/ebeaninternal/server/transaction/ProfileStream;
aload 1
lload 2
aload 4
iload 5
invokeinterface io.ebeaninternal.server.transaction.ProfileStream.addPersistEvent:(Ljava/lang/String;JLjava/lang/String;I)V
1: return
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/ebeaninternal/server/core/PersistRequest;
0 2 1 event Ljava/lang/String;
0 2 2 offset J
0 2 4 beanName Ljava/lang/String;
0 2 5 beanCount I
MethodParameters:
Name Flags
event
offset
beanName
beanCount
public boolean isLogSql();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.ebeaninternal.server.core.PersistRequest.transaction:Lio/ebeaninternal/api/SpiTransaction;
invokeinterface io.ebeaninternal.api.SpiTransaction.isLogSql:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/ebeaninternal/server/core/PersistRequest;
public boolean isLogSummary();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.ebeaninternal.server.core.PersistRequest.transaction:Lio/ebeaninternal/api/SpiTransaction;
invokeinterface io.ebeaninternal.api.SpiTransaction.isLogSummary:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/ebeaninternal/server/core/PersistRequest;
public boolean isBatchThisRequest();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.ebeaninternal.server.core.PersistRequest.transaction:Lio/ebeaninternal/api/SpiTransaction;
invokeinterface io.ebeaninternal.api.SpiTransaction.isBatchThisRequest:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/ebeaninternal/server/core/PersistRequest;
public javax.persistence.PersistenceException translateSqlException(java.sql.SQLException);
descriptor: (Ljava/sql/SQLException;)Ljavax/persistence/PersistenceException;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.ebeaninternal.server.core.PersistRequest.transaction:Lio/ebeaninternal/api/SpiTransaction;
aload 1
invokevirtual java.sql.SQLException.getMessage:()Ljava/lang/String;
aload 1
invokeinterface io.ebeaninternal.api.SpiTransaction.translate:(Ljava/lang/String;Ljava/sql/SQLException;)Ljavax/persistence/PersistenceException;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/ebeaninternal/server/core/PersistRequest;
0 1 1 e Ljava/sql/SQLException;
MethodParameters:
Name Flags
e
int executeStatement();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual io.ebeaninternal.server.core.PersistRequest.executeStatement:(Z)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/ebeaninternal/server/core/PersistRequest;
int executeStatement(boolean);
descriptor: (Z)I
flags: (0x0000)
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.ebeaninternal.server.core.PersistRequest.isBatchThisRequest:()Z
istore 2
start local 2 1: aload 0
getfield io.ebeaninternal.server.core.PersistRequest.transaction:Lio/ebeaninternal/api/SpiTransaction;
invokeinterface io.ebeaninternal.api.SpiTransaction.getBatchControl:()Lio/ebeaninternal/server/persist/BatchControl;
astore 4
start local 4 2: aload 4
ifnull 5
3: aload 4
aload 0
iload 2
iload 1
invokevirtual io.ebeaninternal.server.persist.BatchControl.executeStatementOrBatch:(Lio/ebeaninternal/server/core/PersistRequest;ZZ)I
istore 3
start local 3 4: goto 10
end local 3 StackMap locals: io.ebeaninternal.server.core.PersistRequest int int top io.ebeaninternal.server.persist.BatchControl
StackMap stack:
5: iload 2
ifeq 9
6: aload 0
getfield io.ebeaninternal.server.core.PersistRequest.persistExecute:Lio/ebeaninternal/server/persist/PersistExecute;
aload 0
getfield io.ebeaninternal.server.core.PersistRequest.transaction:Lio/ebeaninternal/api/SpiTransaction;
invokeinterface io.ebeaninternal.server.persist.PersistExecute.createBatchControl:(Lio/ebeaninternal/api/SpiTransaction;)Lio/ebeaninternal/server/persist/BatchControl;
astore 4
7: aload 4
aload 0
iconst_1
iload 1
invokevirtual io.ebeaninternal.server.persist.BatchControl.executeStatementOrBatch:(Lio/ebeaninternal/server/core/PersistRequest;ZZ)I
istore 3
start local 3 8: goto 10
end local 3 9: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.ebeaninternal.server.core.PersistRequest.executeNow:()I
istore 3
start local 3 10: StackMap locals: io.ebeaninternal.server.core.PersistRequest int int int io.ebeaninternal.server.persist.BatchControl
StackMap stack:
iload 3
11: ireturn
end local 4 end local 3 12: StackMap locals: io.ebeaninternal.server.core.PersistRequest int int
StackMap stack: io.ebeaninternal.server.persist.BatchedSqlException
astore 3
start local 3 13: aload 0
getfield io.ebeaninternal.server.core.PersistRequest.transaction:Lio/ebeaninternal/api/SpiTransaction;
aload 3
invokevirtual io.ebeaninternal.server.persist.BatchedSqlException.getMessage:()Ljava/lang/String;
aload 3
invokevirtual io.ebeaninternal.server.persist.BatchedSqlException.getCause:()Ljava/sql/SQLException;
invokeinterface io.ebeaninternal.api.SpiTransaction.translate:(Ljava/lang/String;Ljava/sql/SQLException;)Ljavax/persistence/PersistenceException;
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/ebeaninternal/server/core/PersistRequest;
0 14 1 addBatch Z
1 14 2 batch Z
4 5 3 rows I
8 9 3 rows I
10 12 3 rows I
2 12 4 control Lio/ebeaninternal/server/persist/BatchControl;
13 14 3 e Lio/ebeaninternal/server/persist/BatchedSqlException;
Exception table:
from to target type
1 11 12 Class io.ebeaninternal.server.persist.BatchedSqlException
MethodParameters:
Name Flags
addBatch
public void initTransIfRequired();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.ebeaninternal.server.core.PersistRequest.createImplicitTransIfRequired:()Z
pop
1: aload 0
aload 0
getfield io.ebeaninternal.server.core.PersistRequest.transaction:Lio/ebeaninternal/api/SpiTransaction;
invokeinterface io.ebeaninternal.api.SpiTransaction.isPersistCascade:()Z
putfield io.ebeaninternal.server.core.PersistRequest.persistCascade:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/ebeaninternal/server/core/PersistRequest;
public io.ebeaninternal.server.core.PersistRequest$Type getType();
descriptor: ()Lio/ebeaninternal/server/core/PersistRequest$Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.ebeaninternal.server.core.PersistRequest.type:Lio/ebeaninternal/server/core/PersistRequest$Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/ebeaninternal/server/core/PersistRequest;
public boolean isPersistCascade();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.ebeaninternal.server.core.PersistRequest.persistCascade:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/ebeaninternal/server/core/PersistRequest;
}
SourceFile: "PersistRequest.java"
NestMembers:
io.ebeaninternal.server.core.PersistRequest$Type
InnerClasses:
public final Type = io.ebeaninternal.server.core.PersistRequest$Type of io.ebeaninternal.server.core.PersistRequest