Christ sorry about that paragraph.. it can barely be understood.. just to make it
readable, there it goes again:
I have a couple of NamedQueries on an Entity EJB the retrieve a set of objects.
My Stateless EJB updates and saves the entity (merge, flush, data IS updated in the
database), and later the named query is executed again but the same entity is retrieved
WITHOUT the changes. If i execute a refresh() on every single object, they are loaded
correctly so I think some sort of caching is going on in the named query, but I cannot
disable it.
javax.persistence.NamedQuery doesn't support "cacheable=false", and I've
tried using org.hibernate.NamedQuery which does but still doesn't work.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973548#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...