1 21 22 package org.apache.derby.impl.tools.ij; 23 24 import java.sql.Connection ; 25 import java.sql.SQLException ; 26 import java.sql.SQLWarning ; 27 28 31 class ijConnectionResult extends ijResultImpl { 32 33 Connection conn; 34 35 ijConnectionResult(Connection c) { 36 conn = c; 37 } 38 39 public boolean isConnection() { return true; } 40 41 public Connection getConnection() { return conn; } 42 43 public SQLWarning getSQLWarnings() throws SQLException { return conn.getWarnings(); } 44 public void clearSQLWarnings() throws SQLException { conn.clearWarnings(); } 45 } 46 | Popular Tags |