| 1 22 23 24 package com.mchange.v2.sql.filter; 25 26 import java.lang.String ; 27 import java.sql.Connection ; 28 import java.sql.ResultSet ; 29 import java.sql.SQLException ; 30 import java.sql.SQLWarning ; 31 import java.sql.Statement ; 32 33 public abstract class SynchronizedFilterStatement implements Statement  34 { 35 protected Statement inner; 36 37 public SynchronizedFilterStatement(Statement inner) 38 { this.inner = inner; } 39 40 public SynchronizedFilterStatement() 41 {} 42 43 public synchronized void setInner( Statement inner ) 44 { this.inner = inner; } 45 46 public synchronized Statement getInner() 47 { return inner; } 48 49 public synchronized SQLWarning getWarnings() throws SQLException  50 { return inner.getWarnings(); } 51 52 public synchronized void clearWarnings() throws SQLException  53 { inner.clearWarnings(); } 54 55 public synchronized void setFetchDirection(int a) throws SQLException  56 { inner.setFetchDirection(a); } 57 58 public synchronized int getFetchDirection() throws SQLException  59 { return inner.getFetchDirection(); } 60 61 public synchronized void setFetchSize(int a) throws SQLException  62 { inner.setFetchSize(a); } 63 64 public synchronized int getFetchSize() throws SQLException  65 { return inner.getFetchSize(); } 66 67 public synchronized int getResultSetHoldability() throws SQLException  68 { return inner.getResultSetHoldability(); } 69 70 public synchronized ResultSet executeQuery(String a) throws SQLException  71 { return inner.executeQuery(a); } 72 73 public synchronized int executeUpdate(String a, int b) throws SQLException  74 { return inner.executeUpdate(a, b); } 75 76 public synchronized int executeUpdate(String a, String [] b) throws SQLException  77 { return inner.executeUpdate(a, b); } 78 79 public synchronized int executeUpdate(String a, int[] b) throws SQLException  80 { return inner.executeUpdate(a, b); } 81 82 public synchronized int executeUpdate(String a) throws SQLException  83 { return inner.executeUpdate(a); } 84 85 public synchronized int getMaxFieldSize() throws SQLException  86 { return inner.getMaxFieldSize(); } 87 88 public synchronized void setMaxFieldSize(int a) throws SQLException  89 { inner.setMaxFieldSize(a); } 90 91 public synchronized int getMaxRows() throws SQLException  92 { return inner.getMaxRows(); } 93 94 public synchronized void setMaxRows(int a) throws SQLException  95 { inner.setMaxRows(a); } 96 97 public synchronized void setEscapeProcessing(boolean a) throws SQLException  98 { inner.setEscapeProcessing(a); } 99 100 public synchronized int getQueryTimeout() throws SQLException  101 { return inner.getQueryTimeout(); } 102 103 public synchronized void setQueryTimeout(int a) throws SQLException  104 { inner.setQueryTimeout(a); } 105 106 public synchronized void setCursorName(String a) throws SQLException  107 { inner.setCursorName(a); } 108 109 public synchronized ResultSet getResultSet() throws SQLException  110 { return inner.getResultSet(); } 111 112 public synchronized int getUpdateCount() throws SQLException  113 { return inner.getUpdateCount(); } 114 115 public synchronized boolean getMoreResults() throws SQLException  116 { return inner.getMoreResults(); } 117 118 public synchronized boolean getMoreResults(int a) throws SQLException  119 { return inner.getMoreResults(a); } 120 121 public synchronized int getResultSetConcurrency() throws SQLException  122 { return inner.getResultSetConcurrency(); } 123 124 public synchronized int getResultSetType() throws SQLException  125 { return inner.getResultSetType(); } 126 127 public synchronized void addBatch(String a) throws SQLException  128 { inner.addBatch(a); } 129 130 public synchronized void clearBatch() throws SQLException  131 { inner.clearBatch(); } 132 133 public synchronized int[] executeBatch() throws SQLException  134 { return inner.executeBatch(); } 135 136 public synchronized ResultSet getGeneratedKeys() throws SQLException  137 { return inner.getGeneratedKeys(); } 138 139 public synchronized void close() throws SQLException  140 { inner.close(); } 141 142 public synchronized boolean execute(String a, int b) throws SQLException  143 { return inner.execute(a, b); } 144 145 public synchronized boolean execute(String a) throws SQLException  146 { return inner.execute(a); } 147 148 public synchronized boolean execute(String a, int[] b) throws SQLException  149 { return inner.execute(a, b); } 150 151 public synchronized boolean execute(String a, String [] b) throws SQLException  152 { return inner.execute(a, b); } 153 154 public synchronized Connection getConnection() throws SQLException  155 { return inner.getConnection(); } 156 157 public synchronized void cancel() throws SQLException  158 { inner.cancel(); } 159 } 160 | Popular Tags |