Dear All expert
Does anyone here knows about abatorConfig.xml with PostgreSQL?

I have here one file, but still giving me warning message :

Table MUsers does not exist, or contains only LOB fields

Please help

Thanks
<?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>
    <!-- TODO: Add Database Connection Information -->
    <jdbcConnection driverClass="org.postgresql.Driver"
        connectionURL="jdbc:postgresql://localhost/db_koperasi"
        userId="user_koperasi"
        password="user_koperasi">
      <classPathEntry location="postgresql-8.3-604.jdbc3.jar" />
    </jdbcConnection>	

    <javaTypeResolver>
      <property name="forceBigDecimals" value="false" />
    </javaTypeResolver>
  
    <javaModelGenerator targetPackage="com.koperasi.persistence"
        targetProject="d:\tools\test\src">
      <property name="enableSubPackages" value="true" />
      <property name="trimStrings" value="true" />
    </javaModelGenerator>
  
    <sqlMapGenerator targetPackage="com.koperasi.persistence.xml"
        targetProject="d:\tools\test\src">
      <property name="enableSubPackages" value="true" />
    </sqlMapGenerator>
  
    <daoGenerator type="IBATIS" targetPackage="com.koperasi.dao"
        targetProject="d:\tools\test\src">
      <property name="enableSubPackages" value="true" />
    </daoGenerator>

    <table tableName="MAnggota" domainObjectName="MAnggota">
       <property name="useActualColumnNames" value="false"/>
    </table>     

<!--
    <table tableName="MAnggota">
      <property name="useActualColumnNames" value="true"/> 	
    </table>         	    

    <table tableName="MJenisKendaraan">
      <property name="useActualColumnNames" value="true"/> 	
    </table>         	    

    <table tableName="MMerkKendaraan">
      <property name="useActualColumnNames" value="true"/> 	
    </table>         	    

    <table tableName="MProgram">
      <property name="useActualColumnNames" value="true"/> 	
    </table>         	    

    <table tableName="MTipeKendaraan">
      <property name="useActualColumnNames" value="true"/> 	
    </table>
         	    
    <table tableName="TCicilanDPKendaraan">
      <property name="useActualColumnNames" value="true"/> 	
    </table>         	    

    <table tableName="TCicilanKendaraan">
      <property name="useActualColumnNames" value="true"/> 	
    </table>         	    

    <table tableName="TKreditKendaraan">
      <property name="useActualColumnNames" value="true"/> 	
    </table>         	        	    	    	    	    	    	    	    	
-->
  </abatorContext>
</abatorConfiguration>

Reply via email to