Hibernate ORM DefaultNamingStrategy - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM DefaultNamingStrategy class.

This code example shows how to use the following methods:
package org.hibernate.test.namingstrategy; 
import org.hibernate.cfg.DefaultNamingStrategy; 
 * @author Emmanuel Bernard 
 * @author Lukasz Antoniak (lukasz dot antoniak at gmail dot com) 
public class TestNamingStrategy extends DefaultNamingStrategy { 
	public String propertyToColumnName(String propertyName) { 
		return "PTCN_" + propertyName; 
	public String columnName(String columnName) { 
		return "CN_" + columnName; 
	public String logicalColumnName(String columnName, String 
			propertyName) { 
		return "LCN_" + super.logicalColumnName( columnName, propertyName ); 

See Code Examples for Hibernate ORM DefaultNamingStrategy Methods: