Actually if you set the drop-tables="true" attribute in the
orion-application.xml or config/application.xml it will re-create the tables
upon redeployment.

-----Original Message-----
From: Jeff Hubbach [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 24, 2001 2:48 PM
To: Orion-Interest
Subject: Re: CMP: auto-creation of tables


The only time tables are created is on initial deployment of a bean. I
would try blowing away your bean's deployment directory (in
application-deployments/[app-name]/[pathtoyourbeanjar]/[yourbeanname.jar])
and restarting the server.

Jeff.

On Tue, 24 Jul 2001 18:44:33 +0200
"Oliver Scharrenberg" <[EMAIL PROTECTED]> wrote:

>Hi!
>
>One thing I absolutely don't understand is the auto-creation of tables.
>In the past I had some difficulites preventing orion from recreating the
>existing tables but now it seems like I can do whatever I want and orion
>won't recreate the tables for my changed entity beans.
>
>All changes are recognized and get picked up and the orion-ejb-jar gets
>updated. But even if I delete the table manually orion won't create a
>new one. 
>
>config/application-xml says:
>autocreate-tables="true"
>autodelete-tables="true"
>
>Changes to these settings don't affect the behaviour of the server.
>
>Restarting the server shows the same messages as recreating the ear:
>Auto-deploying userbean.jar (Class 'cocus.entity.User' had been
>updated)... done.
>
>There must me be something really easy to find to trigger the recreation
>of tables. Unfortunately  I have no idea how I could have switched it
>off...
>
>Thank you in advance
>
>Oliver
>
>
>Oliver Scharrenberg 
>Software Engineer
>COCUS AG - COMPANY FOR CUSTOMERS
>Max-Brauer-Allee 34
>22765 Hamburg 
>
>tel:         +49 (0)40  32 871- 0
>fax:        +49 (0)40  32 871-199
> 
>Mail to:         [EMAIL PROTECTED]
> 
>URL:             COCUS AG
>URL:             Consumer Center iFAY
>
>

Reply via email to