1 package net.sourceforge.jdbclogger.oracle10g; 2 18 import net.sourceforge.jdbclogger.core.StatementWrapper; 19 import oracle.jdbc.OracleResultSetCache; 20 import oracle.jdbc.internal.OracleStatement; 21 22 import java.sql.SQLException ; 23 24 28 public class JdbcLoggerOracleStatementWrapper extends StatementWrapper 29 implements oracle.jdbc.internal.OracleStatement 30 { 31 private OracleStatement _oracleStatement; 32 33 public JdbcLoggerOracleStatementWrapper(OracleStatement statement) 34 { 35 super(statement); 36 37 _oracleStatement = statement; 38 } 39 40 public void setFixedString(boolean b) 41 { 42 _oracleStatement.setFixedString(b); 43 } 44 45 public boolean getFixedString() 46 { 47 return _oracleStatement.getFixedString(); 48 } 49 50 public int sendBatch() throws SQLException 51 { 52 return _oracleStatement.sendBatch(); 53 } 54 55 public boolean getserverCursor() 56 { 57 return _oracleStatement.getserverCursor(); 58 } 59 60 public int getcacheState() 61 { 62 return _oracleStatement.getcacheState(); 63 } 64 65 public int getstatementType() 66 { 67 return _oracleStatement.getstatementType(); 68 } 69 70 public void clearDefines() throws SQLException 71 { 72 _oracleStatement.clearDefines(); 73 } 74 75 public void defineColumnType(int i, int i1) throws SQLException 76 { 77 _oracleStatement.defineColumnType(i,i1); 78 } 79 80 public void defineColumnType(int i, int i1, int i2) throws SQLException 81 { 82 _oracleStatement.defineColumnType(i, i1, i2); 83 } 84 85 public void defineColumnType(int i, int i1, int i2, short i3) throws SQLException 86 { 87 _oracleStatement.defineColumnType(i, i1, i2, i3); 88 } 89 90 public void defineColumnTypeBytes(int i, int i1, int i2) throws SQLException 91 { 92 _oracleStatement.defineColumnTypeBytes(i,i1,i2); 93 } 94 95 public void defineColumnTypeChars(int i, int i1, int i2) throws SQLException 96 { 97 _oracleStatement.defineColumnTypeChars(i,i1,i2); 98 } 99 100 public void defineColumnType(int i, int i1, String s) throws SQLException 101 { 102 _oracleStatement.defineColumnType(i,i1,s); 103 } 104 105 public int getRowPrefetch() 106 { 107 return _oracleStatement.getRowPrefetch(); 108 } 109 110 public void setResultSetCache(OracleResultSetCache oracleResultSetCache) throws SQLException 111 { 112 _oracleStatement.setResultSetCache(oracleResultSetCache); 113 } 114 115 public void setRowPrefetch(int i) throws SQLException 116 { 117 _oracleStatement.setRowPrefetch(i); 118 } 119 120 public void closeWithKey(String s) throws SQLException 121 { 122 _oracleStatement.closeWithKey(s); 123 } 124 125 public int creationState() 126 { 127 return _oracleStatement.creationState(); 128 } 129 130 public boolean isNCHAR(int i) throws SQLException 131 { 132 return _oracleStatement.isNCHAR(i); 133 } 134 } 135 | Popular Tags |