Absolutely do NOT do this!
create is called on insert of the new row in the table (RDBMS speak I know),
remove is called on delete. Your mechanism would have a new database
connection for every single row in the table!
----- Original Message -----
From: "Nittle Gupta" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 22, 2000 11:27 PM
Subject: Re: [EJB-INT] Database Connection
> Hello Shyam,
> In BMP entity beans, the callback methods are implemented. Open
the
> database connection in ejbCreate() method and close it in ejbRemove()
> method.
===========================================================================
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".