Mantis - Resin
Viewing Issue Advanced Details
2514 minor always 03-11-08 08:13 03-12-08 15:22
ferg  
ferg  
normal  
closed  
no change required  
none    
none  
0002514: amber not attaching entities loaded with query
(rep by Riccardo Cohen)


if I do :

        homeobj=m_manager.find(homeinfo.class,theid);
        homeobj.setTitle(title);

the object is saved
but if I use the homeobj that comes from

Query hqr=m_manager.createQuery("select h from homeinfo h where
h.id_user="+id_user);

and I try to call setTitle, then the object is not saved.

I don't understand why, can somebody explain me please ? (or give a link
to the right doc...)


Notes
(0002845)
ferg   
03-12-08 15:22   
This is a user transaction error. Updates need to occur in the XA.