ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuvraj Shinde" <Yuvraj.Shi...@sos.sungard.com>
Subject RE: abatorConfig
Date Wed, 18 Apr 2007 11:23:40 GMT
Following is required XML file.

 

 

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

<!DOCTYPE abatorConfiguration

  PUBLIC "-//Apache Software Foundation//DTD Abator for iBATIS
Configuration 1.0//EN"

  "http://ibatis.apache.org/dtd/abator-config_1_0.dtd">

 

<abatorConfiguration>

  <abatorContext id="OracleTables" generatorSet="Java2">

    <jdbcConnection driverClass="oracle.jdbc.driver.OracleDriver"

        connectionURL="jdbc:oracle:thin:@pc804:1521:zainet"

        userId="pseg"

        password="pseg">

       <classPathEntry location="ojdbc14.jar" />

    </jdbcConnection>

 

    <javaTypeResolver >

      <property name="forceBigDecimals" value="true" />

    </javaTypeResolver>

 

    <javaModelGenerator targetPackage="src.test.model"
targetProject="C:\abatorTestProject">

      <property name="enableSubPackages" value="true" />

      <property name="trimStrings" value="true" />

    </javaModelGenerator>

 

    <sqlMapGenerator targetPackage="src.test.xml"
targetProject="C:\abatorTestProject">

      <property name="enableSubPackages" value="true" />

    </sqlMapGenerator>

 

    <daoGenerator type="IBATIS" targetPackage="src.test.dao"
targetProject="C:\abatorTestProject">

      <property name="enableSubPackages" value="true" />

    </daoGenerator>

 

 

    <table tableName="PFORMULA" domainObjectName="PformulaDTO" >

      <property name="useActualColumnNames" value="false"/>

    </table>

 

 

    

  </abatorContext>

</abatorConfiguration>

 

________________________________

From: ahmad husain [mailto:husainahmad@gmail.com] 
Sent: Wednesday, April 18, 2007 4:44 PM
To: user-java@ibatis.apache.org
Subject: abatorConfig

 

Dear All

 

Does anyone has configuring abatorConfig.xml with Oracle? 

i always got such as "table not found" messagge each time running the
abator

if one of you has successfull configured it, please let me know.

 

Thanks.

 


Mime
View raw message