Skip to content

Commit e68bd2f

Browse files
committed
HBX-3185: Rename CollectionSecondPass to CollectionBinderSecondPass
Signed-off-by: Koen Aers <koen.aers@gmail.com>
1 parent c2053d3 commit e68bd2f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

orm/src/main/java/org/hibernate/tool/internal/reveng/binder/CollectionSecondPass.java renamed to orm/src/main/java/org/hibernate/tool/internal/reveng/binder/CollectionBinderSecondPass.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
import org.hibernate.mapping.PersistentClass;
1313
import org.hibernate.mapping.Value;
1414

15-
public class CollectionSecondPass extends org.hibernate.boot.model.internal.CollectionSecondPass {
15+
public class CollectionBinderSecondPass extends org.hibernate.boot.model.internal.CollectionSecondPass {
1616

1717
private static final long serialVersionUID =
18-
ObjectStreamClass.lookup(CollectionSecondPass.class).getSerialVersionUID();
18+
ObjectStreamClass.lookup(CollectionBinderSecondPass.class).getSerialVersionUID();
1919

2020
private MetadataBuildingContext mdbc;
2121

22-
public CollectionSecondPass(MetadataBuildingContext mdbc, Collection coll) {
22+
public CollectionBinderSecondPass(MetadataBuildingContext mdbc, Collection coll) {
2323
super(coll);
2424
this.mdbc = mdbc;
2525
}

orm/src/main/java/org/hibernate/tool/internal/reveng/binder/OneToManyBinder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ private void bindOneToMany(PersistentClass pc, ForeignKey fromForeignKey, Collec
130130
OneToMany oneToMany = new OneToMany(getMetadataBuildingContext(), collection.getOwner());
131131
oneToMany.setReferencedEntityName(getTableToClassName(fromForeignKey.getTable()));
132132
getMetadataCollector().addSecondPass(
133-
new CollectionSecondPass(getMetadataBuildingContext(), collection));
133+
new CollectionBinderSecondPass(getMetadataBuildingContext(), collection));
134134
collection.setElement(oneToMany);
135135
}
136136

0 commit comments

Comments
 (0)