1 22 23 package org.xquark.mapper.dbms; 24 25 import java.sql.*; 26 27 import org.xquark.jdbc.typing.DBMSInfo; 28 29 35 public class JDBC1Connection extends DefaultConnectionImpl 36 { 37 private static final String RCSRevision = "$Revision: 1.2 $"; 38 private static final String RCSName = "$Name: $"; 39 40 41 public JDBC1Connection(Connection connection, short dbms) 42 throws SQLException 43 { 44 super(connection, dbms); 45 } 46 47 protected JDBC1Connection(Connection connection, short dbms, DBMSInfo dbmsInfo) 48 throws SQLException 49 { 50 super(connection, dbms, dbmsInfo); 51 } 52 53 59 public void addBatch(PreparedStatement stmt) throws SQLException 60 { 61 stmt.executeUpdate(); 62 } 63 64 68 public void addBatch(Statement stmt, String SQLStatement) throws SQLException 69 { 70 stmt.executeUpdate(SQLStatement); 71 } 72 73 79 public int[] executeBatch(Statement stmt) throws SQLException 80 { 81 return null; 82 } 83 84 89 public void setFetchSize(Statement stmt,int rows) throws SQLException 90 { 91 } 93 } 94 | Popular Tags |