public class PostgreSqlNameGenerator extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getColumnName(Attribute attr,
boolean quotedIdentifier) |
static String |
getJunctionTableName(EntityType entityType,
Attribute attr,
boolean quotedIdentifier)
Returns the junction table name for the given attribute of the given entity
|
static String |
getTableName(EntityType entityType,
boolean quotedIdentifier)
Returns the table name based on entity name
|
public static String getTableName(EntityType entityType, boolean quotedIdentifier)
entityType - entity meta datapublic static String getJunctionTableName(EntityType entityType, Attribute attr, boolean quotedIdentifier)
entityType - entity meta data that owns the attributeattr - attributeCopyright © 2017. All rights reserved.