public final class org.hibernate.action.internal.EntityInsertAction 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.EntityInsertAction
super_class: org.hibernate.action.internal.AbstractEntityInsertAction
{
private java.lang.Object version;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private java.lang.Object cacheEntry;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.io.Serializable, java.lang.Object[], java.lang.Object, java.lang.Object, org.hibernate.persister.entity.EntityPersister, boolean, org.hibernate.engine.spi.SessionImplementor);
descriptor: (Ljava/io/Serializable;[Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Lorg/hibernate/persister/entity/EntityPersister;ZLorg/hibernate/engine/spi/SessionImplementor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
aload 2
aload 3
iload 6
aload 5
aload 7
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
1: aload 0
aload 4
putfield org.hibernate.action.internal.EntityInsertAction.version:Ljava/lang/Object;
2: return
end local 7 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 3 0 this Lorg/hibernate/action/internal/EntityInsertAction;
0 3 1 id Ljava/io/Serializable;
0 3 2 state [Ljava/lang/Object;
0 3 3 instance Ljava/lang/Object;
0 3 4 version Ljava/lang/Object;
0 3 5 persister Lorg/hibernate/persister/entity/EntityPersister;
0 3 6 isVersionIncrementDisabled Z
0 3 7 session Lorg/hibernate/engine/spi/SessionImplementor;
MethodParameters:
Name Flags
id
state
instance
version
persister
isVersionIncrementDisabled
session
public boolean isEarlyInsert();
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 Lorg/hibernate/action/internal/EntityInsertAction;
protected org.hibernate.engine.spi.EntityKey getEntityKey();
descriptor: ()Lorg/hibernate/engine/spi/EntityKey;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getId:()Ljava/io/Serializable;
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.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 1 0 this Lorg/hibernate/action/internal/EntityInsertAction;
public void execute();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.nullifyTransientReferencesIfNotAlready:()V
1: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getPersister:()Lorg/hibernate/persister/entity/EntityPersister;
astore 1
start local 1 2: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
astore 2
start local 2 3: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getInstance:()Ljava/lang/Object;
astore 3
start local 3 4: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getId:()Ljava/io/Serializable;
astore 4
start local 4 5: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.preInsert:()Z
istore 5
start local 5 6: iload 5
ifne 18
7: aload 1
aload 4
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getState:()[Ljava/lang/Object;
aload 3
aload 2
invokeinterface org.hibernate.persister.entity.EntityPersister.insert:(Ljava/io/Serializable;[Ljava/lang/Object;Ljava/lang/Object;Lorg/hibernate/engine/spi/SessionImplementor;)V
8: aload 2
invokeinterface org.hibernate.engine.spi.SessionImplementor.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 3
invokeinterface org.hibernate.engine.spi.PersistenceContext.getEntry:(Ljava/lang/Object;)Lorg/hibernate/engine/spi/EntityEntry;
astore 6
start local 6 9: aload 6
ifnonnull 11
10: new org.hibernate.AssertionFailure
dup
ldc "possible non-threadsafe access to session"
invokespecial org.hibernate.AssertionFailure.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: org.hibernate.action.internal.EntityInsertAction org.hibernate.persister.entity.EntityPersister org.hibernate.engine.spi.SessionImplementor java.lang.Object java.io.Serializable int org.hibernate.engine.spi.EntityEntry
StackMap stack:
aload 6
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getState:()[Ljava/lang/Object;
invokevirtual org.hibernate.engine.spi.EntityEntry.postInsert:([Ljava/lang/Object;)V
12: aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.hasInsertGeneratedProperties:()Z
ifeq 17
13: aload 1
aload 4
aload 3
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.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
14: aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.isVersionPropertyGenerated:()Z
ifeq 16
15: aload 0
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getState:()[Ljava/lang/Object;
aload 1
invokestatic org.hibernate.engine.internal.Versioning.getVersion:([Ljava/lang/Object;Lorg/hibernate/persister/entity/EntityPersister;)Ljava/lang/Object;
putfield org.hibernate.action.internal.EntityInsertAction.version:Ljava/lang/Object;
16: StackMap locals:
StackMap stack:
aload 6
aload 3
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getState:()[Ljava/lang/Object;
aload 0
getfield org.hibernate.action.internal.EntityInsertAction.version:Ljava/lang/Object;
invokevirtual org.hibernate.engine.spi.EntityEntry.postUpdate:(Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;)V
17: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
invokeinterface org.hibernate.engine.spi.SessionImplementor.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getPersister:()Lorg/hibernate/persister/entity/EntityPersister;
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getId:()Ljava/io/Serializable;
invokeinterface org.hibernate.engine.spi.PersistenceContext.registerInsertedKey:(Lorg/hibernate/persister/entity/EntityPersister;Ljava/io/Serializable;)V
end local 6 18: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
invokeinterface org.hibernate.engine.spi.SessionImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
astore 6
start local 6 19: aload 0
aload 1
aload 2
invokevirtual org.hibernate.action.internal.EntityInsertAction.isCachePutEnabled:(Lorg/hibernate/persister/entity/EntityPersister;Lorg/hibernate/engine/spi/SessionImplementor;)Z
ifeq 31
20: aload 1
21: aload 3
22: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getState:()[Ljava/lang/Object;
23: aload 0
getfield org.hibernate.action.internal.EntityInsertAction.version:Ljava/lang/Object;
24: aload 2
25: invokeinterface org.hibernate.persister.entity.EntityPersister.buildCacheEntry:(Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;Lorg/hibernate/engine/spi/SessionImplementor;)Lorg/hibernate/cache/spi/entry/CacheEntry;
astore 7
start local 7 26: aload 0
aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.getCacheEntryStructure:()Lorg/hibernate/cache/spi/entry/CacheEntryStructure;
aload 7
invokeinterface org.hibernate.cache.spi.entry.CacheEntryStructure.structure:(Ljava/lang/Object;)Ljava/lang/Object;
putfield org.hibernate.action.internal.EntityInsertAction.cacheEntry:Ljava/lang/Object;
27: aload 2
aload 4
aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.getIdentifierType:()Lorg/hibernate/type/Type;
aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.getRootEntityName:()Ljava/lang/String;
invokeinterface org.hibernate.engine.spi.SessionImplementor.generateCacheKey:(Ljava/io/Serializable;Lorg/hibernate/type/Type;Ljava/lang/String;)Lorg/hibernate/cache/spi/CacheKey;
astore 8
start local 8 28: aload 0
aload 1
aload 8
invokevirtual org.hibernate.action.internal.EntityInsertAction.cacheInsert:(Lorg/hibernate/persister/entity/EntityPersister;Lorg/hibernate/cache/spi/CacheKey;)Z
istore 9
start local 9 29: iload 9
ifeq 31
aload 6
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getStatistics:()Lorg/hibernate/stat/Statistics;
invokeinterface org.hibernate.stat.Statistics.isStatisticsEnabled:()Z
ifeq 31
30: aload 6
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getStatisticsImplementor:()Lorg/hibernate/stat/spi/StatisticsImplementor;
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getPersister:()Lorg/hibernate/persister/entity/EntityPersister;
invokeinterface org.hibernate.persister.entity.EntityPersister.getCacheAccessStrategy:()Lorg/hibernate/cache/spi/access/EntityRegionAccessStrategy;
invokeinterface org.hibernate.cache.spi.access.EntityRegionAccessStrategy.getRegion:()Lorg/hibernate/cache/spi/EntityRegion;
invokeinterface org.hibernate.cache.spi.EntityRegion.getName:()Ljava/lang/String;
invokeinterface org.hibernate.stat.spi.StatisticsImplementor.secondLevelCachePut:(Ljava/lang/String;)V
end local 9 end local 8 end local 7 31: StackMap locals: org.hibernate.engine.spi.SessionFactoryImplementor
StackMap stack:
aload 0
aload 4
invokevirtual org.hibernate.action.internal.EntityInsertAction.handleNaturalIdPostSaveNotifications:(Ljava/io/Serializable;)V
32: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.postInsert:()V
33: aload 6
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getStatistics:()Lorg/hibernate/stat/Statistics;
invokeinterface org.hibernate.stat.Statistics.isStatisticsEnabled:()Z
ifeq 35
iload 5
ifne 35
34: aload 6
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getStatisticsImplementor:()Lorg/hibernate/stat/spi/StatisticsImplementor;
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.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
35: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.markExecuted:()V
36: 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 37 0 this Lorg/hibernate/action/internal/EntityInsertAction;
2 37 1 persister Lorg/hibernate/persister/entity/EntityPersister;
3 37 2 session Lorg/hibernate/engine/spi/SessionImplementor;
4 37 3 instance Ljava/lang/Object;
5 37 4 id Ljava/io/Serializable;
6 37 5 veto Z
9 18 6 entry Lorg/hibernate/engine/spi/EntityEntry;
19 37 6 factory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
26 31 7 ce Lorg/hibernate/cache/spi/entry/CacheEntry;
28 31 8 ck Lorg/hibernate/cache/spi/CacheKey;
29 31 9 put Z
Exceptions:
throws org.hibernate.HibernateException
private boolean cacheInsert(org.hibernate.persister.entity.EntityPersister, org.hibernate.cache.spi.CacheKey);
descriptor: (Lorg/hibernate/persister/entity/EntityPersister;Lorg/hibernate/cache/spi/CacheKey;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
invokeinterface org.hibernate.engine.spi.SessionImplementor.getEventListenerManager:()Lorg/hibernate/engine/spi/SessionEventListenerManager;
invokeinterface org.hibernate.engine.spi.SessionEventListenerManager.cachePutStart:()V
1: aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.getCacheAccessStrategy:()Lorg/hibernate/cache/spi/access/EntityRegionAccessStrategy;
aload 2
aload 0
getfield org.hibernate.action.internal.EntityInsertAction.cacheEntry:Ljava/lang/Object;
aload 0
getfield org.hibernate.action.internal.EntityInsertAction.version:Ljava/lang/Object;
invokeinterface org.hibernate.cache.spi.access.EntityRegionAccessStrategy.insert:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
istore 4
2: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
invokeinterface org.hibernate.engine.spi.SessionImplementor.getEventListenerManager:()Lorg/hibernate/engine/spi/SessionEventListenerManager;
invokeinterface org.hibernate.engine.spi.SessionEventListenerManager.cachePutEnd:()V
3: iload 4
ireturn
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
5: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
invokeinterface org.hibernate.engine.spi.SessionImplementor.getEventListenerManager:()Lorg/hibernate/engine/spi/SessionEventListenerManager;
invokeinterface org.hibernate.engine.spi.SessionEventListenerManager.cachePutEnd:()V
6: aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/action/internal/EntityInsertAction;
0 7 1 persister Lorg/hibernate/persister/entity/EntityPersister;
0 7 2 ck Lorg/hibernate/cache/spi/CacheKey;
Exception table:
from to target type
0 2 4 any
MethodParameters:
Name Flags
persister
ck
private void postInsert();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=1
start local 0 0: aload 0
getstatic org.hibernate.event.spi.EventType.POST_INSERT:Lorg/hibernate/event/spi/EventType;
invokevirtual org.hibernate.action.internal.EntityInsertAction.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: 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.EntityInsertAction.getInstance:()Ljava/lang/Object;
5: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getId:()Ljava/io/Serializable;
6: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getState:()[Ljava/lang/Object;
7: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getPersister:()Lorg/hibernate/persister/entity/EntityPersister;
8: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.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 2
start local 2 10: aload 1
invokeinterface org.hibernate.event.service.spi.EventListenerGroup.listeners:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 13
StackMap locals: org.hibernate.action.internal.EntityInsertAction org.hibernate.event.service.spi.EventListenerGroup org.hibernate.event.spi.PostInsertEvent top java.util.Iterator
StackMap stack:
11: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.event.spi.PostInsertEventListener
astore 3
start local 3 12: aload 3
aload 2
invokeinterface org.hibernate.event.spi.PostInsertEventListener.onPostInsert:(Lorg/hibernate/event/spi/PostInsertEvent;)V
end local 3 13: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/hibernate/action/internal/EntityInsertAction;
1 15 1 listenerGroup Lorg/hibernate/event/service/spi/EventListenerGroup<Lorg/hibernate/event/spi/PostInsertEventListener;>;
10 15 2 event Lorg/hibernate/event/spi/PostInsertEvent;
12 13 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.EntityInsertAction.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.EntityInsertAction.getInstance:()Ljava/lang/Object;
5: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getId:()Ljava/io/Serializable;
6: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getState:()[Ljava/lang/Object;
7: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getPersister:()Lorg/hibernate/persister/entity/EntityPersister;
8: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.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.EntityInsertAction 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.EntityInsertAction 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.EntityInsertAction 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/EntityInsertAction;
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: iconst_0
istore 1
start local 1 1: aload 0
getstatic org.hibernate.event.spi.EventType.PRE_INSERT:Lorg/hibernate/event/spi/EventType;
invokevirtual org.hibernate.action.internal.EntityInsertAction.listenerGroup:(Lorg/hibernate/event/spi/EventType;)Lorg/hibernate/event/service/spi/EventListenerGroup;
astore 2
start local 2 2: aload 2
invokeinterface org.hibernate.event.service.spi.EventListenerGroup.isEmpty:()Z
ifeq 4
3: iload 1
ireturn
4: StackMap locals: int org.hibernate.event.service.spi.EventListenerGroup
StackMap stack:
new org.hibernate.event.spi.PreInsertEvent
dup
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getInstance:()Ljava/lang/Object;
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getId:()Ljava/io/Serializable;
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getState:()[Ljava/lang/Object;
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getPersister:()Lorg/hibernate/persister/entity/EntityPersister;
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.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 2
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.EntityInsertAction int org.hibernate.event.service.spi.EventListenerGroup 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 1
aload 4
aload 3
invokeinterface org.hibernate.event.spi.PreInsertEventListener.onPreInsert:(Lorg/hibernate/event/spi/PreInsertEvent;)Z
ior
istore 1
end local 4 8: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: iload 1
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/EntityInsertAction;
1 10 1 veto Z
2 10 2 listenerGroup Lorg/hibernate/event/service/spi/EventListenerGroup<Lorg/hibernate/event/spi/PreInsertEventListener;>;
5 10 3 event Lorg/hibernate/event/spi/PreInsertEvent;
7 8 4 listener Lorg/hibernate/event/spi/PreInsertEventListener;
public void doAfterTransactionCompletion(boolean, org.hibernate.engine.spi.SessionImplementor);
descriptor: (ZLorg/hibernate/engine/spi/SessionImplementor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getPersister:()Lorg/hibernate/persister/entity/EntityPersister;
astore 3
start local 3 1: iload 1
ifeq 7
aload 0
aload 3
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
invokevirtual org.hibernate.action.internal.EntityInsertAction.isCachePutEnabled:(Lorg/hibernate/persister/entity/EntityPersister;Lorg/hibernate/engine/spi/SessionImplementor;)Z
ifeq 7
2: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getId:()Ljava/io/Serializable;
aload 3
invokeinterface org.hibernate.persister.entity.EntityPersister.getIdentifierType:()Lorg/hibernate/type/Type;
aload 3
invokeinterface org.hibernate.persister.entity.EntityPersister.getRootEntityName:()Ljava/lang/String;
invokeinterface org.hibernate.engine.spi.SessionImplementor.generateCacheKey:(Ljava/io/Serializable;Lorg/hibernate/type/Type;Ljava/lang/String;)Lorg/hibernate/cache/spi/CacheKey;
astore 4
start local 4 3: aload 0
aload 3
aload 4
invokevirtual org.hibernate.action.internal.EntityInsertAction.cacheAfterInsert:(Lorg/hibernate/persister/entity/EntityPersister;Lorg/hibernate/cache/spi/CacheKey;)Z
istore 5
start local 5 4: iload 5
ifeq 7
aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
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 7
5: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
invokeinterface org.hibernate.engine.spi.SessionImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getStatisticsImplementor:()Lorg/hibernate/stat/spi/StatisticsImplementor;
6: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getPersister:()Lorg/hibernate/persister/entity/EntityPersister;
invokeinterface org.hibernate.persister.entity.EntityPersister.getCacheAccessStrategy:()Lorg/hibernate/cache/spi/access/EntityRegionAccessStrategy;
invokeinterface org.hibernate.cache.spi.access.EntityRegionAccessStrategy.getRegion:()Lorg/hibernate/cache/spi/EntityRegion;
invokeinterface org.hibernate.cache.spi.EntityRegion.getName:()Ljava/lang/String;
invokeinterface org.hibernate.stat.spi.StatisticsImplementor.secondLevelCachePut:(Ljava/lang/String;)V
end local 5 end local 4 7: StackMap locals: org.hibernate.persister.entity.EntityPersister
StackMap stack:
aload 0
iload 1
invokevirtual org.hibernate.action.internal.EntityInsertAction.postCommitInsert:(Z)V
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/hibernate/action/internal/EntityInsertAction;
0 9 1 success Z
0 9 2 session Lorg/hibernate/engine/spi/SessionImplementor;
1 9 3 persister Lorg/hibernate/persister/entity/EntityPersister;
3 7 4 ck Lorg/hibernate/cache/spi/CacheKey;
4 7 5 put Z
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
success
session
private boolean cacheAfterInsert(org.hibernate.persister.entity.EntityPersister, org.hibernate.cache.spi.CacheKey);
descriptor: (Lorg/hibernate/persister/entity/EntityPersister;Lorg/hibernate/cache/spi/CacheKey;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
invokeinterface org.hibernate.engine.spi.SessionImplementor.getEventListenerManager:()Lorg/hibernate/engine/spi/SessionEventListenerManager;
invokeinterface org.hibernate.engine.spi.SessionEventListenerManager.cachePutStart:()V
1: aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.getCacheAccessStrategy:()Lorg/hibernate/cache/spi/access/EntityRegionAccessStrategy;
aload 2
aload 0
getfield org.hibernate.action.internal.EntityInsertAction.cacheEntry:Ljava/lang/Object;
aload 0
getfield org.hibernate.action.internal.EntityInsertAction.version:Ljava/lang/Object;
invokeinterface org.hibernate.cache.spi.access.EntityRegionAccessStrategy.afterInsert:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
istore 4
2: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
invokeinterface org.hibernate.engine.spi.SessionImplementor.getEventListenerManager:()Lorg/hibernate/engine/spi/SessionEventListenerManager;
invokeinterface org.hibernate.engine.spi.SessionEventListenerManager.cachePutEnd:()V
3: iload 4
ireturn
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
5: aload 0
invokevirtual org.hibernate.action.internal.EntityInsertAction.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
invokeinterface org.hibernate.engine.spi.SessionImplementor.getEventListenerManager:()Lorg/hibernate/engine/spi/SessionEventListenerManager;
invokeinterface org.hibernate.engine.spi.SessionEventListenerManager.cachePutEnd:()V
6: aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/action/internal/EntityInsertAction;
0 7 1 persister Lorg/hibernate/persister/entity/EntityPersister;
0 7 2 ck Lorg/hibernate/cache/spi/CacheKey;
Exception table:
from to target type
0 2 4 any
MethodParameters:
Name Flags
persister
ck
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.EntityInsertAction.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.EntityInsertAction 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.EntityInsertAction.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/EntityInsertAction;
1 7 1 group Lorg/hibernate/event/service/spi/EventListenerGroup<Lorg/hibernate/event/spi/PostInsertEventListener;>;
3 5 2 listener Lorg/hibernate/event/spi/PostInsertEventListener;
private boolean isCachePutEnabled(org.hibernate.persister.entity.EntityPersister, org.hibernate.engine.spi.SessionImplementor);
descriptor: (Lorg/hibernate/persister/entity/EntityPersister;Lorg/hibernate/engine/spi/SessionImplementor;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.hasCache:()Z
ifeq 4
1: aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.isCacheInvalidationRequired:()Z
ifne 4
2: aload 2
invokeinterface org.hibernate.engine.spi.SessionImplementor.getCacheMode:()Lorg/hibernate/CacheMode;
invokevirtual org.hibernate.CacheMode.isPutEnabled:()Z
ifeq 4
3: iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/action/internal/EntityInsertAction;
0 5 1 persister Lorg/hibernate/persister/entity/EntityPersister;
0 5 2 session Lorg/hibernate/engine/spi/SessionImplementor;
MethodParameters:
Name Flags
persister
session
}
SourceFile: "EntityInsertAction.java"