public final class org.hibernate.engine.internal.Cascade
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.hibernate.engine.internal.Cascade
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
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/hibernate/engine/internal/Cascade;
invokestatic org.hibernate.internal.CoreLogging.messageLogger:(Ljava/lang/Class;)Lorg/hibernate/internal/CoreMessageLogger;
putstatic org.hibernate.engine.internal.Cascade.LOG:Lorg/hibernate/internal/CoreMessageLogger;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/engine/internal/Cascade;
public static void cascade(org.hibernate.engine.spi.CascadingAction, org.hibernate.engine.internal.CascadePoint, org.hibernate.event.spi.EventSource, org.hibernate.persister.entity.EntityPersister, java.lang.Object);
descriptor: (Lorg/hibernate/engine/spi/CascadingAction;Lorg/hibernate/engine/internal/CascadePoint;Lorg/hibernate/event/spi/EventSource;Lorg/hibernate/persister/entity/EntityPersister;Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
aconst_null
invokestatic org.hibernate.engine.internal.Cascade.cascade:(Lorg/hibernate/engine/spi/CascadingAction;Lorg/hibernate/engine/internal/CascadePoint;Lorg/hibernate/event/spi/EventSource;Lorg/hibernate/persister/entity/EntityPersister;Ljava/lang/Object;Ljava/lang/Object;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 action Lorg/hibernate/engine/spi/CascadingAction;
0 2 1 cascadePoint Lorg/hibernate/engine/internal/CascadePoint;
0 2 2 eventSource Lorg/hibernate/event/spi/EventSource;
0 2 3 persister Lorg/hibernate/persister/entity/EntityPersister;
0 2 4 parent Ljava/lang/Object;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
action final
cascadePoint final
eventSource final
persister final
parent final
public static void cascade(org.hibernate.engine.spi.CascadingAction, org.hibernate.engine.internal.CascadePoint, org.hibernate.event.spi.EventSource, org.hibernate.persister.entity.EntityPersister, java.lang.Object, java.lang.Object);
descriptor: (Lorg/hibernate/engine/spi/CascadingAction;Lorg/hibernate/engine/internal/CascadePoint;Lorg/hibernate/event/spi/EventSource;Lorg/hibernate/persister/entity/EntityPersister;Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=11, locals=17, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 3
invokeinterface org.hibernate.persister.entity.EntityPersister.hasCascades:()Z
ifne 1
aload 0
invokeinterface org.hibernate.engine.spi.CascadingAction.requiresNoCascadeChecking:()Z
ifeq 63
1: StackMap locals:
StackMap stack:
getstatic org.hibernate.engine.internal.Cascade.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.isTraceEnabled:()Z
istore 6
start local 6 2: iload 6
ifeq 4
3: getstatic org.hibernate.engine.internal.Cascade.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Processing cascade {0} for: {1}"
aload 0
aload 3
invokeinterface org.hibernate.persister.entity.EntityPersister.getEntityName:()Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.tracev:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
4: StackMap locals: int
StackMap stack:
aload 3
invokeinterface org.hibernate.persister.entity.EntityPersister.getPropertyTypes:()[Lorg/hibernate/type/Type;
astore 7
start local 7 5: aload 3
invokeinterface org.hibernate.persister.entity.EntityPersister.getPropertyNames:()[Ljava/lang/String;
astore 8
start local 8 6: aload 3
invokeinterface org.hibernate.persister.entity.EntityPersister.getPropertyCascadeStyles:()[Lorg/hibernate/engine/spi/CascadeStyle;
astore 9
start local 9 7: aload 3
aload 4
invokeinterface org.hibernate.persister.entity.EntityPersister.hasUninitializedLazyProperties:(Ljava/lang/Object;)Z
istore 10
start local 10 8: iconst_0
istore 11
start local 11 9: goto 60
10: StackMap locals: org.hibernate.engine.spi.CascadingAction org.hibernate.engine.internal.CascadePoint org.hibernate.event.spi.EventSource org.hibernate.persister.entity.EntityPersister java.lang.Object java.lang.Object int org.hibernate.type.Type[] java.lang.String[] org.hibernate.engine.spi.CascadeStyle[] int int
StackMap stack:
aload 9
iload 11
aaload
astore 12
start local 12 11: aload 8
iload 11
aaload
astore 13
start local 13 12: iload 10
ifeq 15
13: aload 3
invokeinterface org.hibernate.persister.entity.EntityPersister.getInstrumentationMetadata:()Lorg/hibernate/bytecode/spi/BytecodeEnhancementMetadata;
aload 4
aload 13
invokeinterface org.hibernate.bytecode.spi.BytecodeEnhancementMetadata.isAttributeLoaded:(Ljava/lang/Object;Ljava/lang/String;)Z
ifne 15
14: iconst_1
goto 16
StackMap locals: org.hibernate.engine.spi.CascadeStyle java.lang.String
StackMap stack:
15: iconst_0
StackMap locals:
StackMap stack: int
16: istore 14
start local 14 17: aload 12
aload 0
invokeinterface org.hibernate.engine.spi.CascadeStyle.doCascade:(Lorg/hibernate/engine/spi/CascadingAction;)Z
ifeq 40
18: iload 14
ifeq 26
19: aload 7
iload 11
aaload
invokeinterface org.hibernate.type.Type.isCollectionType:()Z
ifeq 22
20: aload 7
iload 11
aaload
getstatic org.hibernate.bytecode.enhance.spi.LazyPropertyInitializer.UNFETCHED_PROPERTY:Ljava/io/Serializable;
aload 2
aload 4
invokeinterface org.hibernate.type.Type.resolve:(Ljava/lang/Object;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;Ljava/lang/Object;)Ljava/lang/Object;
astore 15
start local 15 21: goto 27
end local 15 22: StackMap locals: int
StackMap stack:
aload 0
invokeinterface org.hibernate.engine.spi.CascadingAction.performOnLazyProperty:()Z
ifeq 59
23: aload 3
invokeinterface org.hibernate.persister.entity.EntityPersister.getInstrumentationMetadata:()Lorg/hibernate/bytecode/spi/BytecodeEnhancementMetadata;
aload 4
invokeinterface org.hibernate.bytecode.spi.BytecodeEnhancementMetadata.extractInterceptor:(Ljava/lang/Object;)Lorg/hibernate/bytecode/enhance/spi/interceptor/LazyAttributeLoadingInterceptor;
astore 16
start local 16 24: aload 16
aload 4
aload 13
invokevirtual org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor.fetchAttribute:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
astore 15
end local 16 start local 15 25: goto 27
end local 15 26: StackMap locals:
StackMap stack:
aload 3
aload 4
iload 11
invokeinterface org.hibernate.persister.entity.EntityPersister.getPropertyValue:(Ljava/lang/Object;I)Ljava/lang/Object;
astore 15
start local 15 27: StackMap locals: java.lang.Object
StackMap stack:
aload 0
28: aload 1
29: aload 2
30: iconst_0
31: aload 4
32: aload 15
33: aload 7
iload 11
aaload
34: aload 12
35: aload 13
36: aload 5
37: iconst_0
38: invokestatic org.hibernate.engine.internal.Cascade.cascadeProperty:(Lorg/hibernate/engine/spi/CascadingAction;Lorg/hibernate/engine/internal/CascadePoint;Lorg/hibernate/event/spi/EventSource;ILjava/lang/Object;Ljava/lang/Object;Lorg/hibernate/type/Type;Lorg/hibernate/engine/spi/CascadeStyle;Ljava/lang/String;Ljava/lang/Object;Z)V
end local 15 39: goto 59
40: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.hibernate.engine.spi.CascadingAction.requiresNoCascadeChecking:()Z
ifeq 48
41: aload 0
42: aload 2
43: aload 4
44: aload 3
45: aload 7
iload 11
aaload
46: iload 11
47: invokeinterface org.hibernate.engine.spi.CascadingAction.noCascade:(Lorg/hibernate/event/spi/EventSource;Ljava/lang/Object;Lorg/hibernate/persister/entity/EntityPersister;Lorg/hibernate/type/Type;I)V
48: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.hibernate.engine.spi.CascadingAction.deleteOrphans:()Z
ifeq 59
iload 14
ifne 59
49: aload 0
50: aload 2
51: iconst_0
52: aload 4
53: aload 3
aload 4
iload 11
invokeinterface org.hibernate.persister.entity.EntityPersister.getPropertyValue:(Ljava/lang/Object;I)Ljava/lang/Object;
54: aload 7
iload 11
aaload
55: aload 12
56: aload 13
57: iconst_0
58: invokestatic org.hibernate.engine.internal.Cascade.cascadeLogicalOneToOneOrphanRemoval:(Lorg/hibernate/engine/spi/CascadingAction;Lorg/hibernate/event/spi/EventSource;ILjava/lang/Object;Ljava/lang/Object;Lorg/hibernate/type/Type;Lorg/hibernate/engine/spi/CascadeStyle;Ljava/lang/String;Z)V
end local 14 end local 13 end local 12 59: StackMap locals:
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
60: iload 11
aload 7
arraylength
if_icmplt 10
end local 11 61: iload 6
ifeq 63
62: getstatic org.hibernate.engine.internal.Cascade.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Done processing cascade {0} for: {1}"
aload 0
aload 3
invokeinterface org.hibernate.persister.entity.EntityPersister.getEntityName:()Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.tracev:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 10 end local 9 end local 8 end local 7 end local 6 63: StackMap locals: org.hibernate.engine.spi.CascadingAction org.hibernate.engine.internal.CascadePoint org.hibernate.event.spi.EventSource org.hibernate.persister.entity.EntityPersister java.lang.Object java.lang.Object
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 64 0 action Lorg/hibernate/engine/spi/CascadingAction;
0 64 1 cascadePoint Lorg/hibernate/engine/internal/CascadePoint;
0 64 2 eventSource Lorg/hibernate/event/spi/EventSource;
0 64 3 persister Lorg/hibernate/persister/entity/EntityPersister;
0 64 4 parent Ljava/lang/Object;
0 64 5 anything Ljava/lang/Object;
2 63 6 traceEnabled Z
5 63 7 types [Lorg/hibernate/type/Type;
6 63 8 propertyNames [Ljava/lang/String;
7 63 9 cascadeStyles [Lorg/hibernate/engine/spi/CascadeStyle;
8 63 10 hasUninitializedLazyProperties Z
9 61 11 i I
11 59 12 style Lorg/hibernate/engine/spi/CascadeStyle;
12 59 13 propertyName Ljava/lang/String;
17 59 14 isUninitializedProperty Z
21 22 15 child Ljava/lang/Object;
25 26 15 child Ljava/lang/Object;
27 39 15 child Ljava/lang/Object;
24 25 16 interceptor Lorg/hibernate/bytecode/enhance/spi/interceptor/LazyAttributeLoadingInterceptor;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
action final
cascadePoint final
eventSource final
persister final
parent final
anything final
private static void cascadeProperty(org.hibernate.engine.spi.CascadingAction, org.hibernate.engine.internal.CascadePoint, org.hibernate.event.spi.EventSource, int, java.lang.Object, java.lang.Object, org.hibernate.type.Type, org.hibernate.engine.spi.CascadeStyle, java.lang.String, java.lang.Object, boolean);
descriptor: (Lorg/hibernate/engine/spi/CascadingAction;Lorg/hibernate/engine/internal/CascadePoint;Lorg/hibernate/event/spi/EventSource;ILjava/lang/Object;Ljava/lang/Object;Lorg/hibernate/type/Type;Lorg/hibernate/engine/spi/CascadeStyle;Ljava/lang/String;Ljava/lang/Object;Z)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=10, locals=12, args_size=11
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 0: aload 5
ifnull 26
1: aload 6
invokeinterface org.hibernate.type.Type.isAssociationType:()Z
ifeq 16
2: aload 6
checkcast org.hibernate.type.AssociationType
astore 11
start local 11 3: aload 1
aload 11
invokestatic org.hibernate.engine.internal.Cascade.cascadeAssociationNow:(Lorg/hibernate/engine/internal/CascadePoint;Lorg/hibernate/type/AssociationType;)Z
ifeq 26
4: aload 0
5: aload 1
6: aload 2
7: iload 3
8: aload 4
9: aload 5
10: aload 6
11: aload 7
12: aload 9
13: iload 10
14: invokestatic org.hibernate.engine.internal.Cascade.cascadeAssociation:(Lorg/hibernate/engine/spi/CascadingAction;Lorg/hibernate/engine/internal/CascadePoint;Lorg/hibernate/event/spi/EventSource;ILjava/lang/Object;Ljava/lang/Object;Lorg/hibernate/type/Type;Lorg/hibernate/engine/spi/CascadeStyle;Ljava/lang/Object;Z)V
end local 11 15: goto 26
16: StackMap locals:
StackMap stack:
aload 6
invokeinterface org.hibernate.type.Type.isComponentType:()Z
ifeq 26
17: aload 0
18: aload 1
19: aload 2
20: iload 3
21: aload 4
22: aload 5
23: aload 6
checkcast org.hibernate.type.CompositeType
24: aload 9
25: invokestatic org.hibernate.engine.internal.Cascade.cascadeComponent:(Lorg/hibernate/engine/spi/CascadingAction;Lorg/hibernate/engine/internal/CascadePoint;Lorg/hibernate/event/spi/EventSource;ILjava/lang/Object;Ljava/lang/Object;Lorg/hibernate/type/CompositeType;Ljava/lang/Object;)V
26: StackMap locals:
StackMap stack:
aload 0
27: aload 2
28: iload 3
29: aload 4
30: aload 5
31: aload 6
32: aload 7
33: aload 8
34: iload 10
35: invokestatic org.hibernate.engine.internal.Cascade.cascadeLogicalOneToOneOrphanRemoval:(Lorg/hibernate/engine/spi/CascadingAction;Lorg/hibernate/event/spi/EventSource;ILjava/lang/Object;Ljava/lang/Object;Lorg/hibernate/type/Type;Lorg/hibernate/engine/spi/CascadeStyle;Ljava/lang/String;Z)V
36: return
end local 10 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 37 0 action Lorg/hibernate/engine/spi/CascadingAction;
0 37 1 cascadePoint Lorg/hibernate/engine/internal/CascadePoint;
0 37 2 eventSource Lorg/hibernate/event/spi/EventSource;
0 37 3 componentPathStackDepth I
0 37 4 parent Ljava/lang/Object;
0 37 5 child Ljava/lang/Object;
0 37 6 type Lorg/hibernate/type/Type;
0 37 7 style Lorg/hibernate/engine/spi/CascadeStyle;
0 37 8 propertyName Ljava/lang/String;
0 37 9 anything Ljava/lang/Object;
0 37 10 isCascadeDeleteEnabled Z
3 15 11 associationType Lorg/hibernate/type/AssociationType;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
action final
cascadePoint final
eventSource final
componentPathStackDepth final
parent final
child final
type final
style final
propertyName final
anything final
isCascadeDeleteEnabled final
private static void cascadeLogicalOneToOneOrphanRemoval(org.hibernate.engine.spi.CascadingAction, org.hibernate.event.spi.EventSource, int, java.lang.Object, java.lang.Object, org.hibernate.type.Type, org.hibernate.engine.spi.CascadeStyle, java.lang.String, boolean);
descriptor: (Lorg/hibernate/engine/spi/CascadingAction;Lorg/hibernate/event/spi/EventSource;ILjava/lang/Object;Ljava/lang/Object;Lorg/hibernate/type/Type;Lorg/hibernate/engine/spi/CascadeStyle;Ljava/lang/String;Z)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=15, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 5
invokestatic org.hibernate.engine.internal.Cascade.isLogicalOneToOne:(Lorg/hibernate/type/Type;)Z
ifeq 32
1: aload 6
invokeinterface org.hibernate.engine.spi.CascadeStyle.hasOrphanDelete:()Z
ifeq 32
aload 0
invokeinterface org.hibernate.engine.spi.CascadingAction.deleteOrphans:()Z
ifeq 32
2: aload 1
invokeinterface org.hibernate.event.spi.EventSource.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 3
invokeinterface org.hibernate.engine.spi.PersistenceContext.getEntry:(Ljava/lang/Object;)Lorg/hibernate/engine/spi/EntityEntry;
astore 9
start local 9 3: aload 9
ifnull 32
aload 9
invokeinterface org.hibernate.engine.spi.EntityEntry.getStatus:()Lorg/hibernate/engine/spi/Status;
getstatic org.hibernate.engine.spi.Status.SAVING:Lorg/hibernate/engine/spi/Status;
if_acmpeq 32
4: iload 2
ifne 7
5: aload 9
aload 7
invokeinterface org.hibernate.engine.spi.EntityEntry.getLoadedValue:(Ljava/lang/String;)Ljava/lang/Object;
astore 10
start local 10 6: goto 8
end local 10 7: StackMap locals: org.hibernate.engine.spi.EntityEntry
StackMap stack:
aconst_null
astore 10
start local 10 8: StackMap locals: java.lang.Object
StackMap stack:
aload 4
ifnull 9
aload 10
ifnull 32
aload 4
aload 10
if_acmpeq 32
9: StackMap locals:
StackMap stack:
aload 1
10: invokeinterface org.hibernate.event.spi.EventSource.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
11: aload 10
12: invokeinterface org.hibernate.engine.spi.PersistenceContext.getEntry:(Ljava/lang/Object;)Lorg/hibernate/engine/spi/EntityEntry;
13: astore 11
start local 11 14: aload 11
ifnonnull 19
aload 10
instanceof org.hibernate.proxy.HibernateProxy
ifeq 19
15: aload 1
invokeinterface org.hibernate.event.spi.EventSource.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 10
invokeinterface org.hibernate.engine.spi.PersistenceContext.unproxyAndReassociate:(Ljava/lang/Object;)Ljava/lang/Object;
astore 10
16: aload 1
invokeinterface org.hibernate.event.spi.EventSource.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 10
invokeinterface org.hibernate.engine.spi.PersistenceContext.getEntry:(Ljava/lang/Object;)Lorg/hibernate/engine/spi/EntityEntry;
astore 11
17: aload 4
aload 10
if_acmpne 19
18: return
19: StackMap locals: org.hibernate.engine.spi.EntityEntry
StackMap stack:
aload 11
ifnull 32
20: aload 11
invokeinterface org.hibernate.engine.spi.EntityEntry.getPersister:()Lorg/hibernate/persister/entity/EntityPersister;
invokeinterface org.hibernate.persister.entity.EntityPersister.getEntityName:()Ljava/lang/String;
astore 12
start local 12 21: getstatic org.hibernate.engine.internal.Cascade.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.isTraceEnabled:()Z
ifeq 25
22: aload 11
invokeinterface org.hibernate.engine.spi.EntityEntry.getPersister:()Lorg/hibernate/persister/entity/EntityPersister;
aload 10
aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.getIdentifier:(Ljava/lang/Object;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)Ljava/io/Serializable;
astore 13
start local 13 23: aload 12
aload 13
invokestatic org.hibernate.pretty.MessageHelper.infoString:(Ljava/lang/String;Ljava/io/Serializable;)Ljava/lang/String;
astore 14
start local 14 24: getstatic org.hibernate.engine.internal.Cascade.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Deleting orphaned entity instance: {0}"
aload 14
invokeinterface org.hibernate.internal.CoreMessageLogger.tracev:(Ljava/lang/String;Ljava/lang/Object;)V
end local 14 end local 13 25: StackMap locals: java.lang.String
StackMap stack:
aload 5
invokeinterface org.hibernate.type.Type.isAssociationType:()Z
ifeq 31
aload 5
checkcast org.hibernate.type.AssociationType
invokeinterface org.hibernate.type.AssociationType.getForeignKeyDirection:()Lorg/hibernate/type/ForeignKeyDirection;
26: getstatic org.hibernate.type.ForeignKeyDirection.TO_PARENT:Lorg/hibernate/type/ForeignKeyDirection;
27: invokevirtual org.hibernate.type.ForeignKeyDirection.equals:(Ljava/lang/Object;)Z
28: ifeq 31
29: aload 1
aload 12
aload 10
invokeinterface org.hibernate.event.spi.EventSource.removeOrphanBeforeUpdates:(Ljava/lang/String;Ljava/lang/Object;)V
30: goto 32
31: StackMap locals:
StackMap stack:
aload 1
aload 12
aload 10
iload 8
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
invokeinterface org.hibernate.event.spi.EventSource.delete:(Ljava/lang/String;Ljava/lang/Object;ZLjava/util/Set;)V
end local 12 end local 11 end local 10 end local 9 32: StackMap locals: org.hibernate.engine.spi.CascadingAction org.hibernate.event.spi.EventSource int java.lang.Object java.lang.Object org.hibernate.type.Type org.hibernate.engine.spi.CascadeStyle java.lang.String int
StackMap stack:
return
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 33 0 action Lorg/hibernate/engine/spi/CascadingAction;
0 33 1 eventSource Lorg/hibernate/event/spi/EventSource;
0 33 2 componentPathStackDepth I
0 33 3 parent Ljava/lang/Object;
0 33 4 child Ljava/lang/Object;
0 33 5 type Lorg/hibernate/type/Type;
0 33 6 style Lorg/hibernate/engine/spi/CascadeStyle;
0 33 7 propertyName Ljava/lang/String;
0 33 8 isCascadeDeleteEnabled Z
3 32 9 entry Lorg/hibernate/engine/spi/EntityEntry;
6 7 10 loadedValue Ljava/lang/Object;
8 32 10 loadedValue Ljava/lang/Object;
14 32 11 valueEntry Lorg/hibernate/engine/spi/EntityEntry;
21 32 12 entityName Ljava/lang/String;
23 25 13 id Ljava/io/Serializable;
24 25 14 description Ljava/lang/String;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
action final
eventSource final
componentPathStackDepth final
parent final
child final
type final
style final
propertyName final
isCascadeDeleteEnabled final
private static boolean isLogicalOneToOne(org.hibernate.type.Type);
descriptor: (Lorg/hibernate/type/Type;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.hibernate.type.Type.isEntityType:()Z
ifeq 1
aload 0
checkcast org.hibernate.type.EntityType
invokevirtual org.hibernate.type.EntityType.isLogicalOneToOne:()Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 type Lorg/hibernate/type/Type;
MethodParameters:
Name Flags
type
private static boolean cascadeAssociationNow(org.hibernate.engine.internal.CascadePoint, org.hibernate.type.AssociationType);
descriptor: (Lorg/hibernate/engine/internal/CascadePoint;Lorg/hibernate/type/AssociationType;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.hibernate.type.AssociationType.getForeignKeyDirection:()Lorg/hibernate/type/ForeignKeyDirection;
aload 0
invokevirtual org.hibernate.type.ForeignKeyDirection.cascadeNow:(Lorg/hibernate/engine/internal/CascadePoint;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cascadePoint Lorg/hibernate/engine/internal/CascadePoint;
0 1 1 associationType Lorg/hibernate/type/AssociationType;
MethodParameters:
Name Flags
cascadePoint final
associationType
private static void cascadeComponent(org.hibernate.engine.spi.CascadingAction, org.hibernate.engine.internal.CascadePoint, org.hibernate.event.spi.EventSource, int, java.lang.Object, java.lang.Object, org.hibernate.type.CompositeType, java.lang.Object);
descriptor: (Lorg/hibernate/engine/spi/CascadingAction;Lorg/hibernate/engine/internal/CascadePoint;Lorg/hibernate/event/spi/EventSource;ILjava/lang/Object;Ljava/lang/Object;Lorg/hibernate/type/CompositeType;Ljava/lang/Object;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=11, locals=14, 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: aconst_null
astore 8
start local 8 1: aload 6
invokeinterface org.hibernate.type.CompositeType.getSubtypes:()[Lorg/hibernate/type/Type;
astore 9
start local 9 2: aload 6
invokeinterface org.hibernate.type.CompositeType.getPropertyNames:()[Ljava/lang/String;
astore 10
start local 10 3: iconst_0
istore 11
start local 11 4: goto 23
5: StackMap locals: org.hibernate.engine.spi.CascadingAction org.hibernate.engine.internal.CascadePoint org.hibernate.event.spi.EventSource int java.lang.Object java.lang.Object org.hibernate.type.CompositeType java.lang.Object java.lang.Object[] org.hibernate.type.Type[] java.lang.String[] int
StackMap stack:
aload 6
iload 11
invokeinterface org.hibernate.type.CompositeType.getCascadeStyle:(I)Lorg/hibernate/engine/spi/CascadeStyle;
astore 12
start local 12 6: aload 10
iload 11
aaload
astore 13
start local 13 7: aload 12
aload 0
invokeinterface org.hibernate.engine.spi.CascadeStyle.doCascade:(Lorg/hibernate/engine/spi/CascadingAction;)Z
ifeq 22
8: aload 8
ifnonnull 10
9: aload 6
aload 5
aload 2
invokeinterface org.hibernate.type.CompositeType.getPropertyValues:(Ljava/lang/Object;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)[Ljava/lang/Object;
astore 8
10: StackMap locals: org.hibernate.engine.spi.CascadeStyle java.lang.String
StackMap stack:
aload 0
11: aload 1
12: aload 2
13: iload 3
iconst_1
iadd
14: aload 4
15: aload 8
iload 11
aaload
16: aload 9
iload 11
aaload
17: aload 12
18: aload 13
19: aload 7
20: iconst_0
21: invokestatic org.hibernate.engine.internal.Cascade.cascadeProperty:(Lorg/hibernate/engine/spi/CascadingAction;Lorg/hibernate/engine/internal/CascadePoint;Lorg/hibernate/event/spi/EventSource;ILjava/lang/Object;Ljava/lang/Object;Lorg/hibernate/type/Type;Lorg/hibernate/engine/spi/CascadeStyle;Ljava/lang/String;Ljava/lang/Object;Z)V
end local 13 end local 12 22: StackMap locals:
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
23: iload 11
aload 9
arraylength
if_icmplt 5
end local 11 24: return
end local 10 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 25 0 action Lorg/hibernate/engine/spi/CascadingAction;
0 25 1 cascadePoint Lorg/hibernate/engine/internal/CascadePoint;
0 25 2 eventSource Lorg/hibernate/event/spi/EventSource;
0 25 3 componentPathStackDepth I
0 25 4 parent Ljava/lang/Object;
0 25 5 child Ljava/lang/Object;
0 25 6 componentType Lorg/hibernate/type/CompositeType;
0 25 7 anything Ljava/lang/Object;
1 25 8 children [Ljava/lang/Object;
2 25 9 types [Lorg/hibernate/type/Type;
3 25 10 propertyNames [Ljava/lang/String;
4 24 11 i I
6 22 12 componentPropertyStyle Lorg/hibernate/engine/spi/CascadeStyle;
7 22 13 subPropertyName Ljava/lang/String;
MethodParameters:
Name Flags
action final
cascadePoint final
eventSource final
componentPathStackDepth final
parent final
child final
componentType final
anything final
private static void cascadeAssociation(org.hibernate.engine.spi.CascadingAction, org.hibernate.engine.internal.CascadePoint, org.hibernate.event.spi.EventSource, int, java.lang.Object, java.lang.Object, org.hibernate.type.Type, org.hibernate.engine.spi.CascadeStyle, java.lang.Object, boolean);
descriptor: (Lorg/hibernate/engine/spi/CascadingAction;Lorg/hibernate/engine/internal/CascadePoint;Lorg/hibernate/event/spi/EventSource;ILjava/lang/Object;Ljava/lang/Object;Lorg/hibernate/type/Type;Lorg/hibernate/engine/spi/CascadeStyle;Ljava/lang/Object;Z)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=9, locals=10, args_size=10
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 0: aload 6
invokeinterface org.hibernate.type.Type.isEntityType:()Z
ifne 1
aload 6
invokeinterface org.hibernate.type.Type.isAnyType:()Z
ifeq 3
1: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 4
aload 5
aload 6
aload 7
aload 8
iload 9
invokestatic org.hibernate.engine.internal.Cascade.cascadeToOne:(Lorg/hibernate/engine/spi/CascadingAction;Lorg/hibernate/event/spi/EventSource;Ljava/lang/Object;Ljava/lang/Object;Lorg/hibernate/type/Type;Lorg/hibernate/engine/spi/CascadeStyle;Ljava/lang/Object;Z)V
2: goto 14
3: StackMap locals:
StackMap stack:
aload 6
invokeinterface org.hibernate.type.Type.isCollectionType:()Z
ifeq 14
4: aload 0
5: aload 1
6: aload 2
7: iload 3
8: aload 4
9: aload 5
10: aload 7
11: aload 8
12: aload 6
checkcast org.hibernate.type.CollectionType
13: invokestatic org.hibernate.engine.internal.Cascade.cascadeCollection:(Lorg/hibernate/engine/spi/CascadingAction;Lorg/hibernate/engine/internal/CascadePoint;Lorg/hibernate/event/spi/EventSource;ILjava/lang/Object;Ljava/lang/Object;Lorg/hibernate/engine/spi/CascadeStyle;Ljava/lang/Object;Lorg/hibernate/type/CollectionType;)V
14: 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 15 0 action Lorg/hibernate/engine/spi/CascadingAction;
0 15 1 cascadePoint Lorg/hibernate/engine/internal/CascadePoint;
0 15 2 eventSource Lorg/hibernate/event/spi/EventSource;
0 15 3 componentPathStackDepth I
0 15 4 parent Ljava/lang/Object;
0 15 5 child Ljava/lang/Object;
0 15 6 type Lorg/hibernate/type/Type;
0 15 7 style Lorg/hibernate/engine/spi/CascadeStyle;
0 15 8 anything Ljava/lang/Object;
0 15 9 isCascadeDeleteEnabled Z
MethodParameters:
Name Flags
action final
cascadePoint final
eventSource final
componentPathStackDepth final
parent final
child final
type final
style final
anything final
isCascadeDeleteEnabled final
private static void cascadeCollection(org.hibernate.engine.spi.CascadingAction, org.hibernate.engine.internal.CascadePoint, org.hibernate.event.spi.EventSource, int, java.lang.Object, java.lang.Object, org.hibernate.engine.spi.CascadeStyle, java.lang.Object, org.hibernate.type.CollectionType);
descriptor: (Lorg/hibernate/engine/spi/CascadingAction;Lorg/hibernate/engine/internal/CascadePoint;Lorg/hibernate/event/spi/EventSource;ILjava/lang/Object;Ljava/lang/Object;Lorg/hibernate/engine/spi/CascadeStyle;Ljava/lang/Object;Lorg/hibernate/type/CollectionType;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=11, locals=12, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 2
invokeinterface org.hibernate.event.spi.EventSource.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
aload 8
invokevirtual org.hibernate.type.CollectionType.getRole:()Ljava/lang/String;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getCollectionPersister:(Ljava/lang/String;)Lorg/hibernate/persister/collection/CollectionPersister;
astore 9
start local 9 1: aload 9
invokeinterface org.hibernate.persister.collection.CollectionPersister.getElementType:()Lorg/hibernate/type/Type;
astore 10
start local 10 2: aload 1
astore 11
start local 11 3: aload 1
getstatic org.hibernate.engine.internal.CascadePoint.AFTER_INSERT_BEFORE_DELETE:Lorg/hibernate/engine/internal/CascadePoint;
if_acmpne 5
4: getstatic org.hibernate.engine.internal.CascadePoint.AFTER_INSERT_BEFORE_DELETE_VIA_COLLECTION:Lorg/hibernate/engine/internal/CascadePoint;
astore 11
5: StackMap locals: org.hibernate.persister.collection.CollectionPersister org.hibernate.type.Type org.hibernate.engine.internal.CascadePoint
StackMap stack:
aload 10
invokeinterface org.hibernate.type.Type.isEntityType:()Z
ifne 6
aload 10
invokeinterface org.hibernate.type.Type.isAnyType:()Z
ifne 6
aload 10
invokeinterface org.hibernate.type.Type.isComponentType:()Z
ifeq 18
6: StackMap locals:
StackMap stack:
aload 0
7: aload 11
8: aload 2
9: iload 3
10: aload 4
11: aload 5
12: aload 8
13: aload 6
14: aload 10
15: aload 7
16: aload 9
invokeinterface org.hibernate.persister.collection.CollectionPersister.isCascadeDeleteEnabled:()Z
17: invokestatic org.hibernate.engine.internal.Cascade.cascadeCollectionElements:(Lorg/hibernate/engine/spi/CascadingAction;Lorg/hibernate/engine/internal/CascadePoint;Lorg/hibernate/event/spi/EventSource;ILjava/lang/Object;Ljava/lang/Object;Lorg/hibernate/type/CollectionType;Lorg/hibernate/engine/spi/CascadeStyle;Lorg/hibernate/type/Type;Ljava/lang/Object;Z)V
18: StackMap locals:
StackMap stack:
return
end local 11 end local 10 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 19 0 action Lorg/hibernate/engine/spi/CascadingAction;
0 19 1 cascadePoint Lorg/hibernate/engine/internal/CascadePoint;
0 19 2 eventSource Lorg/hibernate/event/spi/EventSource;
0 19 3 componentPathStackDepth I
0 19 4 parent Ljava/lang/Object;
0 19 5 child Ljava/lang/Object;
0 19 6 style Lorg/hibernate/engine/spi/CascadeStyle;
0 19 7 anything Ljava/lang/Object;
0 19 8 type Lorg/hibernate/type/CollectionType;
1 19 9 persister Lorg/hibernate/persister/collection/CollectionPersister;
2 19 10 elemType Lorg/hibernate/type/Type;
3 19 11 elementsCascadePoint Lorg/hibernate/engine/internal/CascadePoint;
MethodParameters:
Name Flags
action final
cascadePoint final
eventSource final
componentPathStackDepth final
parent final
child final
style final
anything final
type final
private static void cascadeToOne(org.hibernate.engine.spi.CascadingAction, org.hibernate.event.spi.EventSource, java.lang.Object, java.lang.Object, org.hibernate.type.Type, org.hibernate.engine.spi.CascadeStyle, java.lang.Object, boolean);
descriptor: (Lorg/hibernate/engine/spi/CascadingAction;Lorg/hibernate/event/spi/EventSource;Ljava/lang/Object;Ljava/lang/Object;Lorg/hibernate/type/Type;Lorg/hibernate/engine/spi/CascadeStyle;Ljava/lang/Object;Z)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=10, 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 4
invokeinterface org.hibernate.type.Type.isEntityType:()Z
ifeq 2
1: aload 4
checkcast org.hibernate.type.EntityType
invokevirtual org.hibernate.type.EntityType.getAssociatedEntityName:()Ljava/lang/String;
goto 3
2: StackMap locals:
StackMap stack:
aconst_null
3: StackMap locals:
StackMap stack: java.lang.String
astore 8
start local 8 4: aload 5
aload 0
invokeinterface org.hibernate.engine.spi.CascadeStyle.reallyDoCascade:(Lorg/hibernate/engine/spi/CascadingAction;)Z
ifeq 12
5: aload 1
invokeinterface org.hibernate.event.spi.EventSource.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 3
aload 2
invokeinterface org.hibernate.engine.spi.PersistenceContext.addChildParent:(Ljava/lang/Object;Ljava/lang/Object;)V
6: aload 0
aload 1
aload 3
aload 8
aload 6
iload 7
invokeinterface org.hibernate.engine.spi.CascadingAction.cascade:(Lorg/hibernate/event/spi/EventSource;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;Z)V
7: goto 11
8: StackMap locals: org.hibernate.engine.spi.CascadingAction org.hibernate.event.spi.EventSource java.lang.Object java.lang.Object org.hibernate.type.Type org.hibernate.engine.spi.CascadeStyle java.lang.Object int java.lang.String
StackMap stack: java.lang.Throwable
astore 9
9: aload 1
invokeinterface org.hibernate.event.spi.EventSource.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 3
invokeinterface org.hibernate.engine.spi.PersistenceContext.removeChildParent:(Ljava/lang/Object;)V
10: aload 9
athrow
11: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.hibernate.event.spi.EventSource.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 3
invokeinterface org.hibernate.engine.spi.PersistenceContext.removeChildParent:(Ljava/lang/Object;)V
12: StackMap locals:
StackMap stack:
return
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 13 0 action Lorg/hibernate/engine/spi/CascadingAction;
0 13 1 eventSource Lorg/hibernate/event/spi/EventSource;
0 13 2 parent Ljava/lang/Object;
0 13 3 child Ljava/lang/Object;
0 13 4 type Lorg/hibernate/type/Type;
0 13 5 style Lorg/hibernate/engine/spi/CascadeStyle;
0 13 6 anything Ljava/lang/Object;
0 13 7 isCascadeDeleteEnabled Z
4 13 8 entityName Ljava/lang/String;
Exception table:
from to target type
6 8 8 any
MethodParameters:
Name Flags
action final
eventSource final
parent final
child final
type final
style final
anything final
isCascadeDeleteEnabled final
private static void cascadeCollectionElements(org.hibernate.engine.spi.CascadingAction, org.hibernate.engine.internal.CascadePoint, org.hibernate.event.spi.EventSource, int, java.lang.Object, java.lang.Object, org.hibernate.type.CollectionType, org.hibernate.engine.spi.CascadeStyle, org.hibernate.type.Type, java.lang.Object, boolean);
descriptor: (Lorg/hibernate/engine/spi/CascadingAction;Lorg/hibernate/engine/internal/CascadePoint;Lorg/hibernate/event/spi/EventSource;ILjava/lang/Object;Ljava/lang/Object;Lorg/hibernate/type/CollectionType;Lorg/hibernate/engine/spi/CascadeStyle;Lorg/hibernate/type/Type;Ljava/lang/Object;Z)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=11, locals=15, args_size=11
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 0: aload 7
aload 0
invokeinterface org.hibernate.engine.spi.CascadeStyle.reallyDoCascade:(Lorg/hibernate/engine/spi/CascadingAction;)Z
ifeq 1
aload 5
getstatic org.hibernate.type.CollectionType.UNFETCHED_COLLECTION:Ljava/lang/Object;
if_acmpeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 11
start local 11 3: iload 11
ifeq 24
4: getstatic org.hibernate.engine.internal.Cascade.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.isTraceEnabled:()Z
istore 12
start local 12 5: iload 12
ifeq 7
6: getstatic org.hibernate.engine.internal.Cascade.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Cascade {0} for collection: {1}"
aload 0
aload 6
invokevirtual org.hibernate.type.CollectionType.getRole:()Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.tracev:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
7: StackMap locals: int int
StackMap stack:
aload 0
aload 2
aload 6
aload 5
invokeinterface org.hibernate.engine.spi.CascadingAction.getCascadableChildrenIterator:(Lorg/hibernate/event/spi/EventSource;Lorg/hibernate/type/CollectionType;Ljava/lang/Object;)Ljava/util/Iterator;
astore 13
start local 13 8: goto 21
9: StackMap locals: java.util.Iterator
StackMap stack:
aload 0
10: aload 1
11: aload 2
12: iload 3
13: aload 4
14: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
15: aload 8
16: aload 7
17: aconst_null
18: aload 9
19: iload 10
20: invokestatic org.hibernate.engine.internal.Cascade.cascadeProperty:(Lorg/hibernate/engine/spi/CascadingAction;Lorg/hibernate/engine/internal/CascadePoint;Lorg/hibernate/event/spi/EventSource;ILjava/lang/Object;Ljava/lang/Object;Lorg/hibernate/type/Type;Lorg/hibernate/engine/spi/CascadeStyle;Ljava/lang/String;Ljava/lang/Object;Z)V
21: StackMap locals:
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
22: iload 12
ifeq 24
23: getstatic org.hibernate.engine.internal.Cascade.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Done cascade {0} for collection: {1}"
aload 0
aload 6
invokevirtual org.hibernate.type.CollectionType.getRole:()Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.tracev:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 13 end local 12 24: StackMap locals:
StackMap stack:
aload 7
invokeinterface org.hibernate.engine.spi.CascadeStyle.hasOrphanDelete:()Z
ifeq 29
25: aload 0
invokeinterface org.hibernate.engine.spi.CascadingAction.deleteOrphans:()Z
ifeq 29
26: aload 8
invokeinterface org.hibernate.type.Type.isEntityType:()Z
ifeq 29
27: aload 5
instanceof org.hibernate.collection.spi.PersistentCollection
ifeq 29
28: iconst_1
goto 30
StackMap locals:
StackMap stack:
29: iconst_0
StackMap locals:
StackMap stack: int
30: istore 12
start local 12 31: iload 12
ifeq 39
32: getstatic org.hibernate.engine.internal.Cascade.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.isTraceEnabled:()Z
istore 13
start local 13 33: iload 13
ifeq 35
34: getstatic org.hibernate.engine.internal.Cascade.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Deleting orphans for collection: {0}"
aload 6
invokevirtual org.hibernate.type.CollectionType.getRole:()Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.tracev:(Ljava/lang/String;Ljava/lang/Object;)V
35: StackMap locals: int int
StackMap stack:
aload 6
aload 2
invokeinterface org.hibernate.event.spi.EventSource.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokevirtual org.hibernate.type.CollectionType.getAssociatedEntityName:(Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Ljava/lang/String;
astore 14
start local 14 36: aload 2
aload 14
aload 5
checkcast org.hibernate.collection.spi.PersistentCollection
invokestatic org.hibernate.engine.internal.Cascade.deleteOrphans:(Lorg/hibernate/event/spi/EventSource;Ljava/lang/String;Lorg/hibernate/collection/spi/PersistentCollection;)V
37: iload 13
ifeq 39
38: getstatic org.hibernate.engine.internal.Cascade.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Done deleting orphans for collection: {0}"
aload 6
invokevirtual org.hibernate.type.CollectionType.getRole:()Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.tracev:(Ljava/lang/String;Ljava/lang/Object;)V
end local 14 end local 13 39: StackMap locals:
StackMap stack:
return
end local 12 end local 11 end local 10 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 40 0 action Lorg/hibernate/engine/spi/CascadingAction;
0 40 1 cascadePoint Lorg/hibernate/engine/internal/CascadePoint;
0 40 2 eventSource Lorg/hibernate/event/spi/EventSource;
0 40 3 componentPathStackDepth I
0 40 4 parent Ljava/lang/Object;
0 40 5 child Ljava/lang/Object;
0 40 6 collectionType Lorg/hibernate/type/CollectionType;
0 40 7 style Lorg/hibernate/engine/spi/CascadeStyle;
0 40 8 elemType Lorg/hibernate/type/Type;
0 40 9 anything Ljava/lang/Object;
0 40 10 isCascadeDeleteEnabled Z
3 40 11 reallyDoCascade Z
5 24 12 traceEnabled Z
8 24 13 itr Ljava/util/Iterator;
31 40 12 deleteOrphans Z
33 39 13 traceEnabled Z
36 39 14 entityName Ljava/lang/String;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
action final
cascadePoint final
eventSource final
componentPathStackDepth final
parent final
child final
collectionType final
style final
elemType final
anything final
isCascadeDeleteEnabled final
private static void deleteOrphans(org.hibernate.event.spi.EventSource, java.lang.String, org.hibernate.collection.spi.PersistentCollection);
descriptor: (Lorg/hibernate/event/spi/EventSource;Ljava/lang/String;Lorg/hibernate/collection/spi/PersistentCollection;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.hibernate.collection.spi.PersistentCollection.wasInitialized:()Z
ifeq 7
1: aload 0
invokeinterface org.hibernate.event.spi.EventSource.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 2
invokeinterface org.hibernate.engine.spi.PersistenceContext.getCollectionEntry:(Lorg/hibernate/collection/spi/PersistentCollection;)Lorg/hibernate/engine/spi/CollectionEntry;
astore 4
start local 4 2: aload 4
ifnonnull 4
3: getstatic java.util.Collections.EMPTY_LIST:Ljava/util/List;
goto 5
4: StackMap locals: org.hibernate.event.spi.EventSource java.lang.String org.hibernate.collection.spi.PersistentCollection top org.hibernate.engine.spi.CollectionEntry
StackMap stack:
aload 4
aload 1
aload 2
invokevirtual org.hibernate.engine.spi.CollectionEntry.getOrphans:(Ljava/lang/String;Lorg/hibernate/collection/spi/PersistentCollection;)Ljava/util/Collection;
5: StackMap locals:
StackMap stack: java.util.Collection
astore 3
end local 4 start local 3 6: goto 8
end local 3 7: StackMap locals: org.hibernate.event.spi.EventSource java.lang.String org.hibernate.collection.spi.PersistentCollection
StackMap stack:
aload 2
aload 1
invokeinterface org.hibernate.collection.spi.PersistentCollection.getQueuedOrphans:(Ljava/lang/String;)Ljava/util/Collection;
astore 3
start local 3 8: StackMap locals: java.util.Collection
StackMap stack:
aload 3
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 13
StackMap locals: org.hibernate.event.spi.EventSource java.lang.String org.hibernate.collection.spi.PersistentCollection java.util.Collection top java.util.Iterator
StackMap stack:
9: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 4
start local 4 10: aload 4
ifnull 13
11: getstatic org.hibernate.engine.internal.Cascade.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Deleting orphaned entity instance: {0}"
aload 1
invokeinterface org.hibernate.internal.CoreMessageLogger.tracev:(Ljava/lang/String;Ljava/lang/Object;)V
12: aload 0
aload 1
aload 4
iconst_0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
invokeinterface org.hibernate.event.spi.EventSource.delete:(Ljava/lang/String;Ljava/lang/Object;ZLjava/util/Set;)V
end local 4 13: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
14: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 eventSource Lorg/hibernate/event/spi/EventSource;
0 15 1 entityName Ljava/lang/String;
0 15 2 pc Lorg/hibernate/collection/spi/PersistentCollection;
6 7 3 orphans Ljava/util/Collection;
8 15 3 orphans Ljava/util/Collection;
2 6 4 ce Lorg/hibernate/engine/spi/CollectionEntry;
10 13 4 orphan Ljava/lang/Object;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
eventSource
entityName
pc
}
SourceFile: "Cascade.java"