Hi,
currently only the table name is checked when the InitCommand of JAWS
determines if to create a table or not.
In your case the old table would be used and on ejbLoad it would fail (I
guess) because it will try to read a column that does not exist.
To avoid that you have two possibilities:
1. you need the previous data:
Convert your table to the one with the new schema and add meaningful
data for the new column. Then redeploy
2. you dont need the previous data:
Provide an new table name in your jaws.xml file so an other (new) table
will be used. Or just delete the table.
HTH
\Daniel
Kemp Randy-W18971 wrote:
>
> If I create a database application using a CMP EJB bean, like that shown on
>http://www.jollem.com/orion-cmp-primer, it will initially create the hypersonic
>database. Suppose I allow the application to be used for a while, and then update
>the application to add another database field. What happens to the original database
>when I redeploy my application? Does the database get wiped out?
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]