Hi All,

It seems to be the day for Oracle questions.

I'm trying to deploy my app to our test environment which has an Oracle (10g) db but am having problems getting the data inserted.

I thought I'd try and create a ddl file and simply execute that via a DB client.

My project is AppFuse 2 + Struts 2 Basic and I'm using the following command in my project root:

mvn hibernate3:hbm2ddl -Denv=test -Dexport=false -Doutputfilename=oracle.ddl -Dmaven.test.skip=true

I'm not sure about the "export" and "outputfilename" parameters, having guessed at those from Hibernate Tools documentation. This executes without error, but produces nothing AFAICT. I'm wondering if it's skipping the ddl creation process because I'm skipping the tests perhaps? However, if I leave out that step, it tries to connect to the db server (I connect to that via a VPN link that's not up when I'm running this).

Is there another way to do this, or do I need to be able to connect to the target db in order to generate the ddl?

TIA,

Rob Hills
Waikiki, Western Australia

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to