Package org.sf.bee.persistence.sql

Examples of org.sf.bee.persistence.sql.SQLTable


        final List<SQLTable> result = new ArrayList<SQLTable>();
        final ResultSet resultset = metadata.getTables(dbName, null, null,
                new String[]{TYPE_TABLE});
        if (null != resultset) {
            while (resultset.next()) {
                final SQLTable item = this.getTable(resultset);
                result.add(item);
            }
        }
        return result.toArray(new SQLTable[result.size()]);
    }
View Full Code Here


        }
        return null;
    }

    private SQLTable getTable(final ResultSet resultset) throws SQLException {
        final SQLTable item = new SQLTable();
        item.setName(resultset.getString(this.SCHEMA_CONSTANTS().getTABLE_NAME()));
        return item;
    }
View Full Code Here

TOP

Related Classes of org.sf.bee.persistence.sql.SQLTable

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.