Hi,
I am trying to generate
hibernate files from an
as400 library with
middlegenIDE (eclipse plugin), but when i want to generate these files i get the next error message:
BUILD FAILED: D:\testApps\middlegenAs400Test\src\java\middlegen-build.xml:91: middlegen.MiddlegenException: The database doesn't have any table named ORDER. Please make sure the table exists. Also note that some databases are case sensitive.
Found the following tables:
----
ORDER is a SQL-file:table.
Subset of my middlegen-build.xml:
Code:
<project name="Middlegen Hibernate" default="compile" basedir=".">
<property file="./build.properties"/>
<property name="hibernate.cascade" value="all" />
<property name="package" value="nl.kvk.commons.data" />
<property name="gen.xdoclet-tag" value="false" />
<property name="gui" value="true" />
<property name="jdbc.jar" value="D:\VVK\myProjects\VVKCoaching\Coaching JTOpen\lib\jtopen\jt400.jar" />
<property name="database.driver" value="com.ibm.as400.access.AS400JDBCDriver" />
<property name="lib.dir" value="/c:/java/eclipse301/plugins/net.sf.middlegen_2.1.0/lib/" />
<property name="database.url" value="jdbc:as400://10.0.2.12" />
<property name="database.userid" value="username" />
<property name="database.password" value="password" />
<property name="database.schema" value="DBKJHALIB" />
<property name="database.catalog" value="" />
<property name="dest.dir" value="src/java" />
|
|
<table name="ORDER" />
|
</project>
is this the right way to access a table on the as/400?
Can somebody
help me?
Best regards