Java 类javax.sql.RowSetInternal 实例源码

项目:cn1    文件:CachedRowSetWriter.java   
private void init(RowSetInternal theRowSet) throws SQLException {
    currentRowSet = (CachedRowSetImpl) theRowSet;
    // initial environment
    originalRowSet = (CachedRowSet) currentRowSet.getOriginal();
    String schema = currentRowSet.getMetaData().getSchemaName(1);
    if (schema == null || schema.length() == 0) {
        tableName = currentRowSet.getTableName();
    } else {
        tableName = schema + "." + currentRowSet.getTableName(); //$NON-NLS-1$
    }
    columnCount = currentRowSet.getMetaData().getColumnCount();
    colNames = new String[columnCount];
    for (int i = 1; i <= columnCount; i++) {
        colNames[i - 1] = currentRowSet.getMetaData().getColumnName(i);
    }
}
项目:freeVM    文件:CachedRowSetWriter.java   
private void init(RowSetInternal theRowSet) throws SQLException {
    currentRowSet = (CachedRowSetImpl) theRowSet;
    // initial environment
    originalRowSet = (CachedRowSet) currentRowSet.getOriginal();
    String schema = currentRowSet.getMetaData().getSchemaName(1);
    if (schema == null || schema.length() == 0) {
        tableName = currentRowSet.getTableName();
    } else {
        tableName = schema + "." + currentRowSet.getTableName(); //$NON-NLS-1$
    }
    columnCount = currentRowSet.getMetaData().getColumnCount();
    colNames = new String[columnCount];
    for (int i = 1; i <= columnCount; i++) {
        colNames[i - 1] = currentRowSet.getMetaData().getColumnName(i);
    }
}
项目:In-the-Box-Fork    文件:RowSetReaderTest.java   
/**
 * @tests {@link javax.sql.RowSetReader#readData(RowSetInternal)}
 */
@TestTargetNew(
    level = TestLevel.NOT_FEASIBLE,
    notes = "",
    method = "readData",
    args = {javax.sql.RowSetInternal.class}
)
public void testReadData() {
    fail("Not yet implemented");
}
项目:In-the-Box-Fork    文件:RowSetWriterTest.java   
/**
 * @tests {@link javax.sql.RowSetWriter#writeData(javax.sql.RowSetInternal)}
 */
@TestTargetNew(
    level = TestLevel.NOT_FEASIBLE,
    notes = "",
    method = "writeData",
    args = {javax.sql.RowSetInternal.class}
)
public void testWriteData() {
    fail("Not yet implemented");
}