@java.lang.SuppressWarnings("PMD.DataflowAnomalyAnalysis")
public class TableForManyCalculator
extends java.lang.Object
| Constructor and description |
|---|
TableForManyCalculator(PersistentEntityNamingStrategy namingStrategy, org.hibernate.boot.spi.InFlightMetadataCollector mappings) |
protected TableForManyCalculator(PersistentEntityNamingStrategy namingStrategy, org.hibernate.boot.spi.InFlightMetadataCollector mappings, BackticksRemover backticksRemover) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public java.lang.String |
calculateTableForMany(HibernatePersistentProperty property)Calculates the mapping table for a many-to-many. |
|
public java.lang.String |
getJoinTableCatalog(HibernateToManyProperty property) |
|
public java.lang.String |
getJoinTableSchema(HibernateToManyProperty property) |
|
public java.lang.String |
getTableName(HibernateToManyProperty property) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Calculates the mapping table for a many-to-many. One side of the relationship has to "own" the relationship so that there is not a situation where you have two mapping tables for left_right and right_left