We have been using a home-made solution where a pre-deployer reads an xml-file from the jar-file containing any db-script to be executed before the actual deployment of the ejb. It works ok. BUT... the BeanShell solution looks very interesting...
/Lennart ----- Original Message ----- From: "Alex Loubyansky" <[EMAIL PROTECTED]> To: "Sacha Labourey" <[EMAIL PROTECTED]> Sent: Friday, January 10, 2003 6:35 PM Subject: Re[2]: [JBoss-user] maybe just dreaming - Entity Bean change reflect > SL> - if you redeploy your bean and use the create-table feature of CMP, JBoss > SL> will re-create the table (but not update it => you loose your data). > > No, JBoss won't recreate the table if remove-table wasn't set to true. > The table will remain the same. Thus, if entity's structure/definition > changed, it'll fail soon or later. > > alex > ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user