Weblogic

-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Gene Chuang
Sent: Thursday, July 27, 2000 1:34 AM
To: [EMAIL PROTECTED]
Subject: Re: Read-only Bean


Depends on your server vendor!  Who are u using?

-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Albert Chow
Sent: Wednesday, July 26, 2000 8:05 AM
To: [EMAIL PROTECTED]
Subject: Re: Read-only Bean


Hi,

        How can I set the timeout??

Albert

-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Rickard �berg
Sent: Wednesday, July 26, 2000 8:39 PM
To: [EMAIL PROTECTED]
Subject: Re: Read-only Bean


On Wed, 26 Jul 2000 20:53:15 +0800, Albert <[EMAIL PROTECTED]>
wrote:
>        I've written a read-only entity bean which return the item
description by
>submitting the item code.  Data was stored in Oracle database.  It worked
>fine except that when I deleted a record from database, I could still get
it
>from bean.  Why??  And how can I fix it??  Thanx in advance.

The basic problem seem to be that you are using a read-only entity bean
to map data which is not read-only. If it is not read-only, which your
description shows, then don't use a read-only entity bean.

If possible, you could set a time-out on your read-only entity bean so
that the container periodically checks if the data has been updated
behind the scenes.

/Rickard

--
Rickard �berg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com

===========================================================================
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".

===========================================================================
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".

Reply via email to