Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002514 [Resin] minor always 03-11-08 08:13 03-12-08 15:22
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution no change required  
Status closed   Product Version
Summary 0002514: amber not attaching entities loaded with query
Description (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...)

Additional Information
Attached Files

- Relationships

- Notes
(0002845)
ferg
03-12-08 15:22

This is a user transaction error. Updates need to occur in the XA.
 

- Issue History
Date Modified Username Field Change
03-11-08 08:13 ferg New Issue
03-12-08 15:22 ferg Note Added: 0002845
03-12-08 15:22 ferg Assigned To  => ferg
03-12-08 15:22 ferg Status new => closed
03-12-08 15:22 ferg Resolution open => no change required


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker