check out autocreate-tables autodelete-tables in orion-application.xml
HTH
JP
-Original Message-
From: Mikko Kurki-Suonio [mailto:[EMAIL PROTECTED]]
Sent: Viernes, 15 de Diciembre de 2000 7:55
To: Orion-Interest
Subject: Re: When CMP fails...
On Fri, 15 Dec 2000, Randahl Fink Isaksen
On Fri, 15 Dec 2000, Randahl Fink Isaksen wrote:
> Thanks to Mikko Kurki-Suonio I have now solved the problem. Not only should
> I wipe the deployed application, it turns out that I needed to alter the
> defaultdb.script aswell. Originally it contained the line
(That's HyperSonic -specific).
An
Thanks to Mikko Kurki-Suonio I have now solved the problem. Not only should
I wipe the deployed application, it turns out that I needed to alter the
defaultdb.script aswell. Originally it contained the line
CREATE TABLE ADDRESSBOOK_EJB_ADDRESSENTRY(NAME VARCHAR NOT NULL PRIMARY
KEY,ADDRESS VARCHA
>From: Randahl Fink Isaksen [mailto:[EMAIL PROTECTED]]
>
>Contradicting my expectations it seems Orion does NOT detect
>my changes to
>ejb-jar.xml. Do I really need to add the new "EMAIL" column to
>the database
>myself (I hope not...) - or is there a way to tell Orion that
>it needs to
>update
On Fri, 15 Dec 2000, Randahl Fink Isaksen wrote:
> Contradicting my expectations it seems Orion does NOT detect my changes to
> ejb-jar.xml.
Orion does this kind of thing on occasion (don't know why). Wipe the
appropriate application-deployment directory (as in "rm -rf") to force
redeployment.
To test Orion I built the address book application from the "Orion CMP
Primer". Since this went quite well I decided to add a single attribute to
the AddressEntry bean, namely a String attribute called email, containing a
persons e-mail address. Unfortunately I forgot to add the
email to the ejb-j