On Oct 9, Bavo De Ridder quoth:

> When I change the implementation of a bean so it has more fields to store
> in the database, redeploying the bean and using it gives errors about
> fields not found in the table. 
> 
> How can I make the default database used by JBoss to forget a table (and
> the test data in that table) ?

In your jaws.xml set:
         <remove-table>true</remove-table>
then (assuming you are using hot-deploy) explicitly 'undeploy' your bean
by removing the jar from the deploy/ directory.  The undeploy process will
execute the drop table command.

C=)

--------------------------------------------------------------------------
    The fact that no one understands you doesn't mean you're an artist.
--------------------------------------------------------------------------
Caskey <caskey*technocage.com>       ///                   TechnoCage Inc.
--------------------------------------------------------------------------
           Oh no! Space monkeys are attacking! -- eddie izzard



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to