Examples of propertyToColumnName()


Examples of org.hibernate.cfg.ImprovedNamingStrategy.propertyToColumnName()

    @Test
    public void improvedNaming_PropertyToColumnName() {
        ImprovedNamingStrategy namingStrategy = new ImprovedNamingStrategy();

        for (int i = 0; i < propertyNames.length; i++) {
            final String columnName = namingStrategy.propertyToColumnName(propertyNames[i]);
            assertThat(columnName).isEqualTo(columnNames[i]);
        }
    }

    @Test
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.