All,

I have a cmp that has been deployed and has created tables for itself.

Now, I'd like to migrate to a different schema/db.  Changing the 
schema connect string info in data-sources.xml to point at a 
different db, and restarting orion does not by itself trigger 
recreation of the entitybean tables.  Any use of the bean causes the 
following error:

javax.ejb.CreateException: Error creating EntityBean: ORA-00942: 
table or view does not exist

It seems that if you change some of the info in orion-ejb-jar.xml (a 
cmp-field-mapping-name), the tables will be recreated the next time 
orion is started.  I was wondering if anyone knows of a easier way to 
signal orion to recreate db tables for an cmp bean?  TIA.

John Hogan


_____________________________________

Get your free E-mail at http://www.ireland.com

Reply via email to