Hello,

i use JBoss 3.2.0 with Tomcat 4.1.24 and i can't see the changes after an 
insert and after an update.
It is strange, i think that it depends on the Entity because to get data i use 
a simple SELECT i compose by my own.
I call my entity form a method of a session EJB so everything is in the same 
transaction.
I think that the entity locks the data until the end of the method of the 
session bean so when i execute the SELECT query the data i have just inserted 
are not shown because the transaction is not ended.
I think that i could fix this problem out using the EJB QL , but this is not 
good for performance of the application because for each row it is created an 
instance of the EJB.
My application has to be deployed on WebSphere so probably on this 
applicationserver i can get a different behaviour.
Any other suggestion ?
Cheers.

               Stefano







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

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


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to