AyaAbouzeid

Statement

Dec 3rd, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.76 KB | None | 0 0
  1. package eg.edu.alexu.csd.oop.JDBC;
  2.  
  3. import java.sql.Connection;
  4. import java.sql.ResultSet;
  5. import java.sql.SQLException;
  6. import java.sql.SQLWarning;
  7.  
  8. public class Statement implements java.sql.Statement{
  9.  
  10. @Override
  11. public boolean isWrapperFor(Class<?> iface) throws SQLException {
  12. // TODO Auto-generated method stub
  13. throw new java.lang.UnsupportedOperationException();
  14. }
  15.  
  16. @Override
  17. public <T> T unwrap(Class<T> iface) throws SQLException {
  18. // TODO Auto-generated method stub
  19. return null;
  20. }
  21.  
  22. @Override
  23. public void addBatch(String sql) throws SQLException {
  24. // TODO Auto-generated method stub
  25.  
  26. }
  27.  
  28. @Override
  29. public void cancel() throws SQLException {
  30. // TODO Auto-generated method stub
  31.  
  32. }
  33.  
  34. @Override
  35. public void clearBatch() throws SQLException {
  36. // TODO Auto-generated method stub
  37.  
  38. }
  39.  
  40. @Override
  41. public void clearWarnings() throws SQLException {
  42. // TODO Auto-generated method stub
  43.  
  44. }
  45.  
  46. @Override
  47. public void close() throws SQLException {
  48. // TODO Auto-generated method stub
  49.  
  50. }
  51.  
  52. @Override
  53. public void closeOnCompletion() throws SQLException {
  54. // TODO Auto-generated method stub
  55.  
  56. }
  57.  
  58. @Override
  59. public boolean execute(String sql) throws SQLException {
  60. // TODO Auto-generated method stub
  61. return false;
  62. }
  63.  
  64. @Override
  65. public boolean execute(String sql, int autoGeneratedKeys) throws SQLException {
  66. // TODO Auto-generated method stub
  67. return false;
  68. }
  69.  
  70. @Override
  71. public boolean execute(String sql, int[] columnIndexes) throws SQLException {
  72. // TODO Auto-generated method stub
  73. return false;
  74. }
  75.  
  76. @Override
  77. public boolean execute(String sql, String[] columnNames) throws SQLException {
  78. // TODO Auto-generated method stub
  79. return false;
  80. }
  81.  
  82. @Override
  83. public int[] executeBatch() throws SQLException {
  84. // TODO Auto-generated method stub
  85. return null;
  86. }
  87.  
  88. @Override
  89. public ResultSet executeQuery(String sql) throws SQLException {
  90. // TODO Auto-generated method stub
  91. return null;
  92. }
  93.  
  94. @Override
  95. public int executeUpdate(String sql) throws SQLException {
  96. // TODO Auto-generated method stub
  97. return 0;
  98. }
  99.  
  100. @Override
  101. public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException {
  102. // TODO Auto-generated method stub
  103. return 0;
  104. }
  105.  
  106. @Override
  107. public int executeUpdate(String sql, int[] columnIndexes) throws SQLException {
  108. // TODO Auto-generated method stub
  109. return 0;
  110. }
  111.  
  112. @Override
  113. public int executeUpdate(String sql, String[] columnNames) throws SQLException {
  114. // TODO Auto-generated method stub
  115. return 0;
  116. }
  117.  
  118. @Override
  119. public Connection getConnection() throws SQLException {
  120. // TODO Auto-generated method stub
  121. return null;
  122. }
  123.  
  124. @Override
  125. public int getFetchDirection() throws SQLException {
  126. // TODO Auto-generated method stub
  127. return 0;
  128. }
  129.  
  130. @Override
  131. public int getFetchSize() throws SQLException {
  132. // TODO Auto-generated method stub
  133. return 0;
  134. }
  135.  
  136. @Override
  137. public ResultSet getGeneratedKeys() throws SQLException {
  138. // TODO Auto-generated method stub
  139. return null;
  140. }
  141.  
  142. @Override
  143. public int getMaxFieldSize() throws SQLException {
  144. // TODO Auto-generated method stub
  145. return 0;
  146. }
  147.  
  148. @Override
  149. public int getMaxRows() throws SQLException {
  150. // TODO Auto-generated method stub
  151. return 0;
  152. }
  153.  
  154. @Override
  155. public boolean getMoreResults() throws SQLException {
  156. // TODO Auto-generated method stub
  157. return false;
  158. }
  159.  
  160. @Override
  161. public boolean getMoreResults(int current) throws SQLException {
  162. // TODO Auto-generated method stub
  163. return false;
  164. }
  165.  
  166. @Override
  167. public int getQueryTimeout() throws SQLException {
  168. // TODO Auto-generated method stub
  169. return 0;
  170. }
  171.  
  172. @Override
  173. public ResultSet getResultSet() throws SQLException {
  174. // TODO Auto-generated method stub
  175. return null;
  176. }
  177.  
  178. @Override
  179. public int getResultSetConcurrency() throws SQLException {
  180. // TODO Auto-generated method stub
  181. return 0;
  182. }
  183.  
  184. @Override
  185. public int getResultSetHoldability() throws SQLException {
  186. // TODO Auto-generated method stub
  187. return 0;
  188. }
  189.  
  190. @Override
  191. public int getResultSetType() throws SQLException {
  192. // TODO Auto-generated method stub
  193. return 0;
  194. }
  195.  
  196. @Override
  197. public int getUpdateCount() throws SQLException {
  198. // TODO Auto-generated method stub
  199. return 0;
  200. }
  201.  
  202. @Override
  203. public SQLWarning getWarnings() throws SQLException {
  204. // TODO Auto-generated method stub
  205. return null;
  206. }
  207.  
  208. @Override
  209. public boolean isCloseOnCompletion() throws SQLException {
  210. // TODO Auto-generated method stub
  211. return false;
  212. }
  213.  
  214. @Override
  215. public boolean isClosed() throws SQLException {
  216. // TODO Auto-generated method stub
  217. return false;
  218. }
  219.  
  220. @Override
  221. public boolean isPoolable() throws SQLException {
  222. // TODO Auto-generated method stub
  223. return false;
  224. }
  225.  
  226. @Override
  227. public void setCursorName(String name) throws SQLException {
  228. // TODO Auto-generated method stub
  229.  
  230. }
  231.  
  232. @Override
  233. public void setEscapeProcessing(boolean enable) throws SQLException {
  234. // TODO Auto-generated method stub
  235.  
  236. }
  237.  
  238. @Override
  239. public void setFetchDirection(int direction) throws SQLException {
  240. // TODO Auto-generated method stub
  241.  
  242. }
  243.  
  244. @Override
  245. public void setFetchSize(int rows) throws SQLException {
  246. // TODO Auto-generated method stub
  247.  
  248. }
  249.  
  250. @Override
  251. public void setMaxFieldSize(int max) throws SQLException {
  252. // TODO Auto-generated method stub
  253.  
  254. }
  255.  
  256. @Override
  257. public void setMaxRows(int max) throws SQLException {
  258. // TODO Auto-generated method stub
  259.  
  260. }
  261.  
  262. @Override
  263. public void setPoolable(boolean poolable) throws SQLException {
  264. // TODO Auto-generated method stub
  265.  
  266. }
  267.  
  268. @Override
  269. public void setQueryTimeout(int seconds) throws SQLException {
  270. // TODO Auto-generated method stub
  271.  
  272. }
  273.  
  274. }
Add Comment
Please, Sign In to add comment