ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From biao....@jpmorgan.com
Subject Building iBATIS_DBL-
Date Wed, 06 Jul 2005 22:00:02 GMT


I just downloaded iBATIS_DBL-, importied source files into
WSAD, and tried to build it. I encounterted some problems:

1. Unresolvable import files:

// in file com.ibatis.db.dao.jdbc.SqlMap2DaoTransaction.java
import com.ibatis.db.dao.DaoException;
import com.ibatis.db.dao.DaoTransaction;

// in file com.ibatis.db.dao.jdbc.SqlMap2DaoTransactionPool.java
import com.ibatis.db.dao.DaoException;
import com.ibatis.db.dao.DaoTransaction;
import com.ibatis.db.dao.DaoTransactionPool;

2. Methods setHoldability(), getHoldability(), and setSavepoint() are
undefined for type Connection in file
com.ibatis.common.jdbc.SimpleDataSource.java. The type SavePoint cannot be
resolved either in the same file.

   public void setHoldability(int holdability) throws SQLException {

    public int getHoldability() throws SQLException {
      return getValidConnection().getHoldability();

    public Savepoint setSavepoint() throws SQLException {
      return getValidConnection().setSavepoint();

    public Savepoint setSavepoint(String name) throws SQLException {
      return getValidConnection().setSavepoint(name);

    public void rollback(Savepoint savepoint) throws SQLException {

    public void releaseSavepoint(Savepoint savepoint) throws SQLException {

    public Statement createStatement(int resultSetType, int
                                     int resultSetHoldability) throws
SQLException {
      return getValidConnection().createStatement(resultSetType,
resultSetConcurrency, resultSetHoldability);

    public PreparedStatement prepareStatement(String sql, int
                                              int resultSetConcurrency, int
        throws SQLException {
      return getValidConnection().prepareStatement(sql, resultSetType,
resultSetConcurrency, resultSetHoldability);

    public CallableStatement prepareCall(String sql, int resultSetType,
                                         int resultSetConcurrency,
                                         int resultSetHoldability) throws
SQLException {
      return getValidConnection().prepareCall(sql, resultSetType,
resultSetConcurrency, resultSetHoldability);

Help would be appriciated.

Biao Xue

This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market prices,
data and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein 
do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries 
and affiliates.

View raw message