But I did it because I want to test my exception handling for such
suituation.
Albert
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Gene Chuang
Sent: Tuesday, August 22, 2000 1:12 AM
To: [EMAIL PROTECTED]
Subject: Re: Unexpected exception
Hi,
Having a outside source modifying the database will cause havoc on your
container! You can "handle it" by not blowing away your tables when your
bean container is trying to access them!
Gene
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Albert
Sent: Monday, August 21, 2000 3:07 AM
To: [EMAIL PROTECTED]
Subject: Unexpected exception
Hi,
I use a stateful session bean (SalesPersonBean) to call two CMP
entity
beans (SalesMemoMasterBean & ItemModelBean), one represents the master table
and the other represents the detail table in the database. I have a method
in session bean which calls the create() methods in the entity beans. It
works fine. But after I drop one of the underlying tables in database, the
following error comes :-
In SalesPersonBean : Unexpected exception in
sales.ItemModelBean.create():
java.sql.SQLException: ORA-00942: table or view does not exist
Why does it say "Unexpected exception" and how should I handle it?? Thanx
in advance.
Albert
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".