Question about BMP in Weblogic 4.5.2
1 posts in topic
Flat View  Flat View

Posted By:   Poornima_Chetty
Posted On:   Monday, December 17, 2001 06:30 AM

I am writing a simple BMP bean. My app server is Weblogic 4.5.1. The database is MS Access. I am able to connect thru the JDBC-ODBC bridge and MS Access ODBC driver thru my bean and READ database values. All I trying to do is
1. Find a row , using a findByPrimaryKey method.
2. Update it.
When I find a row, I am updating the instance variable in my bean, representing the primary key of that row in the findByPrimaryKey method.
Subsequently, the app server is calling ejbActivate() where it is RESETTING this instance variable to 0. The primary key is an integer.
Why is this happenning? Is this is a problem with Weblogic 4.5.1. How can I avoid it?

Re: Question about BMP in Weblogic 4.5.2

Posted By:   Anil_Datt  
Posted On:   Wednesday, December 19, 2001 10:15 AM

I guess it is to do with the isModified() method. After every transaction the EJB tries to sync with the database, where it uses the isModified() to see whether the bean is modified.

You can get some info on this at


About | Sitemap | Contact