Hi!

Look the code below:

        A a = session.load(A.class, new Integer(1)); // ok
        
        session.load(a, new Integer(10)); // throws an erros - 'object
already loaded in this session'

Is this a bug?? If the object 'a' on the second 'load()' call have an not
null ID it is reloaded instead of looking the object matching the ID passed.

Regards,

Expedito.



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to