Package com.digitolio.jdbi.strategy

Examples of com.digitolio.jdbi.strategy.TranslatingStrategyAware


import java.util.Map;

final class TableFactory {

    Table newInstance(Connection con, TranslateTableBean translateTableBean) {
        TranslatingStrategyAware translater = translateTableBean.getTranslater();
        String tableDb = translater.getPropertyTranslatingStrategy().translate(translateTableBean.getType().getSimpleName());
        String tableCode = translater.getDbTranslatingStrategy().translate(tableDb);

        return new Table(
            tableCode,
            tableDb,
            generateInfo(fetchPrimaryKeys(con, tableDb), translater),
View Full Code Here

TOP

Related Classes of com.digitolio.jdbi.strategy.TranslatingStrategyAware

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.