NamingPolicy

org.beangle.data.orm.NamingPolicy
See theNamingPolicy companion object
trait NamingPolicy

Entity table and Collection Table Naming Strategy.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def classToTableName(clazz: Class[_], entityName: String): Name

Convert class to table name

Convert class to table name

Attributes

def collectionToTableName(clazz: Class[_], entityName: String, tableName: String, collectionName: String): Name

Convert collection to table name

Convert collection to table name

Attributes

def propertyToColumnName(clazz: Class[_], property: String): String