public class org.hibernate.sql.ForUpdateFragment
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.sql.ForUpdateFragment
super_class: java.lang.Object
{
private final java.lang.StringBuilder aliases;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean isNowaitEnabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean isSkipLockedEnabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final org.hibernate.dialect.Dialect dialect;
descriptor: Lorg/hibernate/dialect/Dialect;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.hibernate.LockMode lockMode;
descriptor: Lorg/hibernate/LockMode;
flags: (0x0002) ACC_PRIVATE
private org.hibernate.LockOptions lockOptions;
descriptor: Lorg/hibernate/LockOptions;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.hibernate.dialect.Dialect);
descriptor: (Lorg/hibernate/dialect/Dialect;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield org.hibernate.sql.ForUpdateFragment.aliases:Ljava/lang/StringBuilder;
2: aload 0
aload 1
putfield org.hibernate.sql.ForUpdateFragment.dialect:Lorg/hibernate/dialect/Dialect;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/sql/ForUpdateFragment;
0 4 1 dialect Lorg/hibernate/dialect/Dialect;
MethodParameters:
Name Flags
dialect
public void <init>(org.hibernate.dialect.Dialect, org.hibernate.LockOptions, java.util.Map<java.lang.String, java.lang.String[]>);
descriptor: (Lorg/hibernate/dialect/Dialect;Lorg/hibernate/LockOptions;Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=14, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial org.hibernate.sql.ForUpdateFragment.<init>:(Lorg/hibernate/dialect/Dialect;)V
1: aconst_null
astore 4
start local 4 2: aload 2
invokevirtual org.hibernate.LockOptions.getAliasLockIterator:()Ljava/util/Iterator;
astore 5
start local 5 3: aload 0
aload 2
putfield org.hibernate.sql.ForUpdateFragment.lockOptions:Lorg/hibernate/LockOptions;
4: aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 29
5: aload 2
invokevirtual org.hibernate.LockOptions.getLockMode:()Lorg/hibernate/LockMode;
astore 6
start local 6 6: getstatic org.hibernate.LockMode.READ:Lorg/hibernate/LockMode;
aload 6
invokevirtual org.hibernate.LockMode.lessThan:(Lorg/hibernate/LockMode;)Z
ifeq 29
7: aload 6
astore 4
8: aload 0
aload 6
putfield org.hibernate.sql.ForUpdateFragment.lockMode:Lorg/hibernate/LockMode;
end local 6 9: goto 29
10: StackMap locals: org.hibernate.sql.ForUpdateFragment org.hibernate.dialect.Dialect org.hibernate.LockOptions java.util.Map org.hibernate.LockMode java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 6
start local 6 11: aload 6
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.hibernate.LockMode
astore 7
start local 7 12: getstatic org.hibernate.LockMode.READ:Lorg/hibernate/LockMode;
aload 7
invokevirtual org.hibernate.LockMode.lessThan:(Lorg/hibernate/LockMode;)Z
ifeq 29
13: aload 6
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 14: aload 1
invokevirtual org.hibernate.dialect.Dialect.forUpdateOfColumns:()Z
ifeq 25
15: aload 3
aload 8
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String[]
astore 9
start local 9 16: aload 9
ifnonnull 18
17: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "alias not found: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals: org.hibernate.sql.ForUpdateFragment org.hibernate.dialect.Dialect org.hibernate.LockOptions java.util.Map org.hibernate.LockMode java.util.Iterator java.util.Map$Entry org.hibernate.LockMode java.lang.String java.lang.String[]
StackMap stack:
aload 8
aload 9
invokestatic org.hibernate.internal.util.StringHelper.qualify:(Ljava/lang/String;[Ljava/lang/String;)[Ljava/lang/String;
astore 9
19: aload 9
dup
astore 13
arraylength
istore 12
iconst_0
istore 11
goto 23
StackMap locals: org.hibernate.sql.ForUpdateFragment org.hibernate.dialect.Dialect org.hibernate.LockOptions java.util.Map org.hibernate.LockMode java.util.Iterator java.util.Map$Entry org.hibernate.LockMode java.lang.String java.lang.String[] top int int java.lang.String[]
StackMap stack:
20: aload 13
iload 11
aaload
astore 10
start local 10 21: aload 0
aload 10
invokevirtual org.hibernate.sql.ForUpdateFragment.addTableAlias:(Ljava/lang/String;)Lorg/hibernate/sql/ForUpdateFragment;
pop
end local 10 22: iinc 11 1
StackMap locals:
StackMap stack:
23: iload 11
iload 12
if_icmplt 20
end local 9 24: goto 26
25: StackMap locals: org.hibernate.sql.ForUpdateFragment org.hibernate.dialect.Dialect org.hibernate.LockOptions java.util.Map org.hibernate.LockMode java.util.Iterator java.util.Map$Entry org.hibernate.LockMode java.lang.String
StackMap stack:
aload 0
aload 8
invokevirtual org.hibernate.sql.ForUpdateFragment.addTableAlias:(Ljava/lang/String;)Lorg/hibernate/sql/ForUpdateFragment;
pop
26: StackMap locals:
StackMap stack:
aload 4
ifnull 28
aload 7
aload 4
if_acmpeq 28
27: new org.hibernate.QueryException
dup
ldc "mixed LockModes"
invokespecial org.hibernate.QueryException.<init>:(Ljava/lang/String;)V
athrow
28: StackMap locals:
StackMap stack:
aload 7
astore 4
end local 8 end local 7 end local 6 29: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
30: aload 4
getstatic org.hibernate.LockMode.UPGRADE_NOWAIT:Lorg/hibernate/LockMode;
if_acmpne 32
31: aload 0
iconst_1
invokevirtual org.hibernate.sql.ForUpdateFragment.setNowaitEnabled:(Z)Lorg/hibernate/sql/ForUpdateFragment;
pop
32: StackMap locals:
StackMap stack:
aload 4
getstatic org.hibernate.LockMode.UPGRADE_SKIPLOCKED:Lorg/hibernate/LockMode;
if_acmpne 34
33: aload 0
iconst_1
invokevirtual org.hibernate.sql.ForUpdateFragment.setSkipLockedEnabled:(Z)Lorg/hibernate/sql/ForUpdateFragment;
pop
34: StackMap locals:
StackMap stack:
return
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 35 0 this Lorg/hibernate/sql/ForUpdateFragment;
0 35 1 dialect Lorg/hibernate/dialect/Dialect;
0 35 2 lockOptions Lorg/hibernate/LockOptions;
0 35 3 keyColumnNames Ljava/util/Map<Ljava/lang/String;[Ljava/lang/String;>;
2 35 4 upgradeType Lorg/hibernate/LockMode;
3 35 5 iter Ljava/util/Iterator;
6 9 6 lockMode Lorg/hibernate/LockMode;
11 29 6 me Ljava/util/Map$Entry;
12 29 7 lockMode Lorg/hibernate/LockMode;
14 29 8 tableAlias Ljava/lang/String;
16 24 9 keyColumns [Ljava/lang/String;
21 22 10 keyColumn Ljava/lang/String;
Exceptions:
throws org.hibernate.QueryException
Signature: (Lorg/hibernate/dialect/Dialect;Lorg/hibernate/LockOptions;Ljava/util/Map<Ljava/lang/String;[Ljava/lang/String;>;)V
MethodParameters:
Name Flags
dialect
lockOptions
keyColumnNames
public org.hibernate.sql.ForUpdateFragment addTableAlias(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/sql/ForUpdateFragment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.sql.ForUpdateFragment.aliases:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
ifle 2
1: aload 0
getfield org.hibernate.sql.ForUpdateFragment.aliases:Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.sql.ForUpdateFragment.aliases:Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/sql/ForUpdateFragment;
0 4 1 alias Ljava/lang/String;
MethodParameters:
Name Flags
alias
public java.lang.String toFragmentString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.sql.ForUpdateFragment.lockOptions:Lorg/hibernate/LockOptions;
ifnull 2
1: aload 0
getfield org.hibernate.sql.ForUpdateFragment.dialect:Lorg/hibernate/dialect/Dialect;
aload 0
getfield org.hibernate.sql.ForUpdateFragment.aliases:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
getfield org.hibernate.sql.ForUpdateFragment.lockOptions:Lorg/hibernate/LockOptions;
invokevirtual org.hibernate.dialect.Dialect.getForUpdateString:(Ljava/lang/String;Lorg/hibernate/LockOptions;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.sql.ForUpdateFragment.aliases:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
ifne 6
3: aload 0
getfield org.hibernate.sql.ForUpdateFragment.lockMode:Lorg/hibernate/LockMode;
ifnull 5
4: aload 0
getfield org.hibernate.sql.ForUpdateFragment.dialect:Lorg/hibernate/dialect/Dialect;
aload 0
getfield org.hibernate.sql.ForUpdateFragment.lockMode:Lorg/hibernate/LockMode;
invokevirtual org.hibernate.dialect.Dialect.getForUpdateString:(Lorg/hibernate/LockMode;)Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
ldc ""
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.sql.ForUpdateFragment.isNowaitEnabled:Z
ifeq 8
7: aload 0
getfield org.hibernate.sql.ForUpdateFragment.dialect:Lorg/hibernate/dialect/Dialect;
aload 0
getfield org.hibernate.sql.ForUpdateFragment.aliases:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.hibernate.dialect.Dialect.getForUpdateNowaitString:(Ljava/lang/String;)Ljava/lang/String;
areturn
8: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.sql.ForUpdateFragment.isSkipLockedEnabled:Z
ifeq 10
9: aload 0
getfield org.hibernate.sql.ForUpdateFragment.dialect:Lorg/hibernate/dialect/Dialect;
aload 0
getfield org.hibernate.sql.ForUpdateFragment.aliases:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.hibernate.dialect.Dialect.getForUpdateSkipLockedString:(Ljava/lang/String;)Ljava/lang/String;
areturn
10: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.sql.ForUpdateFragment.dialect:Lorg/hibernate/dialect/Dialect;
aload 0
getfield org.hibernate.sql.ForUpdateFragment.aliases:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.hibernate.dialect.Dialect.getForUpdateString:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/hibernate/sql/ForUpdateFragment;
public org.hibernate.sql.ForUpdateFragment setNowaitEnabled(boolean);
descriptor: (Z)Lorg/hibernate/sql/ForUpdateFragment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.hibernate.sql.ForUpdateFragment.isNowaitEnabled:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/sql/ForUpdateFragment;
0 2 1 nowait Z
MethodParameters:
Name Flags
nowait
public org.hibernate.sql.ForUpdateFragment setSkipLockedEnabled(boolean);
descriptor: (Z)Lorg/hibernate/sql/ForUpdateFragment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.hibernate.sql.ForUpdateFragment.isSkipLockedEnabled:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/sql/ForUpdateFragment;
0 2 1 skipLocked Z
MethodParameters:
Name Flags
skipLocked
}
SourceFile: "ForUpdateFragment.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map