|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.cfg.ImprovedNamingStrategy
com.jalios.jcms.db.JcmsHibernateNamingStrategy
public class JcmsHibernateNamingStrategy
This class defines the JCMS Hibernate Naming Strategy for tables and column names.
Field Summary |
---|
Fields inherited from class org.hibernate.cfg.ImprovedNamingStrategy |
---|
INSTANCE |
Constructor Summary | |
---|---|
JcmsHibernateNamingStrategy()
|
Method Summary | |
---|---|
String |
columnName(String columnName)
|
String |
propertyToColumnName(String propertyName)
|
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 |
Constructor Detail |
---|
public JcmsHibernateNamingStrategy()
Method Detail |
---|
public String propertyToColumnName(String propertyName)
propertyToColumnName
in interface org.hibernate.cfg.NamingStrategy
propertyToColumnName
in class org.hibernate.cfg.ImprovedNamingStrategy
public String columnName(String columnName)
columnName
in interface org.hibernate.cfg.NamingStrategy
columnName
in class org.hibernate.cfg.ImprovedNamingStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |