ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Czurak" <pczu...@wsinc.com>
Subject iBator and DB2
Date Fri, 24 Apr 2009 05:14:03 GMT
I am using iBator 2.1 with Eclipse 3.4.2 and iBatis


When I right click on the ibatorConfig.xml file and select Generate
iBATIS Artifacts I get the following error message


Unexpected error while running Ibator.

Exception getting JDBC Driver


The following java code works fine, so I know the driver name is





What am I doing wrong?


Here's my ibatorConfig.xml file


<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE ibatorConfiguration PUBLIC "-//Apache Software Foundation//DTD
Apache iBATIS Ibator Configuration 1.0//EN"
"http://ibatis.apache.org/dtd/ibator-config_1_0.dtd" >

<ibatorConfiguration >

  <ibatorContext id="context1" >

    <jdbcConnection driverClass="com.ibm.db2.jcc.DB2Driver" 


    userId="test" password="test"/>  

    <javaModelGenerator targetPackage="com.wsinc.track.model"
targetProject="PeopleSoftConnector" />

    <sqlMapGenerator targetPackage="com.wsinc.track.map"
targetProject="PeopleSoftConnector" />

    <daoGenerator targetPackage="com.wsinc.track.dao"
targetProject="PeopleSoftConnector" type="GENERIC-CI" />

    <table schema="PRINT" tableName="Track" >

      <columnOverride column="???" property="???" />






Thank you,

Peter Czurak
Phone (920) 830-5104 or (800) 999-2545 ext. 5104
E-mail - pczurak@wsinc.com <mailto:czupet@wsinc.com> 


View raw message