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

Examples of cn.org.rapid_framework.generator.provider.db.model.Column


        }

        List columns = getTableColumns(table, primaryKeys, indices, uniqueIndices, uniqueColumns);

        for (Iterator i = columns.iterator(); i.hasNext();) {
            Column column = (Column) i.next();
            table.addColumn(column);
        }

        // In case none of the columns were primary keys, issue a warning.
        if (primaryKeys.size() == 0) {
View Full Code Here


            boolean isUnique = columnsInUniqueIndex != null && columnsInUniqueIndex.size() == 1;
            if (isUnique) {
                _log.debug("unique column:" + columnName);
            }
            Column column = new Column(table, sqlType, sqlTypeName, columnName, size, decimalDigits, isPk, isNullable,
                    isIndexed, isUnique, columnDefaultValue, remarks);
            columns.add(column);
        }
        columnRs.close();
        return columns;
View Full Code Here

TOP

Related Classes of cn.org.rapid_framework.generator.provider.db.model.Column

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.