根据实体名(entityName)命名表
根据实体名(entityName)命名表
Collection Table
Collection Table
对配置文件起好的列名,不进行处理
对配置文件起好的列名,不进行处理
Return the property name or propertyTableName
Return the property name or propertyTableName
Return the argument
Return the argument
Return the column name if explicit or the concatenation of the property name and the referenced column
Return the column name if explicit or the concatenation of the property name and the referenced column
Returns either the table name if explicit or if there is an associated table, the concatenation of owner entity table and associated table otherwise the concatenation of owner entity table and the unqualified property name
Returns either the table name if explicit or if there is an associated table, the concatenation of owner entity table and associated table otherwise the concatenation of owner entity table and the unqualified property name
数据列的逻辑名
数据列的逻辑名
如果有列名,不做处理,否则按照属性自动起名. 该策略保证columnName=logicalColumnName
根据属性名自动起名
根据属性名自动起名
将混合大小写,带有.分割的属性描述,转换成下划线分割的名称。 属性名字包括:简单属性、集合属性、组合属性(component.name)
对自动起名和使体内集合配置的表名,添加前缀
对自动起名和使体内集合配置的表名,添加前缀
配置好的实体表名和关联表的名字都会经过此方法。
类似Rails的数据库表名、列名命名策略