public PreparedStatementWrapper preparedStatement(String sql) throws SQLException {
  final PreparedStatementWrapper psw=new PreparedStatementWrapper(m_connection,sql);
  if (m_preparedStatements == null) {
    m_preparedStatements=new ArrayList<PreparedStatementWrapper>();
  }
  m_preparedStatements.add(psw);
  return psw;
}

public PreparedStatementWrapper preparedStatement ( String sql ) throws SQLException { final PreparedStatementWrapper psw = new PreparedStatementWrapper ( m_connection , sql ) ; if ( m_preparedStatements == null ) { m_preparedStatements = new ArrayList < PreparedStatementWrapper > ( ) ; } m_preparedStatements . add ( psw ) ; return psw ; }
create a prepared statement . this also stores the prepared statement internally , to make sure it is closed .
