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?