Package cn.org.rapid_framework.generator.provider.db.table.model

Examples of cn.org.rapid_framework.generator.provider.db.table.model.ColumnSet


    if(tableNames.size() > 1) {
        return false;
    }
        Table t = SqlFactory.getTableFromCache(tableNames.iterator().next().getName());
        for(Column c : columns) {
            Column fromTableColumn = new ColumnSet(t.getColumns()).getBySqlName(c.getSqlName());
            if(fromTableColumn == null) {
                return false;
            }
        }
       
View Full Code Here


            String ibatisSql = processSqlForMoneyParam(ibatisNamedSql,sql.getParams());
            return ibatisSql;
        }

    private static LinkedHashSet<Column> processWithCustomColumns(List<Column> customColumns,LinkedHashSet<Column> columns) {
        ColumnSet columnSet = new ColumnSet(customColumns);
      for(Column c : columns) {
                Column custom = columnSet.getBySqlName(c.getSqlName());
        if(custom != null) {
          c.setJavaType(custom.getJavaType());
        }
      }
      return columns;
View Full Code Here

TOP

Related Classes of cn.org.rapid_framework.generator.provider.db.table.model.ColumnSet

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.