Indra Adnyana
2003-02-26 09:00:06 UTC
Hi there,
Are there anyone here who already tried middlegen with Oracle 9.0.1?
I tried today with no success. Please help.
I downloaded Middlegen 2.0b1 in binary form.
This is the output:
C:\DevTools\middlegen\samples>ant
Buildfile: build.xml
check-driver-present:
panic-if-driver-not-present:
middlegen:
[middlegen] Database URL:jdbc:oracle:thin:@10.1.0.3:1521:srengsng
[middlegen] No <table> elements specified. Reading all tables. This
might take a
while...
BUILD FAILED
file:C:/DevTools/middlegen/samples/build.xml:95:
middlegen.MiddlegenException: M
iddlegen successfully connected to the database, but couldn't find any
tables. P
erhaps the specified schema or catalog is wrong? -Or maybe there aren't
any tabl
es in the database at all?
This is the oracle.xml:
<property name="database.script.file"
value="${src.dir}/sql/${name}-oracle.sql"/>
<property name="database.driver.file"
value="C:\oracle\ora90\jdbc\lib\classes12.jar"/>
<property name="database.driver.classpath"
value="${database.driver.file}"/>
<property name="database.driver"
value="oracle.jdbc.driver.OracleDriver"/>
<property name="database.url"
value="jdbc:oracle:thin:@10.1.0.3:1521:srengsng"/>
<property name="database.userid" value="system"/>
<property name="database.password" value="manager"/>
<property name="database.schema" value=""/>
<property name="database.catalog" value=""/>
build.xml stayed intact, except in the DOCTYPE section.
<!DOCTYPE project [
<!ENTITY database SYSTEM "file:./config/database/oracle.xml">
<!ENTITY ejb SYSTEM "file:./config/ejb/weblogic.xml">
]>
Thanks in advance
Indra Adnyana
***@sadikungroup.com
Are there anyone here who already tried middlegen with Oracle 9.0.1?
I tried today with no success. Please help.
I downloaded Middlegen 2.0b1 in binary form.
This is the output:
C:\DevTools\middlegen\samples>ant
Buildfile: build.xml
check-driver-present:
panic-if-driver-not-present:
middlegen:
[middlegen] Database URL:jdbc:oracle:thin:@10.1.0.3:1521:srengsng
[middlegen] No <table> elements specified. Reading all tables. This
might take a
while...
BUILD FAILED
file:C:/DevTools/middlegen/samples/build.xml:95:
middlegen.MiddlegenException: M
iddlegen successfully connected to the database, but couldn't find any
tables. P
erhaps the specified schema or catalog is wrong? -Or maybe there aren't
any tabl
es in the database at all?
This is the oracle.xml:
<property name="database.script.file"
value="${src.dir}/sql/${name}-oracle.sql"/>
<property name="database.driver.file"
value="C:\oracle\ora90\jdbc\lib\classes12.jar"/>
<property name="database.driver.classpath"
value="${database.driver.file}"/>
<property name="database.driver"
value="oracle.jdbc.driver.OracleDriver"/>
<property name="database.url"
value="jdbc:oracle:thin:@10.1.0.3:1521:srengsng"/>
<property name="database.userid" value="system"/>
<property name="database.password" value="manager"/>
<property name="database.schema" value=""/>
<property name="database.catalog" value=""/>
build.xml stayed intact, except in the DOCTYPE section.
<!DOCTYPE project [
<!ENTITY database SYSTEM "file:./config/database/oracle.xml">
<!ENTITY ejb SYSTEM "file:./config/ejb/weblogic.xml">
]>
Thanks in advance
Indra Adnyana
***@sadikungroup.com