Hello,
I am trying to run middlegen against the oracle 9i db and the following error occurs:
Code:
C:\dev\middlegen-2.1\samples\build.xml:228: middlegen.MiddlegenException: Couldn't connect to database: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153093120)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
The following is my config properties:
Code:
<property environment="env"/>
<property name="database.script.file" value="${src.dir}/sql/${name}-oracle.sql"/>
<property name="database.driver.file" value="${env.ORACLE_HOME}/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:@999.99.999.99:1521:db1"/>
<property name="database.userid" value="user"/>
<property name="database.password" value="pass"/>
<property name="database.schema" value=""/>
<property name="database.catalog" value=""/>
<!--property name="jboss.datasource.mapping" value="Oracle7"/-->
<!--property name="jboss.datasource.mapping" value="Oracle8"-->
<property name="jboss.datasource.mapping" value="Oracle9i"/>
Hibernate version:
3
Name and version of the database you are using:
Oracle 9i