com.jalios.jcms.db
Class JcmsHibernateNamingStrategy
java.lang.Object
org.hibernate.cfg.ImprovedNamingStrategy
com.jalios.jcms.db.JcmsHibernateNamingStrategy
- All Implemented Interfaces:
- Serializable, org.hibernate.cfg.NamingStrategy
public class JcmsHibernateNamingStrategy
- extends org.hibernate.cfg.ImprovedNamingStrategy
This class defines the JCMS Hibernate Naming Strategy for tables and column names.
- Since:
- jcms-6.0.0
- Author:
- Olivier Dedieu
- See Also:
- Serialized Form
Fields inherited from class org.hibernate.cfg.ImprovedNamingStrategy |
INSTANCE |
Methods inherited from class org.hibernate.cfg.ImprovedNamingStrategy |
addUnderscores, classToTableName, collectionTableName, foreignKeyColumnName, joinKeyColumnName, logicalCollectionColumnName, logicalCollectionTableName, logicalColumnName, tableName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
JcmsHibernateNamingStrategy
public JcmsHibernateNamingStrategy()
propertyToColumnName
public String propertyToColumnName(String propertyName)
- Specified by:
propertyToColumnName
in interface org.hibernate.cfg.NamingStrategy
- Overrides:
propertyToColumnName
in class org.hibernate.cfg.ImprovedNamingStrategy
columnName
public String columnName(String columnName)
- Specified by:
columnName
in interface org.hibernate.cfg.NamingStrategy
- Overrides:
columnName
in class org.hibernate.cfg.ImprovedNamingStrategy
Copyright © 2001-2010 Jalios SA. All Rights Reserved.