3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 */ 23 package test.rowset.joinrowset; 24 25 import java.sql.SQLException; 26 import java.sql.Types; 27 import java.util.ArrayList; 28 import java.util.List; 29 import javax.sql.RowSet; 30 import javax.sql.rowset.CachedRowSet; 31 import javax.sql.rowset.JoinRowSet; 32 import javax.sql.rowset.RowSetMetaDataImpl; 33 import javax.sql.rowset.WebRowSet; 34 import static org.testng.Assert.assertEquals; 35 import org.testng.annotations.DataProvider; 36 import org.testng.annotations.Test; 37 import test.rowset.webrowset.CommonWebRowSetTests; 38 39 public class JoinRowSetTests extends CommonWebRowSetTests { 40 41 private final String SUPPLIERS_TABLE = "SUPPLIERS"; 42 // Expected COF_IDs to be found | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 */ 23 24 /** 25 * @test 26 * @modules java.sql.rowset/com.sun.rowset 27 * java.sql.rowset/com.sun.rowset.internal 28 * java.sql.rowset/com.sun.rowset.providers 29 */ 30 31 package test.rowset.joinrowset; 32 33 import java.sql.SQLException; 34 import java.sql.Types; 35 import java.util.ArrayList; 36 import java.util.List; 37 import javax.sql.RowSet; 38 import javax.sql.rowset.CachedRowSet; 39 import javax.sql.rowset.JoinRowSet; 40 import javax.sql.rowset.RowSetMetaDataImpl; 41 import javax.sql.rowset.WebRowSet; 42 import static org.testng.Assert.assertEquals; 43 import org.testng.annotations.DataProvider; 44 import org.testng.annotations.Test; 45 import test.rowset.webrowset.CommonWebRowSetTests; 46 47 public class JoinRowSetTests extends CommonWebRowSetTests { 48 49 private final String SUPPLIERS_TABLE = "SUPPLIERS"; 50 // Expected COF_IDs to be found |