IStatement.java 657 B

12345678910111213141516171819
  1. package me.km.databank;
  2. import java.sql.ResultSet;
  3. import java.sql.SQLException;
  4. public interface IStatement
  5. {
  6. public void validate() throws SQLException;
  7. public void close() throws SQLException;
  8. public void setInt(int index, int i) throws SQLException;
  9. public void setLong(int index, long l) throws SQLException;
  10. public void setFloat(int index, float f) throws SQLException;
  11. public void setDouble(int index, double d) throws SQLException;
  12. public void setString(int index, String s) throws SQLException;
  13. public ResultSet executeQuery() throws SQLException;
  14. public void executeUpdate() throws SQLException;
  15. }