Examples of naming()


Examples of info.archinnov.achilles.annotations.Strategy.naming()

        return strategy != null ? strategy.insert() : parsingContext.getDefaultInsertStrategy();
    }

    public NamingStrategy determineClassNamingStrategy(ConfigurationContext configContext, Class<?> currentEntityClass) {
        final Strategy strategy = currentEntityClass.getAnnotation(Strategy.class);
        return strategy != null ? strategy.naming() : configContext.getGlobalNamingStrategy();
    }

    public String inferCQLColumnName(Field field, NamingStrategy namingStrategy) {
        final String columnName = field.getName();
        log.trace("Inferring property columnName for property {}", columnName);
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.