ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From biao....@jpmorgan.com
Subject Re: Building iBATIS_DBL-2.1.0.565
Date Wed, 06 Jul 2005 23:13:24 GMT

Where is file build.bat? I don't see it in the zip file.


                                                                                         
                                            
                      Larry Meadors                                                      
                                            
                      <larry.meadors@gm        To:       user-java@ibatis.apache.org  
                                               
                      ail.com>                 cc:                                    
                                               
                                               Subject:  Re: Building iBATIS_DBL-2.1.0.565
                                           
                      07/06/2005 06:59                                                   
                                            
                      PM                                                                 
                                            
                      Please respond to                                                  
                                            
                      user-java                                                          
                                            
                                                                                         
                                            
                                                                                         
                                            




Just run the build.bat file.

On 7/6/05, biao.xue@jpmorgan.com <biao.xue@jpmorgan.com> wrote:
>
> Hi,
>
> I just downloaded iBATIS_DBL-2.1.0.565.zip, 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 {
>       getValidConnection().setHoldability(holdability);
>     }
>
>     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 {
>       getValidConnection().rollback(savepoint);
>     }
>
>     public void releaseSavepoint(Savepoint savepoint) throws SQLException
{
>       getValidConnection().releaseSavepoint(savepoint);
>     }
>
>     public Statement createStatement(int resultSetType, int
> resultSetConcurrency,
>                                      int resultSetHoldability) throws
> SQLException {
>       return getValidConnection().createStatement(resultSetType,
> resultSetConcurrency, resultSetHoldability);
>     }
>
>     public PreparedStatement prepareStatement(String sql, int
> resultSetType,
>                                               int resultSetConcurrency,
int
> resultSetHoldability)
>         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.
>
> Thanks,
> 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.
>
>




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.


Mime
View raw message