railo.runtime.orm.naming
Class SmartNamingStrategy
java.lang.Object
railo.runtime.orm.naming.SmartNamingStrategy
- All Implemented Interfaces:
- NamingStrategy
public class SmartNamingStrategy
- extends Object
- implements NamingStrategy
INSTANCE
public static final NamingStrategy INSTANCE
SmartNamingStrategy
public SmartNamingStrategy()
convertTableName
public String convertTableName(String tableName)
- Description copied from interface:
NamingStrategy
- Defines the table name to be used for a specified table name. The specified table name is either
the table name specified in the mapping or chosen using the entity name.
- Specified by:
convertTableName
in interface NamingStrategy
convertColumnName
public String convertColumnName(String columnName)
- Description copied from interface:
NamingStrategy
- Defines the column name to be used for a specified column name. The specified column name is either
the column name specified in the mapping or chosen using the property name.
- Specified by:
convertColumnName
in interface NamingStrategy
getType
public String getType()
- Specified by:
getType
in interface NamingStrategy
Copyright © 2012 Railo