Re: [castor-dev] Database load operation with a given instance

Ralf Joachim <[email protected]> Tue, 28 Jul 2009 19:07:22 +0200
Newsgroups gmane.comp.java.castor.devel
Organization Syscon Ingenieurbüro GmbH
Message-ID <[email protected]>
Hi Lukas,

I don't think this will be enough. You may need to add another case to 
if statement at line 549 of AbstractTransactionContext too. After that 
it may be possible that it works to set the entity into ProposedEntity.

Regards
Ralf

Lukas Lang schrieb:
> Hey Devs,
>
> I tried to use the
>
> Database.load(X.class, identity, new X()) method
>
> but failed. The database consistently returned a previously loaded and
> cached entity instance.
>
> When having a look at the database implementation, the specified object
> is never used. Do you think it might be enough to set the object into
> the ProposedEntity instance?
>
> Any ideads?
>
> Thanks in advance,
> Lukas
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>   
-- 

Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany

Tel.   +49 7071 3690 52
Mobil: +49 173 9630135
Fax    +49 7071 3690 98

Internet: www.syscon.eu
E-Mail: [email protected]

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email