public class org.hibernate.engine.loading.internal.CollectionLoadContext
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.engine.loading.internal.CollectionLoadContext
super_class: java.lang.Object
{
private static final org.hibernate.internal.CoreMessageLogger LOG;
descriptor: Lorg/hibernate/internal/CoreMessageLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.hibernate.engine.loading.internal.LoadContexts loadContexts;
descriptor: Lorg/hibernate/engine/loading/internal/LoadContexts;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.sql.ResultSet resultSet;
descriptor: Ljava/sql/ResultSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.Set<org.hibernate.engine.spi.CollectionKey> localLoadingCollectionKeys;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Lorg/hibernate/engine/spi/CollectionKey;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/hibernate/engine/loading/internal/CollectionLoadContext;
invokestatic org.hibernate.internal.CoreLogging.messageLogger:(Ljava/lang/Class;)Lorg/hibernate/internal/CoreMessageLogger;
putstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.hibernate.engine.loading.internal.LoadContexts, java.sql.ResultSet);
descriptor: (Lorg/hibernate/engine/loading/internal/LoadContexts;Ljava/sql/ResultSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, 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 java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.hibernate.engine.loading.internal.CollectionLoadContext.localLoadingCollectionKeys:Ljava/util/Set;
2: aload 0
aload 1
putfield org.hibernate.engine.loading.internal.CollectionLoadContext.loadContexts:Lorg/hibernate/engine/loading/internal/LoadContexts;
3: aload 0
aload 2
putfield org.hibernate.engine.loading.internal.CollectionLoadContext.resultSet:Ljava/sql/ResultSet;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/engine/loading/internal/CollectionLoadContext;
0 5 1 loadContexts Lorg/hibernate/engine/loading/internal/LoadContexts;
0 5 2 resultSet Ljava/sql/ResultSet;
MethodParameters:
Name Flags
loadContexts
resultSet
public java.sql.ResultSet getResultSet();
descriptor: ()Ljava/sql/ResultSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.resultSet:Ljava/sql/ResultSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/engine/loading/internal/CollectionLoadContext;
public org.hibernate.engine.loading.internal.LoadContexts getLoadContext();
descriptor: ()Lorg/hibernate/engine/loading/internal/LoadContexts;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.loadContexts:Lorg/hibernate/engine/loading/internal/LoadContexts;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/engine/loading/internal/CollectionLoadContext;
public org.hibernate.collection.spi.PersistentCollection getLoadingCollection(org.hibernate.persister.collection.CollectionPersister, java.io.Serializable);
descriptor: (Lorg/hibernate/persister/collection/CollectionPersister;Ljava/io/Serializable;)Lorg/hibernate/collection/spi/PersistentCollection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.hibernate.persister.collection.CollectionPersister.getOwnerEntityPersister:()Lorg/hibernate/persister/entity/EntityPersister;
invokeinterface org.hibernate.persister.entity.EntityPersister.getEntityMetamodel:()Lorg/hibernate/tuple/entity/EntityMetamodel;
invokevirtual org.hibernate.tuple.entity.EntityMetamodel.getEntityMode:()Lorg/hibernate/EntityMode;
astore 3
start local 3 1: new org.hibernate.engine.spi.CollectionKey
dup
aload 1
aload 2
aload 3
invokespecial org.hibernate.engine.spi.CollectionKey.<init>:(Lorg/hibernate/persister/collection/CollectionPersister;Ljava/io/Serializable;Lorg/hibernate/EntityMode;)V
astore 4
start local 4 2: getstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.isTraceEnabled:()Z
ifeq 6
3: getstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Starting attempt to find loading collection [{0}]"
4: aload 1
invokeinterface org.hibernate.persister.collection.CollectionPersister.getRole:()Ljava/lang/String;
aload 2
invokestatic org.hibernate.pretty.MessageHelper.collectionInfoString:(Ljava/lang/String;Ljava/io/Serializable;)Ljava/lang/String;
5: invokeinterface org.hibernate.internal.CoreMessageLogger.tracev:(Ljava/lang/String;Ljava/lang/Object;)V
6: StackMap locals: org.hibernate.EntityMode org.hibernate.engine.spi.CollectionKey
StackMap stack:
aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.loadContexts:Lorg/hibernate/engine/loading/internal/LoadContexts;
aload 4
invokevirtual org.hibernate.engine.loading.internal.LoadContexts.locateLoadingCollectionEntry:(Lorg/hibernate/engine/spi/CollectionKey;)Lorg/hibernate/engine/loading/internal/LoadingCollectionEntry;
astore 5
start local 5 7: aload 5
ifnonnull 33
8: aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.loadContexts:Lorg/hibernate/engine/loading/internal/LoadContexts;
invokevirtual org.hibernate.engine.loading.internal.LoadContexts.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 4
invokeinterface org.hibernate.engine.spi.PersistenceContext.getCollection:(Lorg/hibernate/engine/spi/CollectionKey;)Lorg/hibernate/collection/spi/PersistentCollection;
astore 6
start local 6 9: aload 6
ifnull 15
10: aload 6
invokeinterface org.hibernate.collection.spi.PersistentCollection.wasInitialized:()Z
ifeq 13
11: getstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Collection already initialized; ignoring"
invokeinterface org.hibernate.internal.CoreMessageLogger.trace:(Ljava/lang/Object;)V
12: aconst_null
areturn
13: StackMap locals: org.hibernate.engine.loading.internal.LoadingCollectionEntry org.hibernate.collection.spi.PersistentCollection
StackMap stack:
getstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Collection not yet initialized; initializing"
invokeinterface org.hibernate.internal.CoreMessageLogger.trace:(Ljava/lang/Object;)V
14: goto 28
15: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.loadContexts:Lorg/hibernate/engine/loading/internal/LoadContexts;
invokevirtual org.hibernate.engine.loading.internal.LoadContexts.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 2
aload 1
invokeinterface org.hibernate.engine.spi.PersistenceContext.getCollectionOwner:(Ljava/io/Serializable;Lorg/hibernate/persister/collection/CollectionPersister;)Ljava/lang/Object;
astore 7
start local 7 16: aload 7
ifnull 19
17: aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.loadContexts:Lorg/hibernate/engine/loading/internal/LoadContexts;
invokevirtual org.hibernate.engine.loading.internal.LoadContexts.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 7
invokeinterface org.hibernate.engine.spi.PersistenceContext.getEntry:(Ljava/lang/Object;)Lorg/hibernate/engine/spi/EntityEntry;
invokevirtual org.hibernate.engine.spi.EntityEntry.getStatus:()Lorg/hibernate/engine/spi/Status;
getstatic org.hibernate.engine.spi.Status.LOADING:Lorg/hibernate/engine/spi/Status;
if_acmpeq 19
18: iconst_1
goto 20
StackMap locals: java.lang.Object
StackMap stack:
19: iconst_0
StackMap locals:
StackMap stack: int
20: istore 8
start local 8 21: iload 8
ifeq 24
22: getstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Owning entity already loaded; ignoring"
invokeinterface org.hibernate.internal.CoreMessageLogger.trace:(Ljava/lang/Object;)V
23: aconst_null
areturn
24: StackMap locals: int
StackMap stack:
getstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Instantiating new collection [key={0}, rs={1}]"
aload 2
aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.resultSet:Ljava/sql/ResultSet;
invokeinterface org.hibernate.internal.CoreMessageLogger.tracev:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
25: aload 1
invokeinterface org.hibernate.persister.collection.CollectionPersister.getCollectionType:()Lorg/hibernate/type/CollectionType;
26: aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.loadContexts:Lorg/hibernate/engine/loading/internal/LoadContexts;
invokevirtual org.hibernate.engine.loading.internal.LoadContexts.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
invokeinterface org.hibernate.engine.spi.PersistenceContext.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
aload 1
aload 2
27: invokevirtual org.hibernate.type.CollectionType.instantiate:(Lorg/hibernate/engine/spi/SessionImplementor;Lorg/hibernate/persister/collection/CollectionPersister;Ljava/io/Serializable;)Lorg/hibernate/collection/spi/PersistentCollection;
astore 6
end local 8 end local 7 28: StackMap locals:
StackMap stack:
aload 6
aload 1
iconst_m1
invokeinterface org.hibernate.collection.spi.PersistentCollection.beforeInitialize:(Lorg/hibernate/persister/collection/CollectionPersister;I)V
29: aload 6
invokeinterface org.hibernate.collection.spi.PersistentCollection.beginRead:()V
30: aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.localLoadingCollectionKeys:Ljava/util/Set;
aload 4
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
31: aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.loadContexts:Lorg/hibernate/engine/loading/internal/LoadContexts;
aload 4
new org.hibernate.engine.loading.internal.LoadingCollectionEntry
dup
aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.resultSet:Ljava/sql/ResultSet;
aload 1
aload 2
aload 6
invokespecial org.hibernate.engine.loading.internal.LoadingCollectionEntry.<init>:(Ljava/sql/ResultSet;Lorg/hibernate/persister/collection/CollectionPersister;Ljava/io/Serializable;Lorg/hibernate/collection/spi/PersistentCollection;)V
invokevirtual org.hibernate.engine.loading.internal.LoadContexts.registerLoadingCollectionXRef:(Lorg/hibernate/engine/spi/CollectionKey;Lorg/hibernate/engine/loading/internal/LoadingCollectionEntry;)V
32: aload 6
areturn
end local 6 33: StackMap locals:
StackMap stack:
aload 5
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getResultSet:()Ljava/sql/ResultSet;
aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.resultSet:Ljava/sql/ResultSet;
if_acmpne 36
34: getstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Found loading collection bound to current result set processing; reading row"
invokeinterface org.hibernate.internal.CoreMessageLogger.trace:(Ljava/lang/Object;)V
35: aload 5
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getCollection:()Lorg/hibernate/collection/spi/PersistentCollection;
areturn
36: StackMap locals:
StackMap stack:
getstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Collection is already being initialized; ignoring row"
invokeinterface org.hibernate.internal.CoreMessageLogger.trace:(Ljava/lang/Object;)V
37: aconst_null
areturn
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 38 0 this Lorg/hibernate/engine/loading/internal/CollectionLoadContext;
0 38 1 persister Lorg/hibernate/persister/collection/CollectionPersister;
0 38 2 key Ljava/io/Serializable;
1 38 3 em Lorg/hibernate/EntityMode;
2 38 4 collectionKey Lorg/hibernate/engine/spi/CollectionKey;
7 38 5 loadingCollectionEntry Lorg/hibernate/engine/loading/internal/LoadingCollectionEntry;
9 33 6 collection Lorg/hibernate/collection/spi/PersistentCollection;
16 28 7 owner Ljava/lang/Object;
21 28 8 newlySavedEntity Z
MethodParameters:
Name Flags
persister final
key final
public void endLoadingCollections(org.hibernate.persister.collection.CollectionPersister);
descriptor: (Lorg/hibernate/persister/collection/CollectionPersister;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.hibernate.engine.loading.internal.CollectionLoadContext.getLoadContext:()Lorg/hibernate/engine/loading/internal/LoadContexts;
invokevirtual org.hibernate.engine.loading.internal.LoadContexts.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
invokeinterface org.hibernate.engine.spi.PersistenceContext.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
astore 2
start local 2 1: aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.loadContexts:Lorg/hibernate/engine/loading/internal/LoadContexts;
invokevirtual org.hibernate.engine.loading.internal.LoadContexts.hasLoadingCollectionEntries:()Z
ifne 4
2: aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.localLoadingCollectionKeys:Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifeq 4
3: return
4: StackMap locals: org.hibernate.engine.spi.SessionImplementor
StackMap stack:
aconst_null
astore 3
start local 3 5: aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.localLoadingCollectionKeys:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
start local 4 6: goto 28
7: StackMap locals: java.util.List java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.engine.spi.CollectionKey
astore 5
start local 5 8: aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.loadContexts:Lorg/hibernate/engine/loading/internal/LoadContexts;
aload 5
invokevirtual org.hibernate.engine.loading.internal.LoadContexts.locateLoadingCollectionEntry:(Lorg/hibernate/engine/spi/CollectionKey;)Lorg/hibernate/engine/loading/internal/LoadingCollectionEntry;
astore 6
start local 6 9: aload 6
ifnonnull 12
10: getstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
aload 5
invokeinterface org.hibernate.internal.CoreMessageLogger.loadingCollectionKeyNotFound:(Lorg/hibernate/engine/spi/CollectionKey;)V
11: goto 28
12: StackMap locals: org.hibernate.engine.spi.CollectionKey org.hibernate.engine.loading.internal.LoadingCollectionEntry
StackMap stack:
aload 6
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getResultSet:()Ljava/sql/ResultSet;
aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.resultSet:Ljava/sql/ResultSet;
if_acmpne 28
aload 6
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getPersister:()Lorg/hibernate/persister/collection/CollectionPersister;
aload 1
if_acmpne 28
13: aload 3
ifnonnull 15
14: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
15: StackMap locals:
StackMap stack:
aload 3
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
16: aload 6
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getCollection:()Lorg/hibernate/collection/spi/PersistentCollection;
invokeinterface org.hibernate.collection.spi.PersistentCollection.getOwner:()Ljava/lang/Object;
ifnonnull 25
17: aload 2
invokeinterface org.hibernate.engine.spi.SessionImplementor.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
18: new org.hibernate.engine.spi.CollectionKey
dup
19: aload 1
20: aload 6
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getKey:()Ljava/io/Serializable;
21: aload 1
invokeinterface org.hibernate.persister.collection.CollectionPersister.getOwnerEntityPersister:()Lorg/hibernate/persister/entity/EntityPersister;
invokeinterface org.hibernate.persister.entity.EntityPersister.getEntityMetamodel:()Lorg/hibernate/tuple/entity/EntityMetamodel;
invokevirtual org.hibernate.tuple.entity.EntityMetamodel.getEntityMode:()Lorg/hibernate/EntityMode;
22: invokespecial org.hibernate.engine.spi.CollectionKey.<init>:(Lorg/hibernate/persister/collection/CollectionPersister;Ljava/io/Serializable;Lorg/hibernate/EntityMode;)V
23: aload 6
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getCollection:()Lorg/hibernate/collection/spi/PersistentCollection;
24: invokeinterface org.hibernate.engine.spi.PersistenceContext.addUnownedCollection:(Lorg/hibernate/engine/spi/CollectionKey;Lorg/hibernate/collection/spi/PersistentCollection;)V
25: StackMap locals:
StackMap stack:
getstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Removing collection load entry [{0}]"
aload 6
invokeinterface org.hibernate.internal.CoreMessageLogger.tracev:(Ljava/lang/String;Ljava/lang/Object;)V
26: aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.loadContexts:Lorg/hibernate/engine/loading/internal/LoadContexts;
aload 5
invokevirtual org.hibernate.engine.loading.internal.LoadContexts.unregisterLoadingCollectionXRef:(Lorg/hibernate/engine/spi/CollectionKey;)V
27: aload 4
invokeinterface java.util.Iterator.remove:()V
end local 6 end local 5 28: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
29: aload 0
aload 1
aload 3
invokevirtual org.hibernate.engine.loading.internal.CollectionLoadContext.endLoadingCollections:(Lorg/hibernate/persister/collection/CollectionPersister;Ljava/util/List;)V
30: aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.localLoadingCollectionKeys:Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifeq 32
31: aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.loadContexts:Lorg/hibernate/engine/loading/internal/LoadContexts;
aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.resultSet:Ljava/sql/ResultSet;
invokevirtual org.hibernate.engine.loading.internal.LoadContexts.cleanup:(Ljava/sql/ResultSet;)V
32: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lorg/hibernate/engine/loading/internal/CollectionLoadContext;
0 33 1 persister Lorg/hibernate/persister/collection/CollectionPersister;
1 33 2 session Lorg/hibernate/engine/spi/SessionImplementor;
5 33 3 matches Ljava/util/List<Lorg/hibernate/engine/loading/internal/LoadingCollectionEntry;>;
6 33 4 itr Ljava/util/Iterator;
8 28 5 collectionKey Lorg/hibernate/engine/spi/CollectionKey;
9 28 6 lce Lorg/hibernate/engine/loading/internal/LoadingCollectionEntry;
MethodParameters:
Name Flags
persister
private void endLoadingCollections(org.hibernate.persister.collection.CollectionPersister, java.util.List<org.hibernate.engine.loading.internal.LoadingCollectionEntry>);
descriptor: (Lorg/hibernate/persister/collection/CollectionPersister;Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.isDebugEnabled:()Z
istore 3
start local 3 1: aload 2
ifnonnull 5
2: iload 3
ifeq 4
3: getstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "No collections were found in result set for role: %s"
aload 1
invokeinterface org.hibernate.persister.collection.CollectionPersister.getRole:()Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.debugf:(Ljava/lang/String;Ljava/lang/Object;)V
4: StackMap locals: int
StackMap stack:
return
5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.List.size:()I
istore 4
start local 4 6: iload 3
ifeq 8
7: getstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "%s collections were found in result set for role: %s"
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 1
invokeinterface org.hibernate.persister.collection.CollectionPersister.getRole:()Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.debugf:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
8: StackMap locals: int
StackMap stack:
aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 11
StackMap locals: org.hibernate.engine.loading.internal.CollectionLoadContext org.hibernate.persister.collection.CollectionPersister java.util.List int int top java.util.Iterator
StackMap stack:
9: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.engine.loading.internal.LoadingCollectionEntry
astore 5
start local 5 10: aload 0
aload 5
aload 1
invokevirtual org.hibernate.engine.loading.internal.CollectionLoadContext.endLoadingCollection:(Lorg/hibernate/engine/loading/internal/LoadingCollectionEntry;Lorg/hibernate/persister/collection/CollectionPersister;)V
end local 5 11: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
12: iload 3
ifeq 14
13: getstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "%s collections initialized for role: %s"
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 1
invokeinterface org.hibernate.persister.collection.CollectionPersister.getRole:()Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.debugf:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
14: StackMap locals: org.hibernate.engine.loading.internal.CollectionLoadContext org.hibernate.persister.collection.CollectionPersister java.util.List int int
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/hibernate/engine/loading/internal/CollectionLoadContext;
0 15 1 persister Lorg/hibernate/persister/collection/CollectionPersister;
0 15 2 matchedCollectionEntries Ljava/util/List<Lorg/hibernate/engine/loading/internal/LoadingCollectionEntry;>;
1 15 3 debugEnabled Z
6 15 4 count I
10 11 5 matchedCollectionEntry Lorg/hibernate/engine/loading/internal/LoadingCollectionEntry;
Signature: (Lorg/hibernate/persister/collection/CollectionPersister;Ljava/util/List<Lorg/hibernate/engine/loading/internal/LoadingCollectionEntry;>;)V
MethodParameters:
Name Flags
persister
matchedCollectionEntries
private void endLoadingCollection(org.hibernate.engine.loading.internal.LoadingCollectionEntry, org.hibernate.persister.collection.CollectionPersister);
descriptor: (Lorg/hibernate/engine/loading/internal/LoadingCollectionEntry;Lorg/hibernate/persister/collection/CollectionPersister;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Ending loading collection [{0}]"
aload 1
invokeinterface org.hibernate.internal.CoreMessageLogger.tracev:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 0
invokevirtual org.hibernate.engine.loading.internal.CollectionLoadContext.getLoadContext:()Lorg/hibernate/engine/loading/internal/LoadContexts;
invokevirtual org.hibernate.engine.loading.internal.LoadContexts.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
invokeinterface org.hibernate.engine.spi.PersistenceContext.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
astore 3
start local 3 2: aload 1
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getCollection:()Lorg/hibernate/collection/spi/PersistentCollection;
invokeinterface org.hibernate.collection.spi.PersistentCollection.endRead:()Z
istore 4
start local 4 3: aload 2
invokeinterface org.hibernate.persister.collection.CollectionPersister.getCollectionType:()Lorg/hibernate/type/CollectionType;
invokevirtual org.hibernate.type.CollectionType.hasHolder:()Z
ifeq 5
4: aload 0
invokevirtual org.hibernate.engine.loading.internal.CollectionLoadContext.getLoadContext:()Lorg/hibernate/engine/loading/internal/LoadContexts;
invokevirtual org.hibernate.engine.loading.internal.LoadContexts.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 1
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getCollection:()Lorg/hibernate/collection/spi/PersistentCollection;
invokeinterface org.hibernate.engine.spi.PersistenceContext.addCollectionHolder:(Lorg/hibernate/collection/spi/PersistentCollection;)V
5: StackMap locals: org.hibernate.engine.spi.SessionImplementor int
StackMap stack:
aload 0
invokevirtual org.hibernate.engine.loading.internal.CollectionLoadContext.getLoadContext:()Lorg/hibernate/engine/loading/internal/LoadContexts;
invokevirtual org.hibernate.engine.loading.internal.LoadContexts.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 1
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getCollection:()Lorg/hibernate/collection/spi/PersistentCollection;
invokeinterface org.hibernate.engine.spi.PersistenceContext.getCollectionEntry:(Lorg/hibernate/collection/spi/PersistentCollection;)Lorg/hibernate/engine/spi/CollectionEntry;
astore 5
start local 5 6: aload 5
ifnonnull 9
7: aload 0
invokevirtual org.hibernate.engine.loading.internal.CollectionLoadContext.getLoadContext:()Lorg/hibernate/engine/loading/internal/LoadContexts;
invokevirtual org.hibernate.engine.loading.internal.LoadContexts.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 2
aload 1
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getCollection:()Lorg/hibernate/collection/spi/PersistentCollection;
aload 1
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getKey:()Ljava/io/Serializable;
invokeinterface org.hibernate.engine.spi.PersistenceContext.addInitializedCollection:(Lorg/hibernate/persister/collection/CollectionPersister;Lorg/hibernate/collection/spi/PersistentCollection;Ljava/io/Serializable;)Lorg/hibernate/engine/spi/CollectionEntry;
astore 5
8: goto 10
9: StackMap locals: org.hibernate.engine.spi.CollectionEntry
StackMap stack:
aload 5
aload 1
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getCollection:()Lorg/hibernate/collection/spi/PersistentCollection;
invokevirtual org.hibernate.engine.spi.CollectionEntry.postInitialize:(Lorg/hibernate/collection/spi/PersistentCollection;)V
10: StackMap locals:
StackMap stack:
iload 4
ifeq 14
11: aload 2
invokeinterface org.hibernate.persister.collection.CollectionPersister.hasCache:()Z
ifeq 14
12: aload 3
invokeinterface org.hibernate.engine.spi.SessionImplementor.getCacheMode:()Lorg/hibernate/CacheMode;
invokevirtual org.hibernate.CacheMode.isPutEnabled:()Z
ifeq 14
aload 5
invokevirtual org.hibernate.engine.spi.CollectionEntry.isDoremove:()Z
ifne 14
13: iconst_1
goto 15
StackMap locals:
StackMap stack:
14: iconst_0
StackMap locals:
StackMap stack: int
15: istore 6
start local 6 16: iload 6
ifeq 18
17: aload 0
aload 1
aload 2
invokevirtual org.hibernate.engine.loading.internal.CollectionLoadContext.addCollectionToCache:(Lorg/hibernate/engine/loading/internal/LoadingCollectionEntry;Lorg/hibernate/persister/collection/CollectionPersister;)V
18: StackMap locals: int
StackMap stack:
getstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.isDebugEnabled:()Z
ifeq 23
19: getstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
20: ldc "Collection fully initialized: %s"
21: aload 2
aload 1
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getCollection:()Lorg/hibernate/collection/spi/PersistentCollection;
aload 1
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getKey:()Ljava/io/Serializable;
aload 3
invokestatic org.hibernate.pretty.MessageHelper.collectionInfoString:(Lorg/hibernate/persister/collection/CollectionPersister;Lorg/hibernate/collection/spi/PersistentCollection;Ljava/io/Serializable;Lorg/hibernate/engine/spi/SessionImplementor;)Ljava/lang/String;
22: invokeinterface org.hibernate.internal.CoreMessageLogger.debugf:(Ljava/lang/String;Ljava/lang/Object;)V
23: StackMap locals:
StackMap stack:
aload 3
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 25
24: aload 3
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 2
invokeinterface org.hibernate.persister.collection.CollectionPersister.getRole:()Ljava/lang/String;
invokeinterface org.hibernate.stat.spi.StatisticsImplementor.loadCollection:(Ljava/lang/String;)V
25: StackMap locals:
StackMap stack:
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 26 0 this Lorg/hibernate/engine/loading/internal/CollectionLoadContext;
0 26 1 lce Lorg/hibernate/engine/loading/internal/LoadingCollectionEntry;
0 26 2 persister Lorg/hibernate/persister/collection/CollectionPersister;
2 26 3 session Lorg/hibernate/engine/spi/SessionImplementor;
3 26 4 hasNoQueuedAdds Z
6 26 5 ce Lorg/hibernate/engine/spi/CollectionEntry;
16 26 6 addToCache Z
MethodParameters:
Name Flags
lce
persister
private void addCollectionToCache(org.hibernate.engine.loading.internal.LoadingCollectionEntry, org.hibernate.persister.collection.CollectionPersister);
descriptor: (Lorg/hibernate/engine/loading/internal/LoadingCollectionEntry;Lorg/hibernate/persister/collection/CollectionPersister;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=15, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.hibernate.engine.loading.internal.CollectionLoadContext.getLoadContext:()Lorg/hibernate/engine/loading/internal/LoadContexts;
invokevirtual org.hibernate.engine.loading.internal.LoadContexts.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
invokeinterface org.hibernate.engine.spi.PersistenceContext.getSession:()Lorg/hibernate/engine/spi/SessionImplementor;
astore 3
start local 3 1: aload 3
invokeinterface org.hibernate.engine.spi.SessionImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
astore 4
start local 4 2: getstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.isDebugEnabled:()Z
istore 5
start local 5 3: iload 5
ifeq 5
4: getstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Caching collection: %s"
aload 2
aload 1
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getCollection:()Lorg/hibernate/collection/spi/PersistentCollection;
aload 1
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getKey:()Ljava/io/Serializable;
aload 3
invokestatic org.hibernate.pretty.MessageHelper.collectionInfoString:(Lorg/hibernate/persister/collection/CollectionPersister;Lorg/hibernate/collection/spi/PersistentCollection;Ljava/io/Serializable;Lorg/hibernate/engine/spi/SessionImplementor;)Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.debugf:(Ljava/lang/String;Ljava/lang/Object;)V
5: StackMap locals: org.hibernate.engine.spi.SessionImplementor org.hibernate.engine.spi.SessionFactoryImplementor int
StackMap stack:
aload 3
invokeinterface org.hibernate.engine.spi.SessionImplementor.getEnabledFilters:()Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifne 9
aload 2
aload 3
invokeinterface org.hibernate.persister.collection.CollectionPersister.isAffectedByEnabledFilters:(Lorg/hibernate/engine/spi/SessionImplementor;)Z
ifeq 9
6: iload 5
ifeq 8
7: getstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Refusing to add to cache due to enabled filters"
invokeinterface org.hibernate.internal.CoreMessageLogger.debug:(Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
return
9: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.hibernate.persister.collection.CollectionPersister.isVersioned:()Z
ifeq 26
10: aload 0
invokevirtual org.hibernate.engine.loading.internal.CollectionLoadContext.getLoadContext:()Lorg/hibernate/engine/loading/internal/LoadContexts;
invokevirtual org.hibernate.engine.loading.internal.LoadContexts.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 1
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getKey:()Ljava/io/Serializable;
aload 2
invokeinterface org.hibernate.engine.spi.PersistenceContext.getCollectionOwner:(Ljava/io/Serializable;Lorg/hibernate/persister/collection/CollectionPersister;)Ljava/lang/Object;
astore 7
start local 7 11: aload 7
ifnonnull 24
12: aload 1
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getCollection:()Lorg/hibernate/collection/spi/PersistentCollection;
ifnull 17
13: aload 1
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getCollection:()Lorg/hibernate/collection/spi/PersistentCollection;
invokeinterface org.hibernate.collection.spi.PersistentCollection.getOwner:()Ljava/lang/Object;
astore 8
start local 8 14: aload 8
ifnull 17
15: aload 2
invokeinterface org.hibernate.persister.collection.CollectionPersister.getOwnerEntityPersister:()Lorg/hibernate/persister/entity/EntityPersister;
aload 8
aload 3
invokeinterface org.hibernate.persister.entity.EntityPersister.getIdentifier:(Ljava/lang/Object;Lorg/hibernate/engine/spi/SessionImplementor;)Ljava/io/Serializable;
astore 9
start local 9 16: aload 0
invokevirtual org.hibernate.engine.loading.internal.CollectionLoadContext.getLoadContext:()Lorg/hibernate/engine/loading/internal/LoadContexts;
invokevirtual org.hibernate.engine.loading.internal.LoadContexts.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 9
aload 2
invokeinterface org.hibernate.engine.spi.PersistenceContext.getCollectionOwner:(Ljava/io/Serializable;Lorg/hibernate/persister/collection/CollectionPersister;)Ljava/lang/Object;
astore 7
end local 9 end local 8 17: StackMap locals: org.hibernate.engine.loading.internal.CollectionLoadContext org.hibernate.engine.loading.internal.LoadingCollectionEntry org.hibernate.persister.collection.CollectionPersister org.hibernate.engine.spi.SessionImplementor org.hibernate.engine.spi.SessionFactoryImplementor int top java.lang.Object
StackMap stack:
aload 7
ifnonnull 24
18: new org.hibernate.HibernateException
dup
19: new java.lang.StringBuilder
dup
ldc "Unable to resolve owner of loading collection ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
20: aload 2
aload 1
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getCollection:()Lorg/hibernate/collection/spi/PersistentCollection;
aload 1
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getKey:()Ljava/io/Serializable;
aload 3
invokestatic org.hibernate.pretty.MessageHelper.collectionInfoString:(Lorg/hibernate/persister/collection/CollectionPersister;Lorg/hibernate/collection/spi/PersistentCollection;Ljava/io/Serializable;Lorg/hibernate/engine/spi/SessionImplementor;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
21: ldc "] for second level caching"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
22: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
23: invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.engine.loading.internal.CollectionLoadContext.getLoadContext:()Lorg/hibernate/engine/loading/internal/LoadContexts;
invokevirtual org.hibernate.engine.loading.internal.LoadContexts.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 7
invokeinterface org.hibernate.engine.spi.PersistenceContext.getEntry:(Ljava/lang/Object;)Lorg/hibernate/engine/spi/EntityEntry;
invokevirtual org.hibernate.engine.spi.EntityEntry.getVersion:()Ljava/lang/Object;
astore 6
end local 7 start local 6 25: goto 27
end local 6 26: StackMap locals: org.hibernate.engine.loading.internal.CollectionLoadContext org.hibernate.engine.loading.internal.LoadingCollectionEntry org.hibernate.persister.collection.CollectionPersister org.hibernate.engine.spi.SessionImplementor org.hibernate.engine.spi.SessionFactoryImplementor int
StackMap stack:
aconst_null
astore 6
start local 6 27: StackMap locals: java.lang.Object
StackMap stack:
new org.hibernate.cache.spi.entry.CollectionCacheEntry
dup
aload 1
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getCollection:()Lorg/hibernate/collection/spi/PersistentCollection;
aload 2
invokespecial org.hibernate.cache.spi.entry.CollectionCacheEntry.<init>:(Lorg/hibernate/collection/spi/PersistentCollection;Lorg/hibernate/persister/collection/CollectionPersister;)V
astore 7
start local 7 28: aload 3
aload 1
invokevirtual org.hibernate.engine.loading.internal.LoadingCollectionEntry.getKey:()Ljava/io/Serializable;
aload 2
invokeinterface org.hibernate.persister.collection.CollectionPersister.getKeyType:()Lorg/hibernate/type/Type;
aload 2
invokeinterface org.hibernate.persister.collection.CollectionPersister.getRole:()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 29: iconst_1
istore 9
start local 9 30: aload 2
invokeinterface org.hibernate.persister.collection.CollectionPersister.getElementType:()Lorg/hibernate/type/Type;
invokeinterface org.hibernate.type.Type.isAssociationType:()Z
ifeq 39
31: aload 7
invokevirtual org.hibernate.cache.spi.entry.CollectionCacheEntry.getState:()[Ljava/io/Serializable;
dup
astore 13
arraylength
istore 12
iconst_0
istore 11
goto 38
StackMap locals: org.hibernate.engine.loading.internal.CollectionLoadContext org.hibernate.engine.loading.internal.LoadingCollectionEntry org.hibernate.persister.collection.CollectionPersister org.hibernate.engine.spi.SessionImplementor org.hibernate.engine.spi.SessionFactoryImplementor int java.lang.Object org.hibernate.cache.spi.entry.CollectionCacheEntry org.hibernate.cache.spi.CacheKey int top int int java.io.Serializable[]
StackMap stack:
32: aload 13
iload 11
aaload
astore 10
start local 10 33: aload 2
checkcast org.hibernate.persister.collection.QueryableCollection
invokeinterface org.hibernate.persister.collection.QueryableCollection.getElementPersister:()Lorg/hibernate/persister/entity/EntityPersister;
astore 14
start local 14 34: aload 3
invokeinterface org.hibernate.engine.spi.SessionImplementor.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 14
aload 10
invokeinterface org.hibernate.engine.spi.PersistenceContext.wasInsertedDuringTransaction:(Lorg/hibernate/persister/entity/EntityPersister;Ljava/io/Serializable;)Z
ifeq 37
35: iconst_0
istore 9
36: goto 39
end local 14 end local 10 37: StackMap locals:
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
38: iload 11
iload 12
if_icmplt 32
39: StackMap locals: org.hibernate.engine.loading.internal.CollectionLoadContext org.hibernate.engine.loading.internal.LoadingCollectionEntry org.hibernate.persister.collection.CollectionPersister org.hibernate.engine.spi.SessionImplementor org.hibernate.engine.spi.SessionFactoryImplementor int java.lang.Object org.hibernate.cache.spi.entry.CollectionCacheEntry org.hibernate.cache.spi.CacheKey int
StackMap stack:
iload 9
ifeq 56
40: aload 3
invokeinterface org.hibernate.engine.spi.SessionImplementor.getEventListenerManager:()Lorg/hibernate/engine/spi/SessionEventListenerManager;
invokeinterface org.hibernate.engine.spi.SessionEventListenerManager.cachePutStart:()V
41: aload 2
invokeinterface org.hibernate.persister.collection.CollectionPersister.getCacheAccessStrategy:()Lorg/hibernate/cache/spi/access/CollectionRegionAccessStrategy;
42: aload 8
43: aload 2
invokeinterface org.hibernate.persister.collection.CollectionPersister.getCacheEntryStructure:()Lorg/hibernate/cache/spi/entry/CacheEntryStructure;
aload 7
invokeinterface org.hibernate.cache.spi.entry.CacheEntryStructure.structure:(Ljava/lang/Object;)Ljava/lang/Object;
44: aload 3
invokeinterface org.hibernate.engine.spi.SessionImplementor.getTimestamp:()J
45: aload 6
46: aload 4
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getSettings:()Lorg/hibernate/cfg/Settings;
invokevirtual org.hibernate.cfg.Settings.isMinimalPutsEnabled:()Z
ifeq 47
aload 3
invokeinterface org.hibernate.engine.spi.SessionImplementor.getCacheMode:()Lorg/hibernate/CacheMode;
getstatic org.hibernate.CacheMode.REFRESH:Lorg/hibernate/CacheMode;
if_acmpeq 47
iconst_1
goto 48
StackMap locals: org.hibernate.engine.loading.internal.CollectionLoadContext org.hibernate.engine.loading.internal.LoadingCollectionEntry org.hibernate.persister.collection.CollectionPersister org.hibernate.engine.spi.SessionImplementor org.hibernate.engine.spi.SessionFactoryImplementor int java.lang.Object org.hibernate.cache.spi.entry.CollectionCacheEntry org.hibernate.cache.spi.CacheKey int
StackMap stack: org.hibernate.cache.spi.access.CollectionRegionAccessStrategy org.hibernate.cache.spi.CacheKey java.lang.Object long java.lang.Object
47: iconst_0
48: StackMap locals: org.hibernate.engine.loading.internal.CollectionLoadContext org.hibernate.engine.loading.internal.LoadingCollectionEntry org.hibernate.persister.collection.CollectionPersister org.hibernate.engine.spi.SessionImplementor org.hibernate.engine.spi.SessionFactoryImplementor int java.lang.Object org.hibernate.cache.spi.entry.CollectionCacheEntry org.hibernate.cache.spi.CacheKey int
StackMap stack: org.hibernate.cache.spi.access.CollectionRegionAccessStrategy org.hibernate.cache.spi.CacheKey java.lang.Object long java.lang.Object int
invokeinterface org.hibernate.cache.spi.access.CollectionRegionAccessStrategy.putFromLoad:(Ljava/lang/Object;Ljava/lang/Object;JLjava/lang/Object;Z)Z
istore 10
start local 10 49: iload 10
ifeq 55
aload 4
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getStatistics:()Lorg/hibernate/stat/Statistics;
invokeinterface org.hibernate.stat.Statistics.isStatisticsEnabled:()Z
ifeq 55
50: aload 4
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getStatisticsImplementor:()Lorg/hibernate/stat/spi/StatisticsImplementor;
aload 2
invokeinterface org.hibernate.persister.collection.CollectionPersister.getCacheAccessStrategy:()Lorg/hibernate/cache/spi/access/CollectionRegionAccessStrategy;
invokeinterface org.hibernate.cache.spi.access.CollectionRegionAccessStrategy.getRegion:()Lorg/hibernate/cache/spi/CollectionRegion;
invokeinterface org.hibernate.cache.spi.CollectionRegion.getName:()Ljava/lang/String;
invokeinterface org.hibernate.stat.spi.StatisticsImplementor.secondLevelCachePut:(Ljava/lang/String;)V
end local 10 51: goto 55
52: StackMap locals:
StackMap stack: java.lang.Throwable
astore 11
53: aload 3
invokeinterface org.hibernate.engine.spi.SessionImplementor.getEventListenerManager:()Lorg/hibernate/engine/spi/SessionEventListenerManager;
invokeinterface org.hibernate.engine.spi.SessionEventListenerManager.cachePutEnd:()V
54: aload 11
athrow
55: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.hibernate.engine.spi.SessionImplementor.getEventListenerManager:()Lorg/hibernate/engine/spi/SessionEventListenerManager;
invokeinterface org.hibernate.engine.spi.SessionEventListenerManager.cachePutEnd:()V
56: StackMap locals:
StackMap stack:
return
end local 9 end local 8 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 57 0 this Lorg/hibernate/engine/loading/internal/CollectionLoadContext;
0 57 1 lce Lorg/hibernate/engine/loading/internal/LoadingCollectionEntry;
0 57 2 persister Lorg/hibernate/persister/collection/CollectionPersister;
1 57 3 session Lorg/hibernate/engine/spi/SessionImplementor;
2 57 4 factory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
3 57 5 debugEnabled Z
25 26 6 version Ljava/lang/Object;
27 57 6 version Ljava/lang/Object;
11 25 7 collectionOwner Ljava/lang/Object;
14 17 8 linkedOwner Ljava/lang/Object;
16 17 9 ownerKey Ljava/io/Serializable;
28 57 7 entry Lorg/hibernate/cache/spi/entry/CollectionCacheEntry;
29 57 8 cacheKey Lorg/hibernate/cache/spi/CacheKey;
30 57 9 isPutFromLoad Z
33 37 10 id Ljava/io/Serializable;
34 37 14 entityPersister Lorg/hibernate/persister/entity/EntityPersister;
49 51 10 put Z
Exception table:
from to target type
40 52 52 any
MethodParameters:
Name Flags
lce
persister
void cleanup();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.localLoadingCollectionKeys:Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifne 2
1: getstatic org.hibernate.engine.loading.internal.CollectionLoadContext.LOG:Lorg/hibernate/internal/CoreMessageLogger;
aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.localLoadingCollectionKeys:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
invokeinterface org.hibernate.internal.CoreMessageLogger.localLoadingCollectionKeysCount:(I)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.loadContexts:Lorg/hibernate/engine/loading/internal/LoadContexts;
aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.localLoadingCollectionKeys:Ljava/util/Set;
invokevirtual org.hibernate.engine.loading.internal.LoadContexts.cleanupCollectionXRefs:(Ljava/util/Set;)V
3: aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.localLoadingCollectionKeys:Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/engine/loading/internal/CollectionLoadContext;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokespecial java.lang.Object.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "<rs="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.engine.loading.internal.CollectionLoadContext.resultSet:Ljava/sql/ResultSet;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/engine/loading/internal/CollectionLoadContext;
}
SourceFile: "CollectionLoadContext.java"