ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Vladimirov <denis.vladimi...@gmail.com>
Subject Re: [ANNOUNCE] Abator - a Java Code Generator for iBATIS
Date Sun, 11 Dec 2005 20:35:14 GMT
Hi Jeff,
I have just installed the Abator plugin.
When I am trying to run it I get the following error "/ by zero" and there
is no any stacktrace.
Does it have a log file I could look at ?
Do you know what the problem is?
Is my config file correct?
I am running it in the Eclipse 3.1.
Here is my config 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">
    <jdbcConnection driverClass="oracle.jdbc.driver.OracleDriver"
        connectionURL="jdbc:oracle:thin:@10.0.0.44:1521:uodev01"
        userId="denis"
        password="denis">
      <classPathEntry location="C:/Apps/Oracle/10g/jdbc/lib/ojdbc14.jar" />
    </jdbcConnection>

    <javaTypeResolver >
      <property name="forceBigDecimals" value="false" />  <!-- default is
false -->
    </javaTypeResolver>

    <javaModelGenerator targetPackage="test.model" targetProject="vlad">
      <property name="enableSubPackages" value="true" /> <!-- default is
false -->
      <property name="trimStrings" value="true" /> <!-- default is false -->
    </javaModelGenerator>

    <sqlMapGenerator targetPackage="test.xml"  targetProject="vlad">
      <property name="enableSubPackages" value="true" /> <!-- default is
false -->
    </sqlMapGenerator>

    <daoGenerator type="IBATIS" targetPackage="test.dao"
targetProject="vlad">
      <property name="enableSubPackages" value="true" /> <!-- default is
false -->
    </daoGenerator>

    <table schema="denis" tableName="PARAMETERS"
domainObjectName="Parameter" >
      <property name="useActualColumnNames" value="true"/> <!-- default is
false -->

    </table>

  </abatorContext>
</abatorConfiguration>



Thanks
Denis

Mime
View raw message