public class org.hibernate.cfg.OneToOneSecondPass implements org.hibernate.cfg.SecondPass
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.cfg.OneToOneSecondPass
super_class: java.lang.Object
{
private org.hibernate.boot.spi.MetadataBuildingContext buildingContext;
descriptor: Lorg/hibernate/boot/spi/MetadataBuildingContext;
flags: (0x0002) ACC_PRIVATE
private java.lang.String mappedBy;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String ownerEntity;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String ownerProperty;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.hibernate.cfg.PropertyHolder propertyHolder;
descriptor: Lorg/hibernate/cfg/PropertyHolder;
flags: (0x0002) ACC_PRIVATE
private boolean ignoreNotFound;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.hibernate.cfg.PropertyData inferredData;
descriptor: Lorg/hibernate/cfg/PropertyData;
flags: (0x0002) ACC_PRIVATE
private org.hibernate.annotations.common.reflection.XClass targetEntity;
descriptor: Lorg/hibernate/annotations/common/reflection/XClass;
flags: (0x0002) ACC_PRIVATE
private boolean cascadeOnDelete;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean optional;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String cascadeStrategy;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.hibernate.cfg.Ejb3JoinColumn[] joinColumns;
descriptor: [Lorg/hibernate/cfg/Ejb3JoinColumn;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String, java.lang.String, java.lang.String, org.hibernate.cfg.PropertyHolder, org.hibernate.cfg.PropertyData, org.hibernate.annotations.common.reflection.XClass, boolean, boolean, boolean, java.lang.String, org.hibernate.cfg.Ejb3JoinColumn[], org.hibernate.boot.spi.MetadataBuildingContext);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/hibernate/cfg/PropertyHolder;Lorg/hibernate/cfg/PropertyData;Lorg/hibernate/annotations/common/reflection/XClass;ZZZLjava/lang/String;[Lorg/hibernate/cfg/Ejb3JoinColumn;Lorg/hibernate/boot/spi/MetadataBuildingContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=13, args_size=13
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 start local 11 start local 12 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield org.hibernate.cfg.OneToOneSecondPass.ownerEntity:Ljava/lang/String;
2: aload 0
aload 3
putfield org.hibernate.cfg.OneToOneSecondPass.ownerProperty:Ljava/lang/String;
3: aload 0
aload 1
putfield org.hibernate.cfg.OneToOneSecondPass.mappedBy:Ljava/lang/String;
4: aload 0
aload 4
putfield org.hibernate.cfg.OneToOneSecondPass.propertyHolder:Lorg/hibernate/cfg/PropertyHolder;
5: aload 0
aload 12
putfield org.hibernate.cfg.OneToOneSecondPass.buildingContext:Lorg/hibernate/boot/spi/MetadataBuildingContext;
6: aload 0
iload 7
putfield org.hibernate.cfg.OneToOneSecondPass.ignoreNotFound:Z
7: aload 0
aload 5
putfield org.hibernate.cfg.OneToOneSecondPass.inferredData:Lorg/hibernate/cfg/PropertyData;
8: aload 0
aload 6
putfield org.hibernate.cfg.OneToOneSecondPass.targetEntity:Lorg/hibernate/annotations/common/reflection/XClass;
9: aload 0
iload 8
putfield org.hibernate.cfg.OneToOneSecondPass.cascadeOnDelete:Z
10: aload 0
iload 9
putfield org.hibernate.cfg.OneToOneSecondPass.optional:Z
11: aload 0
aload 10
putfield org.hibernate.cfg.OneToOneSecondPass.cascadeStrategy:Ljava/lang/String;
12: aload 0
aload 11
putfield org.hibernate.cfg.OneToOneSecondPass.joinColumns:[Lorg/hibernate/cfg/Ejb3JoinColumn;
13: 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 14 0 this Lorg/hibernate/cfg/OneToOneSecondPass;
0 14 1 mappedBy Ljava/lang/String;
0 14 2 ownerEntity Ljava/lang/String;
0 14 3 ownerProperty Ljava/lang/String;
0 14 4 propertyHolder Lorg/hibernate/cfg/PropertyHolder;
0 14 5 inferredData Lorg/hibernate/cfg/PropertyData;
0 14 6 targetEntity Lorg/hibernate/annotations/common/reflection/XClass;
0 14 7 ignoreNotFound Z
0 14 8 cascadeOnDelete Z
0 14 9 optional Z
0 14 10 cascadeStrategy Ljava/lang/String;
0 14 11 columns [Lorg/hibernate/cfg/Ejb3JoinColumn;
0 14 12 buildingContext Lorg/hibernate/boot/spi/MetadataBuildingContext;
MethodParameters:
Name Flags
mappedBy
ownerEntity
ownerProperty
propertyHolder
inferredData
targetEntity
ignoreNotFound
cascadeOnDelete
optional
cascadeStrategy
columns
buildingContext
public void doSecondPass(java.util.Map);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=17, args_size=2
start local 0 start local 1 0: new org.hibernate.mapping.OneToOne
dup
1: aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.buildingContext:Lorg/hibernate/boot/spi/MetadataBuildingContext;
2: aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.propertyHolder:Lorg/hibernate/cfg/PropertyHolder;
invokeinterface org.hibernate.cfg.PropertyHolder.getTable:()Lorg/hibernate/mapping/Table;
3: aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.propertyHolder:Lorg/hibernate/cfg/PropertyHolder;
invokeinterface org.hibernate.cfg.PropertyHolder.getPersistentClass:()Lorg/hibernate/mapping/PersistentClass;
4: invokespecial org.hibernate.mapping.OneToOne.<init>:(Lorg/hibernate/boot/spi/MetadataBuildingContext;Lorg/hibernate/mapping/Table;Lorg/hibernate/mapping/PersistentClass;)V
astore 2
start local 2 5: aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.inferredData:Lorg/hibernate/cfg/PropertyData;
invokeinterface org.hibernate.cfg.PropertyData.getPropertyName:()Ljava/lang/String;
astore 3
start local 3 6: aload 2
aload 3
invokevirtual org.hibernate.mapping.OneToOne.setPropertyName:(Ljava/lang/String;)V
7: aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.inferredData:Lorg/hibernate/cfg/PropertyData;
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.targetEntity:Lorg/hibernate/annotations/common/reflection/XClass;
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.buildingContext:Lorg/hibernate/boot/spi/MetadataBuildingContext;
invokestatic org.hibernate.cfg.ToOneBinder.getReferenceEntityName:(Lorg/hibernate/cfg/PropertyData;Lorg/hibernate/annotations/common/reflection/XClass;Lorg/hibernate/boot/spi/MetadataBuildingContext;)Ljava/lang/String;
astore 4
start local 4 8: aload 2
aload 4
invokevirtual org.hibernate.mapping.OneToOne.setReferencedEntityName:(Ljava/lang/String;)V
9: aload 2
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.inferredData:Lorg/hibernate/cfg/PropertyData;
invokeinterface org.hibernate.cfg.PropertyData.getProperty:()Lorg/hibernate/annotations/common/reflection/XProperty;
invokestatic org.hibernate.cfg.AnnotationBinder.defineFetchingStrategy:(Lorg/hibernate/mapping/ToOne;Lorg/hibernate/annotations/common/reflection/XProperty;)V
10: aload 2
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.cascadeOnDelete:Z
invokevirtual org.hibernate.mapping.OneToOne.setCascadeDeleteEnabled:(Z)V
11: aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.optional:Z
ifne 13
12: aload 2
iconst_1
invokevirtual org.hibernate.mapping.OneToOne.setConstrained:(Z)V
13: StackMap locals: org.hibernate.mapping.OneToOne java.lang.String java.lang.String
StackMap stack:
aload 2
invokevirtual org.hibernate.mapping.OneToOne.isReferenceToPrimaryKey:()Z
ifeq 16
14: aload 2
getstatic org.hibernate.type.ForeignKeyDirection.TO_PARENT:Lorg/hibernate/type/ForeignKeyDirection;
invokevirtual org.hibernate.mapping.OneToOne.setForeignKeyType:(Lorg/hibernate/type/ForeignKeyDirection;)V
15: goto 21
16: StackMap locals:
StackMap stack:
aload 2
17: aload 2
invokevirtual org.hibernate.mapping.OneToOne.isConstrained:()Z
ifeq 19
18: getstatic org.hibernate.type.ForeignKeyDirection.FROM_PARENT:Lorg/hibernate/type/ForeignKeyDirection;
goto 20
19: StackMap locals:
StackMap stack: org.hibernate.mapping.OneToOne
getstatic org.hibernate.type.ForeignKeyDirection.TO_PARENT:Lorg/hibernate/type/ForeignKeyDirection;
20: StackMap locals: org.hibernate.cfg.OneToOneSecondPass java.util.Map org.hibernate.mapping.OneToOne java.lang.String java.lang.String
StackMap stack: org.hibernate.mapping.OneToOne org.hibernate.type.ForeignKeyDirection
invokevirtual org.hibernate.mapping.OneToOne.setForeignKeyType:(Lorg/hibernate/type/ForeignKeyDirection;)V
21: StackMap locals:
StackMap stack:
new org.hibernate.cfg.annotations.PropertyBinder
dup
invokespecial org.hibernate.cfg.annotations.PropertyBinder.<init>:()V
astore 5
start local 5 22: aload 5
aload 3
invokevirtual org.hibernate.cfg.annotations.PropertyBinder.setName:(Ljava/lang/String;)V
23: aload 5
aload 2
invokevirtual org.hibernate.cfg.annotations.PropertyBinder.setValue:(Lorg/hibernate/mapping/Value;)V
24: aload 5
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.cascadeStrategy:Ljava/lang/String;
invokevirtual org.hibernate.cfg.annotations.PropertyBinder.setCascade:(Ljava/lang/String;)V
25: aload 5
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.inferredData:Lorg/hibernate/cfg/PropertyData;
invokeinterface org.hibernate.cfg.PropertyData.getDefaultAccess:()Lorg/hibernate/cfg/AccessType;
invokevirtual org.hibernate.cfg.annotations.PropertyBinder.setAccessType:(Lorg/hibernate/cfg/AccessType;)V
26: aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.inferredData:Lorg/hibernate/cfg/PropertyData;
invokeinterface org.hibernate.cfg.PropertyData.getProperty:()Lorg/hibernate/annotations/common/reflection/XProperty;
ldc Lorg/hibernate/annotations/LazyGroup;
invokeinterface org.hibernate.annotations.common.reflection.XProperty.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast org.hibernate.annotations.LazyGroup
astore 6
start local 6 27: aload 6
ifnull 29
28: aload 5
aload 6
invokeinterface org.hibernate.annotations.LazyGroup.value:()Ljava/lang/String;
invokevirtual org.hibernate.cfg.annotations.PropertyBinder.setLazyGroup:(Ljava/lang/String;)V
29: StackMap locals: org.hibernate.cfg.annotations.PropertyBinder org.hibernate.annotations.LazyGroup
StackMap stack:
aload 5
invokevirtual org.hibernate.cfg.annotations.PropertyBinder.makeProperty:()Lorg/hibernate/mapping/Property;
astore 7
start local 7 30: aload 7
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.optional:Z
invokevirtual org.hibernate.mapping.Property.setOptional:(Z)V
31: aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.mappedBy:Ljava/lang/String;
invokestatic org.hibernate.cfg.BinderHelper.isEmptyAnnotationValue:(Ljava/lang/String;)Z
ifeq 47
32: iconst_1
istore 8
start local 8 33: iload 8
ifeq 140
34: aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.propertyHolder:Lorg/hibernate/cfg/PropertyHolder;
invokeinterface org.hibernate.cfg.PropertyHolder.getPath:()Ljava/lang/String;
aload 3
invokestatic org.hibernate.internal.util.StringHelper.qualify:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 35: new org.hibernate.cfg.ToOneFkSecondPass
dup
36: aload 2
37: aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.joinColumns:[Lorg/hibernate/cfg/Ejb3JoinColumn;
38: aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.optional:Z
ifeq 39
iconst_0
goto 40
StackMap locals: org.hibernate.cfg.OneToOneSecondPass java.util.Map org.hibernate.mapping.OneToOne java.lang.String java.lang.String org.hibernate.cfg.annotations.PropertyBinder org.hibernate.annotations.LazyGroup org.hibernate.mapping.Property int java.lang.String
StackMap stack: new 35 new 35 org.hibernate.mapping.OneToOne org.hibernate.cfg.Ejb3JoinColumn[]
39: iconst_1
40: StackMap locals: org.hibernate.cfg.OneToOneSecondPass java.util.Map org.hibernate.mapping.OneToOne java.lang.String java.lang.String org.hibernate.cfg.annotations.PropertyBinder org.hibernate.annotations.LazyGroup org.hibernate.mapping.Property int java.lang.String
StackMap stack: new 35 new 35 org.hibernate.mapping.OneToOne org.hibernate.cfg.Ejb3JoinColumn[] int
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.propertyHolder:Lorg/hibernate/cfg/PropertyHolder;
invokeinterface org.hibernate.cfg.PropertyHolder.getEntityOwnerClassName:()Ljava/lang/String;
41: aload 9
42: aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.buildingContext:Lorg/hibernate/boot/spi/MetadataBuildingContext;
43: invokespecial org.hibernate.cfg.ToOneFkSecondPass.<init>:(Lorg/hibernate/mapping/ToOne;[Lorg/hibernate/cfg/Ejb3JoinColumn;ZLjava/lang/String;Ljava/lang/String;Lorg/hibernate/boot/spi/MetadataBuildingContext;)V
astore 10
start local 10 44: aload 10
aload 1
invokevirtual org.hibernate.cfg.ToOneFkSecondPass.doSecondPass:(Ljava/util/Map;)V
45: aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.propertyHolder:Lorg/hibernate/cfg/PropertyHolder;
aload 7
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.inferredData:Lorg/hibernate/cfg/PropertyData;
invokeinterface org.hibernate.cfg.PropertyData.getDeclaringClass:()Lorg/hibernate/annotations/common/reflection/XClass;
invokeinterface org.hibernate.cfg.PropertyHolder.addProperty:(Lorg/hibernate/mapping/Property;Lorg/hibernate/annotations/common/reflection/XClass;)V
end local 10 end local 9 end local 8 46: goto 140
47: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual org.hibernate.mapping.OneToOne.getReferencedEntityName:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.hibernate.mapping.PersistentClass
astore 8
start local 8 48: aload 8
ifnonnull 50
49: new org.hibernate.MappingException
dup
new java.lang.StringBuilder
dup
ldc "Unable to find entity: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual org.hibernate.mapping.OneToOne.getReferencedEntityName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.hibernate.MappingException.<init>:(Ljava/lang/String;)V
athrow
50: StackMap locals: org.hibernate.mapping.PersistentClass
StackMap stack:
aload 8
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.mappedBy:Ljava/lang/String;
invokestatic org.hibernate.cfg.BinderHelper.findPropertyByName:(Lorg/hibernate/mapping/PersistentClass;Ljava/lang/String;)Lorg/hibernate/mapping/Property;
astore 9
start local 9 51: goto 59
end local 9 52: StackMap locals:
StackMap stack: org.hibernate.MappingException
pop
53: new org.hibernate.AnnotationException
dup
54: new java.lang.StringBuilder
dup
ldc "Unknown mappedBy in: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.ownerEntity:Ljava/lang/String;
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.ownerProperty:Ljava/lang/String;
invokestatic org.hibernate.internal.util.StringHelper.qualify:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
55: ldc ", referenced property unknown: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
56: aload 2
invokevirtual org.hibernate.mapping.OneToOne.getReferencedEntityName:()Ljava/lang/String;
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.mappedBy:Ljava/lang/String;
invokestatic org.hibernate.internal.util.StringHelper.qualify:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
57: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
58: invokespecial org.hibernate.AnnotationException.<init>:(Ljava/lang/String;)V
athrow
start local 9 59: StackMap locals: org.hibernate.mapping.Property
StackMap stack:
aload 9
ifnonnull 66
60: new org.hibernate.AnnotationException
dup
61: new java.lang.StringBuilder
dup
ldc "Unknown mappedBy in: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.ownerEntity:Ljava/lang/String;
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.ownerProperty:Ljava/lang/String;
invokestatic org.hibernate.internal.util.StringHelper.qualify:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
62: ldc ", referenced property unknown: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
63: aload 2
invokevirtual org.hibernate.mapping.OneToOne.getReferencedEntityName:()Ljava/lang/String;
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.mappedBy:Ljava/lang/String;
invokestatic org.hibernate.internal.util.StringHelper.qualify:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
64: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
65: invokespecial org.hibernate.AnnotationException.<init>:(Ljava/lang/String;)V
athrow
66: StackMap locals:
StackMap stack:
aload 9
invokevirtual org.hibernate.mapping.Property.getValue:()Lorg/hibernate/mapping/Value;
instanceof org.hibernate.mapping.OneToOne
ifeq 69
67: aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.propertyHolder:Lorg/hibernate/cfg/PropertyHolder;
aload 7
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.inferredData:Lorg/hibernate/cfg/PropertyData;
invokeinterface org.hibernate.cfg.PropertyData.getDeclaringClass:()Lorg/hibernate/annotations/common/reflection/XClass;
invokeinterface org.hibernate.cfg.PropertyHolder.addProperty:(Lorg/hibernate/mapping/Property;Lorg/hibernate/annotations/common/reflection/XClass;)V
68: goto 140
69: StackMap locals:
StackMap stack:
aload 9
invokevirtual org.hibernate.mapping.Property.getValue:()Lorg/hibernate/mapping/Value;
instanceof org.hibernate.mapping.ManyToOne
ifeq 132
70: aload 8
invokevirtual org.hibernate.mapping.PersistentClass.getJoinIterator:()Ljava/util/Iterator;
astore 10
start local 10 71: aconst_null
astore 11
start local 11 72: goto 77
73: StackMap locals: java.util.Iterator org.hibernate.mapping.Join
StackMap stack:
aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.mapping.Join
astore 12
start local 12 74: aload 12
aload 9
invokevirtual org.hibernate.mapping.Join.containsProperty:(Lorg/hibernate/mapping/Property;)Z
ifeq 77
75: aload 12
astore 11
76: goto 78
end local 12 77: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 73
78: StackMap locals:
StackMap stack:
aload 11
ifnull 109
79: aload 0
80: aload 1
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.ownerEntity:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.hibernate.mapping.PersistentClass
aload 9
aload 11
81: invokevirtual org.hibernate.cfg.OneToOneSecondPass.buildJoinFromMappedBySide:(Lorg/hibernate/mapping/PersistentClass;Lorg/hibernate/mapping/Property;Lorg/hibernate/mapping/Join;)Lorg/hibernate/mapping/Join;
astore 12
start local 12 82: new org.hibernate.mapping.ManyToOne
dup
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.buildingContext:Lorg/hibernate/boot/spi/MetadataBuildingContext;
aload 12
invokevirtual org.hibernate.mapping.Join.getTable:()Lorg/hibernate/mapping/Table;
invokespecial org.hibernate.mapping.ManyToOne.<init>:(Lorg/hibernate/boot/spi/MetadataBuildingContext;Lorg/hibernate/mapping/Table;)V
astore 13
start local 13 83: aload 13
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.ignoreNotFound:Z
invokevirtual org.hibernate.mapping.ManyToOne.setIgnoreNotFound:(Z)V
84: aload 13
aload 2
invokevirtual org.hibernate.mapping.OneToOne.isCascadeDeleteEnabled:()Z
invokevirtual org.hibernate.mapping.ManyToOne.setCascadeDeleteEnabled:(Z)V
85: aload 13
aload 2
invokevirtual org.hibernate.mapping.OneToOne.getFetchMode:()Lorg/hibernate/FetchMode;
invokevirtual org.hibernate.mapping.ManyToOne.setFetchMode:(Lorg/hibernate/FetchMode;)V
86: aload 13
aload 2
invokevirtual org.hibernate.mapping.OneToOne.isLazy:()Z
invokevirtual org.hibernate.mapping.ManyToOne.setLazy:(Z)V
87: aload 13
aload 2
invokevirtual org.hibernate.mapping.OneToOne.getReferencedEntityName:()Ljava/lang/String;
invokevirtual org.hibernate.mapping.ManyToOne.setReferencedEntityName:(Ljava/lang/String;)V
88: aload 13
aload 2
invokevirtual org.hibernate.mapping.OneToOne.isUnwrapProxy:()Z
invokevirtual org.hibernate.mapping.ManyToOne.setUnwrapProxy:(Z)V
89: aload 7
aload 13
invokevirtual org.hibernate.mapping.Property.setValue:(Lorg/hibernate/mapping/Value;)V
90: aload 11
invokevirtual org.hibernate.mapping.Join.getKey:()Lorg/hibernate/mapping/KeyValue;
invokeinterface org.hibernate.mapping.KeyValue.getColumnIterator:()Ljava/util/Iterator;
astore 14
start local 14 91: goto 106
92: StackMap locals: org.hibernate.mapping.Join org.hibernate.mapping.ManyToOne java.util.Iterator
StackMap stack:
aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.mapping.Column
astore 15
start local 15 93: new org.hibernate.mapping.Column
dup
invokespecial org.hibernate.mapping.Column.<init>:()V
astore 16
start local 16 94: aload 16
aload 15
invokevirtual org.hibernate.mapping.Column.getLength:()I
invokevirtual org.hibernate.mapping.Column.setLength:(I)V
95: aload 16
aload 15
invokevirtual org.hibernate.mapping.Column.getScale:()I
invokevirtual org.hibernate.mapping.Column.setScale:(I)V
96: aload 16
aload 13
invokevirtual org.hibernate.mapping.Column.setValue:(Lorg/hibernate/mapping/Value;)V
97: aload 16
aload 15
invokevirtual org.hibernate.mapping.Column.getQuotedName:()Ljava/lang/String;
invokevirtual org.hibernate.mapping.Column.setName:(Ljava/lang/String;)V
98: aload 16
aload 15
invokevirtual org.hibernate.mapping.Column.isNullable:()Z
invokevirtual org.hibernate.mapping.Column.setNullable:(Z)V
99: aload 16
aload 15
invokevirtual org.hibernate.mapping.Column.getPrecision:()I
invokevirtual org.hibernate.mapping.Column.setPrecision:(I)V
100: aload 16
aload 15
invokevirtual org.hibernate.mapping.Column.isUnique:()Z
invokevirtual org.hibernate.mapping.Column.setUnique:(Z)V
101: aload 16
aload 15
invokevirtual org.hibernate.mapping.Column.getSqlType:()Ljava/lang/String;
invokevirtual org.hibernate.mapping.Column.setSqlType:(Ljava/lang/String;)V
102: aload 16
aload 15
invokevirtual org.hibernate.mapping.Column.getCheckConstraint:()Ljava/lang/String;
invokevirtual org.hibernate.mapping.Column.setCheckConstraint:(Ljava/lang/String;)V
103: aload 16
aload 15
invokevirtual org.hibernate.mapping.Column.getComment:()Ljava/lang/String;
invokevirtual org.hibernate.mapping.Column.setComment:(Ljava/lang/String;)V
104: aload 16
aload 15
invokevirtual org.hibernate.mapping.Column.getDefaultValue:()Ljava/lang/String;
invokevirtual org.hibernate.mapping.Column.setDefaultValue:(Ljava/lang/String;)V
105: aload 13
aload 16
invokevirtual org.hibernate.mapping.ManyToOne.addColumn:(Lorg/hibernate/mapping/Column;)V
end local 16 end local 15 106: StackMap locals:
StackMap stack:
aload 14
invokeinterface java.util.Iterator.hasNext:()Z
ifne 92
107: aload 12
aload 7
invokevirtual org.hibernate.mapping.Join.addProperty:(Lorg/hibernate/mapping/Property;)V
end local 14 end local 13 end local 12 108: goto 110
109: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.propertyHolder:Lorg/hibernate/cfg/PropertyHolder;
aload 7
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.inferredData:Lorg/hibernate/cfg/PropertyData;
invokeinterface org.hibernate.cfg.PropertyData.getDeclaringClass:()Lorg/hibernate/annotations/common/reflection/XClass;
invokeinterface org.hibernate.cfg.PropertyHolder.addProperty:(Lorg/hibernate/mapping/Property;Lorg/hibernate/annotations/common/reflection/XClass;)V
110: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.mappedBy:Ljava/lang/String;
invokevirtual org.hibernate.mapping.OneToOne.setReferencedPropertyName:(Ljava/lang/String;)V
111: iconst_0
istore 12
start local 12 112: aload 8
invokevirtual org.hibernate.mapping.PersistentClass.getIdentifier:()Lorg/hibernate/mapping/KeyValue;
instanceof org.hibernate.mapping.Component
ifeq 115
113: aload 8
invokevirtual org.hibernate.mapping.PersistentClass.getIdentifier:()Lorg/hibernate/mapping/KeyValue;
checkcast org.hibernate.mapping.Component
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.mappedBy:Ljava/lang/String;
invokevirtual org.hibernate.mapping.Component.getProperty:(Ljava/lang/String;)Lorg/hibernate/mapping/Property;
ifnull 115
114: iconst_1
goto 116
StackMap locals: int
StackMap stack:
115: iconst_0
StackMap locals:
StackMap stack: int
116: istore 12
117: goto 119
118: StackMap locals:
StackMap stack: org.hibernate.MappingException
pop
119: StackMap locals:
StackMap stack:
iload 12
ifne 120
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.mappedBy:Ljava/lang/String;
ifnull 120
iconst_0
goto 121
StackMap locals:
StackMap stack:
120: iconst_1
StackMap locals:
StackMap stack: int
121: istore 13
start local 13 122: aload 2
iload 13
invokevirtual org.hibernate.mapping.OneToOne.setReferenceToPrimaryKey:(Z)V
123: iload 12
ifeq 125
124: aload 9
invokevirtual org.hibernate.mapping.Property.getValue:()Lorg/hibernate/mapping/Value;
checkcast org.hibernate.mapping.ManyToOne
iconst_0
invokevirtual org.hibernate.mapping.ManyToOne.setReferenceToPrimaryKey:(Z)V
125: StackMap locals: int
StackMap stack:
aload 2
invokevirtual org.hibernate.mapping.OneToOne.getReferencedPropertyName:()Ljava/lang/String;
astore 14
start local 14 126: aload 14
ifnull 140
127: aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.buildingContext:Lorg/hibernate/boot/spi/MetadataBuildingContext;
invokeinterface org.hibernate.boot.spi.MetadataBuildingContext.getMetadataCollector:()Lorg/hibernate/boot/spi/InFlightMetadataCollector;
128: aload 2
invokevirtual org.hibernate.mapping.OneToOne.getReferencedEntityName:()Ljava/lang/String;
129: aload 14
130: invokeinterface org.hibernate.boot.spi.InFlightMetadataCollector.addUniquePropertyReference:(Ljava/lang/String;Ljava/lang/String;)V
end local 14 end local 13 end local 12 end local 11 end local 10 131: goto 140
132: StackMap locals: org.hibernate.cfg.OneToOneSecondPass java.util.Map org.hibernate.mapping.OneToOne java.lang.String java.lang.String org.hibernate.cfg.annotations.PropertyBinder org.hibernate.annotations.LazyGroup org.hibernate.mapping.Property org.hibernate.mapping.PersistentClass org.hibernate.mapping.Property
StackMap stack:
new org.hibernate.AnnotationException
dup
133: new java.lang.StringBuilder
dup
ldc "Referenced property not a (One|Many)ToOne: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
134: aload 8
invokevirtual org.hibernate.mapping.PersistentClass.getEntityName:()Ljava/lang/String;
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.mappedBy:Ljava/lang/String;
135: invokestatic org.hibernate.internal.util.StringHelper.qualify:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
136: ldc " in mappedBy of "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
137: aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.ownerEntity:Ljava/lang/String;
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.ownerProperty:Ljava/lang/String;
invokestatic org.hibernate.internal.util.StringHelper.qualify:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
138: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
139: invokespecial org.hibernate.AnnotationException.<init>:(Ljava/lang/String;)V
athrow
end local 9 end local 8 140: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.inferredData:Lorg/hibernate/cfg/PropertyData;
invokeinterface org.hibernate.cfg.PropertyData.getProperty:()Lorg/hibernate/annotations/common/reflection/XProperty;
ldc Lorg/hibernate/annotations/ForeignKey;
invokeinterface org.hibernate.annotations.common.reflection.XProperty.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast org.hibernate.annotations.ForeignKey
astore 8
start local 8 141: aload 8
ifnull 144
aload 8
invokeinterface org.hibernate.annotations.ForeignKey.name:()Ljava/lang/String;
invokestatic org.hibernate.cfg.BinderHelper.isEmptyAnnotationValue:(Ljava/lang/String;)Z
ifne 144
142: aload 2
aload 8
invokeinterface org.hibernate.annotations.ForeignKey.name:()Ljava/lang/String;
invokevirtual org.hibernate.mapping.OneToOne.setForeignKeyName:(Ljava/lang/String;)V
143: goto 151
144: StackMap locals: org.hibernate.annotations.ForeignKey
StackMap stack:
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.inferredData:Lorg/hibernate/cfg/PropertyData;
invokeinterface org.hibernate.cfg.PropertyData.getProperty:()Lorg/hibernate/annotations/common/reflection/XProperty;
ldc Ljavax/persistence/ForeignKey;
invokeinterface org.hibernate.annotations.common.reflection.XProperty.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast javax.persistence.ForeignKey
astore 9
start local 9 145: aload 9
ifnull 151
146: aload 9
invokeinterface javax.persistence.ForeignKey.value:()Ljavax/persistence/ConstraintMode;
getstatic javax.persistence.ConstraintMode.NO_CONSTRAINT:Ljavax/persistence/ConstraintMode;
if_acmpne 149
147: aload 2
ldc "none"
invokevirtual org.hibernate.mapping.OneToOne.setForeignKeyName:(Ljava/lang/String;)V
148: goto 151
149: StackMap locals: javax.persistence.ForeignKey
StackMap stack:
aload 2
aload 9
invokeinterface javax.persistence.ForeignKey.name:()Ljava/lang/String;
invokestatic org.hibernate.internal.util.StringHelper.nullIfEmpty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.hibernate.mapping.OneToOne.setForeignKeyName:(Ljava/lang/String;)V
150: aload 2
aload 9
invokeinterface javax.persistence.ForeignKey.foreignKeyDefinition:()Ljava/lang/String;
invokestatic org.hibernate.internal.util.StringHelper.nullIfEmpty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.hibernate.mapping.OneToOne.setForeignKeyDefinition:(Ljava/lang/String;)V
end local 9 151: 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 152 0 this Lorg/hibernate/cfg/OneToOneSecondPass;
0 152 1 persistentClasses Ljava/util/Map;
5 152 2 value Lorg/hibernate/mapping/OneToOne;
6 152 3 propertyName Ljava/lang/String;
8 152 4 referencedEntityName Ljava/lang/String;
22 152 5 binder Lorg/hibernate/cfg/annotations/PropertyBinder;
27 152 6 lazyGroupAnnotation Lorg/hibernate/annotations/LazyGroup;
30 152 7 prop Lorg/hibernate/mapping/Property;
33 46 8 rightOrder Z
35 46 9 path Ljava/lang/String;
44 46 10 secondPass Lorg/hibernate/cfg/ToOneFkSecondPass;
48 140 8 otherSide Lorg/hibernate/mapping/PersistentClass;
51 52 9 otherSideProperty Lorg/hibernate/mapping/Property;
59 140 9 otherSideProperty Lorg/hibernate/mapping/Property;
71 131 10 it Ljava/util/Iterator;
72 131 11 otherSideJoin Lorg/hibernate/mapping/Join;
74 77 12 otherSideJoinValue Lorg/hibernate/mapping/Join;
82 108 12 mappedByJoin Lorg/hibernate/mapping/Join;
83 108 13 manyToOne Lorg/hibernate/mapping/ManyToOne;
91 108 14 otherSideJoinKeyColumns Ljava/util/Iterator;
93 106 15 column Lorg/hibernate/mapping/Column;
94 106 16 copy Lorg/hibernate/mapping/Column;
112 131 12 referencesDerivedId Z
122 131 13 referenceToPrimaryKey Z
126 131 14 propertyRef Ljava/lang/String;
141 152 8 fk Lorg/hibernate/annotations/ForeignKey;
145 151 9 jpaFk Ljavax/persistence/ForeignKey;
Exception table:
from to target type
48 51 52 Class org.hibernate.MappingException
112 117 118 Class org.hibernate.MappingException
Exceptions:
throws org.hibernate.MappingException
MethodParameters:
Name Flags
persistentClasses
private org.hibernate.mapping.Join buildJoinFromMappedBySide(org.hibernate.mapping.PersistentClass, org.hibernate.mapping.Property, org.hibernate.mapping.Join);
descriptor: (Lorg/hibernate/mapping/PersistentClass;Lorg/hibernate/mapping/Property;Lorg/hibernate/mapping/Join;)Lorg/hibernate/mapping/Join;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.hibernate.mapping.Join
dup
invokespecial org.hibernate.mapping.Join.<init>:()V
astore 4
start local 4 1: aload 4
aload 1
invokevirtual org.hibernate.mapping.Join.setPersistentClass:(Lorg/hibernate/mapping/PersistentClass;)V
2: aload 4
aload 3
invokevirtual org.hibernate.mapping.Join.getTable:()Lorg/hibernate/mapping/Table;
invokevirtual org.hibernate.mapping.Join.setTable:(Lorg/hibernate/mapping/Table;)V
3: aload 4
iconst_1
invokevirtual org.hibernate.mapping.Join.setInverse:(Z)V
4: new org.hibernate.mapping.DependantValue
dup
aload 0
getfield org.hibernate.cfg.OneToOneSecondPass.buildingContext:Lorg/hibernate/boot/spi/MetadataBuildingContext;
aload 4
invokevirtual org.hibernate.mapping.Join.getTable:()Lorg/hibernate/mapping/Table;
aload 1
invokevirtual org.hibernate.mapping.PersistentClass.getIdentifier:()Lorg/hibernate/mapping/KeyValue;
invokespecial org.hibernate.mapping.DependantValue.<init>:(Lorg/hibernate/boot/spi/MetadataBuildingContext;Lorg/hibernate/mapping/Table;Lorg/hibernate/mapping/KeyValue;)V
astore 5
start local 5 5: aload 4
aload 5
invokevirtual org.hibernate.mapping.Join.setKey:(Lorg/hibernate/mapping/KeyValue;)V
6: aload 4
iconst_0
invokevirtual org.hibernate.mapping.Join.setSequentialSelect:(Z)V
7: aload 4
iconst_1
invokevirtual org.hibernate.mapping.Join.setOptional:(Z)V
8: aload 5
iconst_0
invokevirtual org.hibernate.mapping.SimpleValue.setCascadeDeleteEnabled:(Z)V
9: aload 2
invokevirtual org.hibernate.mapping.Property.getValue:()Lorg/hibernate/mapping/Value;
invokeinterface org.hibernate.mapping.Value.getColumnIterator:()Ljava/util/Iterator;
astore 6
start local 6 10: goto 25
11: StackMap locals: org.hibernate.mapping.Join org.hibernate.mapping.SimpleValue java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.mapping.Column
astore 7
start local 7 12: new org.hibernate.mapping.Column
dup
invokespecial org.hibernate.mapping.Column.<init>:()V
astore 8
start local 8 13: aload 8
aload 7
invokevirtual org.hibernate.mapping.Column.getLength:()I
invokevirtual org.hibernate.mapping.Column.setLength:(I)V
14: aload 8
aload 7
invokevirtual org.hibernate.mapping.Column.getScale:()I
invokevirtual org.hibernate.mapping.Column.setScale:(I)V
15: aload 8
aload 5
invokevirtual org.hibernate.mapping.Column.setValue:(Lorg/hibernate/mapping/Value;)V
16: aload 8
aload 7
invokevirtual org.hibernate.mapping.Column.getQuotedName:()Ljava/lang/String;
invokevirtual org.hibernate.mapping.Column.setName:(Ljava/lang/String;)V
17: aload 8
aload 7
invokevirtual org.hibernate.mapping.Column.isNullable:()Z
invokevirtual org.hibernate.mapping.Column.setNullable:(Z)V
18: aload 8
aload 7
invokevirtual org.hibernate.mapping.Column.getPrecision:()I
invokevirtual org.hibernate.mapping.Column.setPrecision:(I)V
19: aload 8
aload 7
invokevirtual org.hibernate.mapping.Column.isUnique:()Z
invokevirtual org.hibernate.mapping.Column.setUnique:(Z)V
20: aload 8
aload 7
invokevirtual org.hibernate.mapping.Column.getSqlType:()Ljava/lang/String;
invokevirtual org.hibernate.mapping.Column.setSqlType:(Ljava/lang/String;)V
21: aload 8
aload 7
invokevirtual org.hibernate.mapping.Column.getCheckConstraint:()Ljava/lang/String;
invokevirtual org.hibernate.mapping.Column.setCheckConstraint:(Ljava/lang/String;)V
22: aload 8
aload 7
invokevirtual org.hibernate.mapping.Column.getComment:()Ljava/lang/String;
invokevirtual org.hibernate.mapping.Column.setComment:(Ljava/lang/String;)V
23: aload 8
aload 7
invokevirtual org.hibernate.mapping.Column.getDefaultValue:()Ljava/lang/String;
invokevirtual org.hibernate.mapping.Column.setDefaultValue:(Ljava/lang/String;)V
24: aload 5
aload 8
invokevirtual org.hibernate.mapping.SimpleValue.addColumn:(Lorg/hibernate/mapping/Column;)V
end local 8 end local 7 25: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
26: aload 1
aload 4
invokevirtual org.hibernate.mapping.PersistentClass.addJoin:(Lorg/hibernate/mapping/Join;)V
27: aload 4
areturn
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 28 0 this Lorg/hibernate/cfg/OneToOneSecondPass;
0 28 1 persistentClass Lorg/hibernate/mapping/PersistentClass;
0 28 2 otherSideProperty Lorg/hibernate/mapping/Property;
0 28 3 originalJoin Lorg/hibernate/mapping/Join;
1 28 4 join Lorg/hibernate/mapping/Join;
5 28 5 key Lorg/hibernate/mapping/SimpleValue;
10 28 6 mappedByColumns Ljava/util/Iterator;
12 25 7 column Lorg/hibernate/mapping/Column;
13 25 8 copy Lorg/hibernate/mapping/Column;
MethodParameters:
Name Flags
persistentClass
otherSideProperty
originalJoin
}
SourceFile: "OneToOneSecondPass.java"