Hi

When I moved from 3.2.1 to 3.2.3 I got a problem with my BMP entity beans.

In 3.2.3 jboss seems to reuse the java object for different entity beans.
The result is that the values of member variables is transfered from one entity bean 
to another.

I tested it by adding an member variable to my bean.
int count = 0;
and the following code was added to ejbCreate and ejbLoad.
count++;
logger.debug("count="+count);


Now I could see that in 3.2.3 the value of count was increased but in 3.2.1
it was always 1.

Should it really work like this ?

If so I have to add some code that resets all variables before I do anything else in 
ejbCreate and ejbLoad.


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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to