The problem is that:
The first time I execute query.getResultList() it reads data from database, but if database change after, I can't see that changes until I close or clear entity manager.
Is there any way to force query.getResultList() reads data ALWAYS from database without clearing or closing entity manager.
Thanks.
[Message sent by forum member 'tonhinbm' (tonhinbm)]
http://forums.java.net/jive/thread.jspa?messageID=323089