com.evolveum.midpoint.repo.sql.util
Class MidPointNamingStrategy
java.lang.Object
org.hibernate.cfg.EJB3NamingStrategy
com.evolveum.midpoint.repo.sql.util.MidPointNamingStrategy
- All Implemented Interfaces:
- Serializable, org.hibernate.cfg.NamingStrategy
public class MidPointNamingStrategy
- extends org.hibernate.cfg.EJB3NamingStrategy
- Author:
- lazyman
- See Also:
- Serialized Form
Fields inherited from class org.hibernate.cfg.EJB3NamingStrategy |
INSTANCE |
Methods inherited from class org.hibernate.cfg.EJB3NamingStrategy |
collectionTableName, columnName, foreignKeyColumnName, joinKeyColumnName, logicalCollectionColumnName, logicalCollectionTableName, tableName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MidPointNamingStrategy
public MidPointNamingStrategy()
classToTableName
public String classToTableName(String className)
- Specified by:
classToTableName
in interface org.hibernate.cfg.NamingStrategy
- Overrides:
classToTableName
in class org.hibernate.cfg.EJB3NamingStrategy
logicalColumnName
public String logicalColumnName(String columnName,
String propertyName)
- Specified by:
logicalColumnName
in interface org.hibernate.cfg.NamingStrategy
- Overrides:
logicalColumnName
in class org.hibernate.cfg.EJB3NamingStrategy
propertyToColumnName
public String propertyToColumnName(String propertyName)
- Specified by:
propertyToColumnName
in interface org.hibernate.cfg.NamingStrategy
- Overrides:
propertyToColumnName
in class org.hibernate.cfg.EJB3NamingStrategy
Copyright © 2013 evolveum. All Rights Reserved.