1. /**
  2. * Copyright: Copyright (c) 2005-2005
  3. * Company: JavaResearch(http://www.javaresearch.org)
  4. */
  5. package org.javaresearch.jerch;
  6. import java.sql.PreparedStatement;
  7. import java.sql.SQLException;
  8. /**
  9. * 设置PreparedStatement的参数的接口定义。
  10. * 最后更新日期:2005年3月28日
  11. * @author cherami
  12. */
  13. public interface PreparedStatementSetter {
  14. /**
  15. * 设置PreparedStatement所需的全部参数。
  16. * @param ps PreparedStatement
  17. * @throws SQLException
  18. */
  19. public void setValues(PreparedStatement ps) throws SQLException;
  20. }