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); } }
/** * @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"); }
/** * @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"); }