Re: [mdr-users] custom implementation recycling?

Martin Matula <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <[email protected]>
SainTiss wrote:

>>Yes, I can confirm this. Objects are being serialized to byte arrays and 
>>these arrays are passed into transaction log and store there for 
>>eventual rollback.
>>Dan
>>
>>    
>>
>
>Ok, if I understand correctly, this implies that, even when using the memory implementation, Objects can't be serialized in slots. However, I can't seem to produce this behaviour in my code: using the memory implementation, endTrans(false) seems to always succeed, whereas the exact same code with btree implementation would end up with a rolled back repository...
>
>So either I'm misunderstanding this, or seralization into byte arrays does work for objects, but serialization to disk does not?
>  
>
More likely the exception from serialization routines is caught and 
silently ignored, so the things work unless you try to do a rollback. 
Anyway, this seems to be an unintended behavior rather than something 
you can rely on.
Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.