Package org.javalite.activejdbc.annotations

Examples of org.javalite.activejdbc.annotations.DbName


            }
        }
    }

    protected static String getDbName(Class<? extends Model> modelClass) {
        DbName dbNameAnnotation = modelClass.getAnnotation(DbName.class);
        return dbNameAnnotation == null ? "default" : dbNameAnnotation.value();
    }
View Full Code Here

TOP

Related Classes of org.javalite.activejdbc.annotations.DbName

Copyright © 2018 www.massapicom. 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.