Yes, I know that, but if I am in my custom RowReader extending
DefaultRowReader, how can I get a reference to the PersisitenceBroker ? In
other words, is there a way to navigate OJB from RowReader.readObjectFrom()
to the PersistenceBroker ?
Stefano
|---------+--------------------------->
| | Thomas Dudziak |
| | <[EMAIL PROTECTED]|
| | .de> |
| | |
| | 08.07.2004 16:01|
| | Veuillez |
| | r�pondre � "OJB |
| | Users List" |
| | |
|---------+--------------------------->
>----------------------------------------------------------------------------------------------------------------------|
|
|
| Pour : OJB Users List <[EMAIL PROTECTED]>
|
| cc :
|
| Objet : Re: Mixing OJB objects with non-OJB objects
|
>----------------------------------------------------------------------------------------------------------------------|
[EMAIL PROTECTED] wrote:
>Thank you for the quick answer. I defined a custom RowReader and it works
>almost exactly like I want to.
>
>I would be fully happy if I could cache the object in the
>PersistenceBroker's cache. Is there a way to get a reference to the cache
>from the RowReader ?
>
>
You can get the currently used cache from a PersistenceBroker via the
serviceObjectCache() method.
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]