public final class org.hibernate.action.internal.EntityIdentityInsertAction extends org.hibernate.action.internal.AbstractEntityInsertAction
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.hibernate.action.internal.EntityIdentityInsertAction
super_class: org.hibernate.action.internal.AbstractEntityInsertAction
{
private final boolean isDelayed;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.hibernate.engine.spi.EntityKey delayedEntityKey;
descriptor: Lorg/hibernate/engine/spi/EntityKey;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.hibernate.engine.spi.EntityKey entityKey;
descriptor: Lorg/hibernate/engine/spi/EntityKey;
flags: (0x0002) ACC_PRIVATE
private java.io.Serializable generatedId;
descriptor: Ljava/io/Serializable;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.Object[], java.lang.Object, org.hibernate.persister.entity.EntityPersister, boolean, org.hibernate.engine.spi.SessionImplementor, boolean);
descriptor: ([Ljava/lang/Object;Ljava/lang/Object;Lorg/hibernate/persister/entity/EntityPersister;ZLorg/hibernate/engine/spi/SessionImplementor;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
1: iload 6
ifeq 2
invokestatic org.hibernate.action.internal.EntityIdentityInsertAction.generateDelayedPostInsertIdentifier:()Lorg/hibernate/action/internal/DelayedPostInsertIdentifier;
goto 3
StackMap locals:
StackMap stack: uninitialized-this
2: aconst_null
3: StackMap locals: uninitialized-this java.lang.Object[] java.lang.Object org.hibernate.persister.entity.EntityPersister int org.hibernate.engine.spi.SessionImplementor int
StackMap stack: uninitialized-this org.hibernate.action.internal.DelayedPostInsertIdentifier
aload 1
4: aload 2
5: iload 4
6: aload 3
7: aload 5
invokespecial org.hibernate.action.internal.AbstractEntityInsertAction.<init>:(Ljava/io/Serializable;[Ljava/lang/Object;Ljava/lang/Object;ZLorg/hibernate/persister/entity/EntityPersister;Lorg/hibernate/engine/spi/SessionImplementor;)V
8: aload 0
iload 6
putfield org.hibernate.action.internal.EntityIdentityInsertAction.isDelayed:Z
9: aload 0
iload 6
ifeq 10
aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.generateDelayedEntityKey:()Lorg/hibernate/engine/spi/EntityKey;
goto 11
StackMap locals: org.hibernate.action.internal.EntityIdentityInsertAction java.lang.Object[] java.lang.Object org.hibernate.persister.entity.EntityPersister int org.hibernate.engine.spi.SessionImplementor int
StackMap stack: org.hibernate.action.internal.EntityIdentityInsertAction
10: aconst_null
StackMap locals: org.hibernate.action.internal.EntityIdentityInsertAction java.lang.Object[] java.lang.Object org.hibernate.persister.entity.EntityPersister int org.hibernate.engine.spi.SessionImplementor int
StackMap stack: org.hibernate.action.internal.EntityIdentityInsertAction org.hibernate.engine.spi.EntityKey
11: putfield org.hibernate.action.internal.EntityIdentityInsertAction.delayedEntityKey:Lorg/hibernate/engine/spi/EntityKey;
12: return
end local 6 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 13 0 this Lorg/hibernate/action/internal/EntityIdentityInsertAction;
0 13 1 state [Ljava/lang/Object;
0 13 2 instance Ljava/lang/Object;
0 13 3 persister Lorg/hibernate/persister/entity/EntityPersister;
0 13 4 isVersionIncrementDisabled Z
0 13 5 session Lorg/hibernate/engine/spi/SessionImplementor;
0 13 6 isDelayed Z
MethodParameters:
Name Flags
state
instance
persister
isVersionIncrementDisabled
session
isDelayed
public void execute();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.nullifyTransientReferencesIfNotAlready:()V
1: aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getPersister:()Lorg/hibernate/persister/entity/EntityPersister;
astore 1
start local 1 2: aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
astore 2
start local 2 3: aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getInstance:()Ljava/lang/Object;
astore 3
start local 3 4: aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.preInsert:()Z
istore 4
start local 4 5: iload 4
ifne 13
6: aload 0
aload 1
aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getState:()[Ljava/lang/Object;
aload 3
aload 2
invokeinterface org.hibernate.persister.entity.EntityPersister.insert:([Ljava/lang/Object;Ljava/lang/Object;Lorg/hibernate/engine/spi/SessionImplementor;)Ljava/io/Serializable;
putfield org.hibernate.action.internal.EntityIdentityInsertAction.generatedId:Ljava/io/Serializable;
7: aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.hasInsertGeneratedProperties:()Z
ifeq 9
8: aload 1
aload 0
getfield org.hibernate.action.internal.EntityIdentityInsertAction.generatedId:Ljava/io/Serializable;
aload 3
aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getState:()[Ljava/lang/Object;
aload 2
invokeinterface org.hibernate.persister.entity.EntityPersister.processInsertGeneratedProperties:(Ljava/io/Serializable;Ljava/lang/Object;[Ljava/lang/Object;Lorg/hibernate/engine/spi/SessionImplementor;)V
9: StackMap locals: org.hibernate.action.internal.EntityIdentityInsertAction org.hibernate.persister.entity.EntityPersister org.hibernate.engine.spi.SessionImplementor java.lang.Object int
StackMap stack:
aload 1
aload 3
aload 0
getfield org.hibernate.action.internal.EntityIdentityInsertAction.generatedId:Ljava/io/Serializable;
aload 2
invokeinterface org.hibernate.persister.entity.EntityPersister.setIdentifier:(Ljava/lang/Object;Ljava/io/Serializable;Lorg/hibernate/engine/spi/SessionImplementor;)V
10: aload 2
invokeinterface org.hibernate.engine.spi.SessionImplementor.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getPersister:()Lorg/hibernate/persister/entity/EntityPersister;
aload 0
getfield org.hibernate.action.internal.EntityIdentityInsertAction.generatedId:Ljava/io/Serializable;
invokeinterface org.hibernate.engine.spi.PersistenceContext.registerInsertedKey:(Lorg/hibernate/persister/entity/EntityPersister;Ljava/io/Serializable;)V
11: aload 0
aload 2
aload 0
getfield org.hibernate.action.internal.EntityIdentityInsertAction.generatedId:Ljava/io/Serializable;
aload 1
invokeinterface org.hibernate.engine.spi.SessionImplementor.generateEntityKey:(Ljava/io/Serializable;Lorg/hibernate/persister/entity/EntityPersister;)Lorg/hibernate/engine/spi/EntityKey;
putfield org.hibernate.action.internal.EntityIdentityInsertAction.entityKey:Lorg/hibernate/engine/spi/EntityKey;
12: aload 2
invokeinterface org.hibernate.engine.spi.SessionImplementor.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 0
getfield org.hibernate.action.internal.EntityIdentityInsertAction.entityKey:Lorg/hibernate/engine/spi/EntityKey;
aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getInstance:()Ljava/lang/Object;
invokeinterface org.hibernate.engine.spi.PersistenceContext.checkUniqueness:(Lorg/hibernate/engine/spi/EntityKey;Ljava/lang/Object;)V
13: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.postInsert:()V
14: aload 2
invokeinterface org.hibernate.engine.spi.SessionImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getStatistics:()Lorg/hibernate/stat/Statistics;
invokeinterface org.hibernate.stat.Statistics.isStatisticsEnabled:()Z
ifeq 16
iload 4
ifne 16
15: aload 2
invokeinterface org.hibernate.engine.spi.SessionImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getStatisticsImplementor:()Lorg/hibernate/stat/spi/StatisticsImplementor;
aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getPersister:()Lorg/hibernate/persister/entity/EntityPersister;
invokeinterface org.hibernate.persister.entity.EntityPersister.getEntityName:()Ljava/lang/String;
invokeinterface org.hibernate.stat.spi.StatisticsImplementor.insertEntity:(Ljava/lang/String;)V
16: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.markExecuted:()V
17: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/hibernate/action/internal/EntityIdentityInsertAction;
2 18 1 persister Lorg/hibernate/persister/entity/EntityPersister;
3 18 2 session Lorg/hibernate/engine/spi/SessionImplementor;
4 18 3 instance Ljava/lang/Object;
5 18 4 veto Z
Exceptions:
throws org.hibernate.HibernateException
public boolean needsAfterTransactionCompletion();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.hasPostCommitEventListeners:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/action/internal/EntityIdentityInsertAction;
protected boolean hasPostCommitEventListeners();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getstatic org.hibernate.event.spi.EventType.POST_COMMIT_INSERT:Lorg/hibernate/event/spi/EventType;
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.listenerGroup:(Lorg/hibernate/event/spi/EventType;)Lorg/hibernate/event/service/spi/EventListenerGroup;
astore 1
start local 1 1: aload 1
invokeinterface org.hibernate.event.service.spi.EventListenerGroup.listeners:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.hibernate.action.internal.EntityIdentityInsertAction org.hibernate.event.service.spi.EventListenerGroup top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.event.spi.PostInsertEventListener
astore 2
start local 2 3: aload 2
aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getPersister:()Lorg/hibernate/persister/entity/EntityPersister;
invokeinterface org.hibernate.event.spi.PostInsertEventListener.requiresPostCommitHanding:(Lorg/hibernate/persister/entity/EntityPersister;)Z
ifeq 5
4: iconst_1
ireturn
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/action/internal/EntityIdentityInsertAction;
1 7 1 group Lorg/hibernate/event/service/spi/EventListenerGroup<Lorg/hibernate/event/spi/PostInsertEventListener;>;
3 5 2 listener Lorg/hibernate/event/spi/PostInsertEventListener;
public void doAfterTransactionCompletion(boolean, org.hibernate.engine.spi.SessionImplementor);
descriptor: (ZLorg/hibernate/engine/spi/SessionImplementor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.postCommitInsert:(Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/action/internal/EntityIdentityInsertAction;
0 2 1 success Z
0 2 2 session Lorg/hibernate/engine/spi/SessionImplementor;
MethodParameters:
Name Flags
success
session
private void postInsert();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=1
start local 0 0: aload 0
getfield org.hibernate.action.internal.EntityIdentityInsertAction.isDelayed:Z
ifeq 2
1: aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
invokeinterface org.hibernate.engine.spi.SessionImplementor.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 0
getfield org.hibernate.action.internal.EntityIdentityInsertAction.delayedEntityKey:Lorg/hibernate/engine/spi/EntityKey;
aload 0
getfield org.hibernate.action.internal.EntityIdentityInsertAction.generatedId:Ljava/io/Serializable;
invokeinterface org.hibernate.engine.spi.PersistenceContext.replaceDelayedEntityIdentityInsertKeys:(Lorg/hibernate/engine/spi/EntityKey;Ljava/io/Serializable;)V
2: StackMap locals:
StackMap stack:
aload 0
getstatic org.hibernate.event.spi.EventType.POST_INSERT:Lorg/hibernate/event/spi/EventType;
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.listenerGroup:(Lorg/hibernate/event/spi/EventType;)Lorg/hibernate/event/service/spi/EventListenerGroup;
astore 1
start local 1 3: aload 1
invokeinterface org.hibernate.event.service.spi.EventListenerGroup.isEmpty:()Z
ifeq 5
4: return
5: StackMap locals: org.hibernate.event.service.spi.EventListenerGroup
StackMap stack:
new org.hibernate.event.spi.PostInsertEvent
dup
6: aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getInstance:()Ljava/lang/Object;
7: aload 0
getfield org.hibernate.action.internal.EntityIdentityInsertAction.generatedId:Ljava/io/Serializable;
8: aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getState:()[Ljava/lang/Object;
9: aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getPersister:()Lorg/hibernate/persister/entity/EntityPersister;
10: aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.eventSource:()Lorg/hibernate/event/spi/EventSource;
11: invokespecial org.hibernate.event.spi.PostInsertEvent.<init>:(Ljava/lang/Object;Ljava/io/Serializable;[Ljava/lang/Object;Lorg/hibernate/persister/entity/EntityPersister;Lorg/hibernate/event/spi/EventSource;)V
astore 2
start local 2 12: aload 1
invokeinterface org.hibernate.event.service.spi.EventListenerGroup.listeners:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 15
StackMap locals: org.hibernate.action.internal.EntityIdentityInsertAction org.hibernate.event.service.spi.EventListenerGroup org.hibernate.event.spi.PostInsertEvent top java.util.Iterator
StackMap stack:
13: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.event.spi.PostInsertEventListener
astore 3
start local 3 14: aload 3
aload 2
invokeinterface org.hibernate.event.spi.PostInsertEventListener.onPostInsert:(Lorg/hibernate/event/spi/PostInsertEvent;)V
end local 3 15: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/hibernate/action/internal/EntityIdentityInsertAction;
3 17 1 listenerGroup Lorg/hibernate/event/service/spi/EventListenerGroup<Lorg/hibernate/event/spi/PostInsertEventListener;>;
12 17 2 event Lorg/hibernate/event/spi/PostInsertEvent;
14 15 3 listener Lorg/hibernate/event/spi/PostInsertEventListener;
private void postCommitInsert(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getstatic org.hibernate.event.spi.EventType.POST_COMMIT_INSERT:Lorg/hibernate/event/spi/EventType;
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.listenerGroup:(Lorg/hibernate/event/spi/EventType;)Lorg/hibernate/event/service/spi/EventListenerGroup;
astore 2
start local 2 1: aload 2
invokeinterface org.hibernate.event.service.spi.EventListenerGroup.isEmpty:()Z
ifeq 3
2: return
3: StackMap locals: org.hibernate.event.service.spi.EventListenerGroup
StackMap stack:
new org.hibernate.event.spi.PostInsertEvent
dup
4: aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getInstance:()Ljava/lang/Object;
5: aload 0
getfield org.hibernate.action.internal.EntityIdentityInsertAction.generatedId:Ljava/io/Serializable;
6: aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getState:()[Ljava/lang/Object;
7: aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getPersister:()Lorg/hibernate/persister/entity/EntityPersister;
8: aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.eventSource:()Lorg/hibernate/event/spi/EventSource;
9: invokespecial org.hibernate.event.spi.PostInsertEvent.<init>:(Ljava/lang/Object;Ljava/io/Serializable;[Ljava/lang/Object;Lorg/hibernate/persister/entity/EntityPersister;Lorg/hibernate/event/spi/EventSource;)V
astore 3
start local 3 10: aload 2
invokeinterface org.hibernate.event.service.spi.EventListenerGroup.listeners:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 19
StackMap locals: org.hibernate.action.internal.EntityIdentityInsertAction int org.hibernate.event.service.spi.EventListenerGroup org.hibernate.event.spi.PostInsertEvent top java.util.Iterator
StackMap stack:
11: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.event.spi.PostInsertEventListener
astore 4
start local 4 12: ldc Lorg/hibernate/event/spi/PostCommitInsertEventListener;
aload 4
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 18
13: iload 1
ifeq 16
14: aload 4
aload 3
invokeinterface org.hibernate.event.spi.PostInsertEventListener.onPostInsert:(Lorg/hibernate/event/spi/PostInsertEvent;)V
15: goto 19
16: StackMap locals: org.hibernate.action.internal.EntityIdentityInsertAction int org.hibernate.event.service.spi.EventListenerGroup org.hibernate.event.spi.PostInsertEvent org.hibernate.event.spi.PostInsertEventListener java.util.Iterator
StackMap stack:
aload 4
checkcast org.hibernate.event.spi.PostCommitInsertEventListener
aload 3
invokeinterface org.hibernate.event.spi.PostCommitInsertEventListener.onPostInsertCommitFailed:(Lorg/hibernate/event/spi/PostInsertEvent;)V
17: goto 19
18: StackMap locals:
StackMap stack:
aload 4
aload 3
invokeinterface org.hibernate.event.spi.PostInsertEventListener.onPostInsert:(Lorg/hibernate/event/spi/PostInsertEvent;)V
end local 4 19: StackMap locals: org.hibernate.action.internal.EntityIdentityInsertAction int org.hibernate.event.service.spi.EventListenerGroup org.hibernate.event.spi.PostInsertEvent top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
20: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/hibernate/action/internal/EntityIdentityInsertAction;
0 21 1 success Z
1 21 2 listenerGroup Lorg/hibernate/event/service/spi/EventListenerGroup<Lorg/hibernate/event/spi/PostInsertEventListener;>;
10 21 3 event Lorg/hibernate/event/spi/PostInsertEvent;
12 19 4 listener Lorg/hibernate/event/spi/PostInsertEventListener;
MethodParameters:
Name Flags
success
private boolean preInsert();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=1
start local 0 0: aload 0
getstatic org.hibernate.event.spi.EventType.PRE_INSERT:Lorg/hibernate/event/spi/EventType;
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.listenerGroup:(Lorg/hibernate/event/spi/EventType;)Lorg/hibernate/event/service/spi/EventListenerGroup;
astore 1
start local 1 1: aload 1
invokeinterface org.hibernate.event.service.spi.EventListenerGroup.isEmpty:()Z
ifeq 3
2: iconst_0
ireturn
3: StackMap locals: org.hibernate.event.service.spi.EventListenerGroup
StackMap stack:
iconst_0
istore 2
start local 2 4: new org.hibernate.event.spi.PreInsertEvent
dup
aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getInstance:()Ljava/lang/Object;
aconst_null
aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getState:()[Ljava/lang/Object;
aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getPersister:()Lorg/hibernate/persister/entity/EntityPersister;
aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.eventSource:()Lorg/hibernate/event/spi/EventSource;
invokespecial org.hibernate.event.spi.PreInsertEvent.<init>:(Ljava/lang/Object;Ljava/io/Serializable;[Ljava/lang/Object;Lorg/hibernate/persister/entity/EntityPersister;Lorg/hibernate/event/spi/EventSource;)V
astore 3
start local 3 5: aload 1
invokeinterface org.hibernate.event.service.spi.EventListenerGroup.listeners:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: org.hibernate.action.internal.EntityIdentityInsertAction org.hibernate.event.service.spi.EventListenerGroup int org.hibernate.event.spi.PreInsertEvent top java.util.Iterator
StackMap stack:
6: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.event.spi.PreInsertEventListener
astore 4
start local 4 7: iload 2
aload 4
aload 3
invokeinterface org.hibernate.event.spi.PreInsertEventListener.onPreInsert:(Lorg/hibernate/event/spi/PreInsertEvent;)Z
ior
istore 2
end local 4 8: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/hibernate/action/internal/EntityIdentityInsertAction;
1 10 1 listenerGroup Lorg/hibernate/event/service/spi/EventListenerGroup<Lorg/hibernate/event/spi/PreInsertEventListener;>;
4 10 2 veto Z
5 10 3 event Lorg/hibernate/event/spi/PreInsertEvent;
7 8 4 listener Lorg/hibernate/event/spi/PreInsertEventListener;
public final java.io.Serializable getGeneratedId();
descriptor: ()Ljava/io/Serializable;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.action.internal.EntityIdentityInsertAction.generatedId:Ljava/io/Serializable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/action/internal/EntityIdentityInsertAction;
public org.hibernate.engine.spi.EntityKey getDelayedEntityKey();
descriptor: ()Lorg/hibernate/engine/spi/EntityKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.action.internal.EntityIdentityInsertAction.delayedEntityKey:Lorg/hibernate/engine/spi/EntityKey;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/action/internal/EntityIdentityInsertAction;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public boolean isEarlyInsert();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.action.internal.EntityIdentityInsertAction.isDelayed:Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/action/internal/EntityIdentityInsertAction;
protected org.hibernate.engine.spi.EntityKey getEntityKey();
descriptor: ()Lorg/hibernate/engine/spi/EntityKey;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.action.internal.EntityIdentityInsertAction.entityKey:Lorg/hibernate/engine/spi/EntityKey;
ifnull 1
aload 0
getfield org.hibernate.action.internal.EntityIdentityInsertAction.entityKey:Lorg/hibernate/engine/spi/EntityKey;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.hibernate.action.internal.EntityIdentityInsertAction.delayedEntityKey:Lorg/hibernate/engine/spi/EntityKey;
StackMap locals:
StackMap stack: org.hibernate.engine.spi.EntityKey
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/action/internal/EntityIdentityInsertAction;
private static org.hibernate.action.internal.DelayedPostInsertIdentifier generateDelayedPostInsertIdentifier();
descriptor: ()Lorg/hibernate/action/internal/DelayedPostInsertIdentifier;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.hibernate.action.internal.DelayedPostInsertIdentifier
dup
invokespecial org.hibernate.action.internal.DelayedPostInsertIdentifier.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
private org.hibernate.engine.spi.EntityKey generateDelayedEntityKey();
descriptor: ()Lorg/hibernate/engine/spi/EntityKey;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.action.internal.EntityIdentityInsertAction.isDelayed:Z
ifne 2
1: new org.hibernate.AssertionFailure
dup
ldc "cannot request delayed entity-key for early-insert post-insert-id generation"
invokespecial org.hibernate.AssertionFailure.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getDelayedId:()Lorg/hibernate/action/internal/DelayedPostInsertIdentifier;
aload 0
invokevirtual org.hibernate.action.internal.EntityIdentityInsertAction.getPersister:()Lorg/hibernate/persister/entity/EntityPersister;
invokeinterface org.hibernate.engine.spi.SessionImplementor.generateEntityKey:(Ljava/io/Serializable;Lorg/hibernate/persister/entity/EntityPersister;)Lorg/hibernate/engine/spi/EntityKey;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/action/internal/EntityIdentityInsertAction;
}
SourceFile: "EntityIdentityInsertAction.java"