Hello Mark,

For disabling auto-creation of tables, add autocreate-tables="false" to the
<orion-application> in orion-application.xml. It will look something like:
<orion-application autocreate-tables="false" deployment-version="0.9.4">

look at

http://www.orionserver.com/docs/orion-application.xml.html for more information.

What you can do is create an empty orion-application with the
autocreate-tables="false" set and then auto-deploy.

We are adding support to only have to specify autocreate-tables in
config/application.xml instead of having to do like this, so look for that in the
next version.

If you want to manually edit the entity-table mapping before deploying, you can
manually make an orion-ejb-jar.xml.

Good luck!

Regards,
Karl Avedal


Mark Causer wrote:

> hi,
>
> Im evaluating Orion at the moment as a possible move from Valto's Ejipt server.
> Couple of things are puzzling me:
>
> I can't find out how to switch off the auto-create of the tables. As we are
> coming from a running system, all the tables have been pre-created.
>
> Also where do I map my entity to its DB table? Once Ive autodeployed this
> appears to be done in orion-ejb-jar.xml.
>
> Can I set this "prior" to deploying ?
>
> Thanks
>
> mark

Reply via email to