You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MySqlStatement.java 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. /*******************************************************************************
  2. * Copyright (c) 2009 Contributors.
  3. * All rights reserved.
  4. * This program and the accompanying materials are made available
  5. * under the terms of the Eclipse Public License v1.0
  6. * which accompanies this distribution and is available at
  7. * http://eclipse.org/legal/epl-v10.html
  8. *
  9. * Contributors:
  10. * Andy Clement
  11. *******************************************************************************/
  12. package testdata;
  13. import java.sql.Connection;
  14. import java.sql.ResultSet;
  15. import java.sql.SQLException;
  16. import java.sql.SQLWarning;
  17. import java.sql.Statement;
  18. public abstract class MySqlStatement implements Statement {
  19. public void addBatch(String sql) throws SQLException {
  20. }
  21. public void cancel() throws SQLException {
  22. }
  23. public void clearBatch() throws SQLException {
  24. }
  25. public void clearWarnings() throws SQLException {
  26. }
  27. public void close() throws SQLException {
  28. }
  29. public boolean execute(String sql) throws SQLException {
  30. return false;
  31. }
  32. public boolean execute(String sql, int autoGeneratedKeys) throws SQLException {
  33. return false;
  34. }
  35. public boolean execute(String sql, int[] columnIndexes) throws SQLException {
  36. return false;
  37. }
  38. public boolean execute(String sql, String[] columnNames) throws SQLException {
  39. return false;
  40. }
  41. public int[] executeBatch() throws SQLException {
  42. return null;
  43. }
  44. public ResultSet executeQuery(String sql) throws SQLException {
  45. return null;
  46. }
  47. public int executeUpdate(String sql) throws SQLException {
  48. return 0;
  49. }
  50. public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException {
  51. return 0;
  52. }
  53. public int executeUpdate(String sql, int[] columnIndexes) throws SQLException {
  54. return 0;
  55. }
  56. public int executeUpdate(String sql, String[] columnNames) throws SQLException {
  57. return 0;
  58. }
  59. public Connection getConnection() throws SQLException {
  60. return null;
  61. }
  62. public int getFetchDirection() throws SQLException {
  63. return 0;
  64. }
  65. public int getFetchSize() throws SQLException {
  66. return 0;
  67. }
  68. public ResultSet getGeneratedKeys() throws SQLException {
  69. return null;
  70. }
  71. public int getMaxFieldSize() throws SQLException {
  72. return 0;
  73. }
  74. public int getMaxRows() throws SQLException {
  75. return 0;
  76. }
  77. public boolean getMoreResults() throws SQLException {
  78. return false;
  79. }
  80. public boolean getMoreResults(int current) throws SQLException {
  81. return false;
  82. }
  83. public int getQueryTimeout() throws SQLException {
  84. return 0;
  85. }
  86. public ResultSet getResultSet() throws SQLException {
  87. return null;
  88. }
  89. public int getResultSetConcurrency() throws SQLException {
  90. return 0;
  91. }
  92. public int getResultSetHoldability() throws SQLException {
  93. return 0;
  94. }
  95. public int getResultSetType() throws SQLException {
  96. return 0;
  97. }
  98. public int getUpdateCount() throws SQLException {
  99. return 0;
  100. }
  101. public SQLWarning getWarnings() throws SQLException {
  102. return null;
  103. }
  104. public void setCursorName(String name) throws SQLException {
  105. }
  106. public void setEscapeProcessing(boolean enable) throws SQLException {
  107. }
  108. public void setFetchDirection(int direction) throws SQLException {
  109. }
  110. public void setFetchSize(int rows) throws SQLException {
  111. }
  112. public void setMaxFieldSize(int max) throws SQLException {
  113. }
  114. public void setMaxRows(int max) throws SQLException {
  115. }
  116. public void setQueryTimeout(int seconds) throws SQLException {
  117. }
  118. public boolean isClosed() throws SQLException {
  119. // TODO Auto-generated method stub
  120. return false;
  121. }
  122. public boolean isPoolable() throws SQLException {
  123. // TODO Auto-generated method stub
  124. return false;
  125. }
  126. public void setPoolable(boolean poolable) throws SQLException {
  127. // TODO Auto-generated method stub
  128. }
  129. public boolean isWrapperFor(Class<?> iface) throws SQLException {
  130. // TODO Auto-generated method stub
  131. return false;
  132. }
  133. public <T> T unwrap(Class<T> iface) throws SQLException {
  134. // TODO Auto-generated method stub
  135. return null;
  136. }
  137. }