View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820253#3820253

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820253

Hi,



I have a weird problem that I hope someone can help me with.  I have a BMP entity bean 
that represents a db table in our system.  It is a really simple table of only three 
columns, so there are only three properties in the EJB.



We have a servlet that gets called to create rows in the database using the EJB home 
interface create() method.  A jsp page can then be opened to see what was inserted in 
the database.  The primary keys are retrieved in a separate page and passed to the 
display page where a findByPrimaryKey() is called.  Our problem is that somewhere 
between the servlet call and the display page, the EJBs lose their data.  All the 
properties in the EJB are null or 0.



I put debugging in the EJB method calls and, as expected, the ejbFindByPrimaryKey() 
and ejbLoad() methods are not executed by the jsp page.  The ejbLoad() is called after 
the create.



Any idea how/why the EJB would lose its data?



I'm running JBoss 3.0.6 on RH 7.3 and MySQL 4.0.12.



Thanx in advance.



Norton




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to