Package org.beangle.orm.hibernate
Interface TableNamingStrategy
-
- All Known Implementing Classes:
DefaultTableNamingStrategy
public interface TableNamingStrategyEntity table and Collection Table Naming Strategy.- Author:
- chaostone
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringclassToTableName(Class<?> clazz)Convert class to table nameStringcollectionToTableName(Class<?> entityClass, String tableName, String collectionName)Convert collection to table nameStringgetSchema(String packageName)Return schema for packagebooleanisMultiSchema()Mapped in multischema?
-
-
-
Method Detail
-
classToTableName
String classToTableName(Class<?> clazz)
Convert class to table name- Parameters:
className-
-
collectionToTableName
String collectionToTableName(Class<?> entityClass, String tableName, String collectionName)
Convert collection to table name- Parameters:
className-tableName-collectionName-
-
isMultiSchema
boolean isMultiSchema()
Mapped in multischema?
-
-