Top Description Fields Constructors Methods
org.hibernate.boot.model.internal

public Class ImplicitToOneJoinTableSecondPass

extends Object
implements SecondPass
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.spi.SecondPass, java.io.Serializable
Imports
jakarta.persistence.JoinTable, org.hibernate.annotations.NotFoundAction, org.hibernate.boot.spi.InFlightMetadataCollector, .MetadataBuildingContext, .PropertyData, .SecondPass, org.hibernate.mapping.Join, .ManyToOne, .PersistentClass, .Table, java.util.Map

For jakarta.persistence.ManyToOne and jakarta.persistence.OneToOne associations mapped to a JoinTable with no explicitly-specified table name, we need to defer creation of the Table object.
Author
Gavin King

Field Summary

Modifier and TypeField and Description
private final MetadataBuildingContext
private final PropertyData
private final AnnotatedJoinColumns
private final JoinTable
private final NotFoundAction
private final PropertyHolder
private final ManyToOne

Constructor Summary

AccessConstructor and Description
public
ImplicitToOneJoinTableSecondPass(PropertyHolder propertyHolder, PropertyData inferredData, MetadataBuildingContext context, AnnotatedJoinColumns joinColumns, JoinTable joinTable, NotFoundAction notFoundAction, ManyToOne value)

Method Summary

Modifier and TypeMethod and Description
private TableBinder
public void
doSecondPass(Map<String, PersistentClass> persistentClasses)

Implements org.hibernate.boot.spi.SecondPass.doSecondPass.

Perform the operation
private void
inferJoinTableName(TableBinder tableBinder, Map<String, PersistentClass> persistentClasses)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

contextback to summary
private final MetadataBuildingContext context
inferredDataback to summary
private final PropertyData inferredData
joinColumnsback to summary
private final AnnotatedJoinColumns joinColumns
joinTableback to summary
private final JoinTable joinTable
notFoundActionback to summary
private final NotFoundAction notFoundAction
propertyHolderback to summary
private final PropertyHolder propertyHolder
valueback to summary
private final ManyToOne value

Constructor Detail

ImplicitToOneJoinTableSecondPassback to summary
public ImplicitToOneJoinTableSecondPass(PropertyHolder propertyHolder, PropertyData inferredData, MetadataBuildingContext context, AnnotatedJoinColumns joinColumns, JoinTable joinTable, NotFoundAction notFoundAction, ManyToOne value)

Method Detail

createTableBinderback to summary
private TableBinder createTableBinder()
doSecondPassback to summary
public void doSecondPass(Map<String, PersistentClass> persistentClasses)

Implements org.hibernate.boot.spi.SecondPass.doSecondPass.

Doc from org.hibernate.boot.spi.SecondPass.doSecondPass.

Perform the operation

Annotations
@Override
inferJoinTableNameback to summary
private void inferJoinTableName(TableBinder tableBinder, Map<String, PersistentClass> persistentClasses)