Package info.archinnov.achilles.annotations

Examples of info.archinnov.achilles.annotations.Entity.keyspace()


        String keyspaceName = currentKeyspaceNameO.or("");
        if(isNoneBlank(keyspaceName)) return keyspaceName;

        Entity annotation = entityClass.getAnnotation(Entity.class);

        keyspaceName = applyNamingStrategy(annotation.keyspace(), namingStrategy);

        Validator.validateBeanMappingTrue(isNotBlank(keyspaceName),"No keyspace name found for entity '"+entityClass.getCanonicalName()+"'. Keyspace name is looked up using either the @Entity annotation or in configuration parameter");

        keyspaceName = validateSchemaName(keyspaceName);
        return keyspaceName;
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.