List of usage examples for org.hibernate.cfg DefaultNamingStrategy subclass-usage
From source file com.jaspersoft.hibernate.HibernateColumnRenamingStrategy.java
/**
* Hibernate has a NamingStrategy interface which provides a hook for modifying Hibernate mappings.
* This means that you can keep a single set of mappings but customize them at runtime (and DDL generation time).
* In Spring, this can be passed to the session factory by setting the namingStrategy property of
* org.springframework.orm.hibernate3.LocalSessionFactoryBean.
*
From source file com.NameingStrategy.java
/** * * @author azza */ public class NameingStrategy extends DefaultNamingStrategy { public String ClassToTableName(String className) {
From source file gov.nih.nci.calims2.dao.naming.PrefixNamingStrategy.java
/**
* NamingStrategy that applies a given prefix to table names. This class is intended to be subclassed by naming strategies that give
* the prefix in their default constructor.
*
* @author viseem
*
From source file org.intelligentsia.utility.jpa.CustomTableNamingStrategy.java
/**
* CustomTableNamingStrategy is a base class to customize table name.
*
* @author <a href="mailto:jguibert@intelligents-ia.com">Jrme Guibert</a>
* @version 1.0.0
*/
From source file org.librazur.gtd.model.dao.impl.HibernateNamingStrategy.java
public class HibernateNamingStrategy extends DefaultNamingStrategy { private String prefix = "gtd_"; public String classToTableName(String className) { return prefix + super.classToTableName(className); }