On Mon, 16 Feb 2004, marc salvetti wrote:
> i think the parser problem with the isolation-level attribute is one issue, that
> i temporarily fixed by specifying the attribute on each class-descriptor,
> waiting for the next realease
> but the proble i encounter now is another issue, which prevent referenced
> objects and inverse-referenced collections to be loaded correctly
>
> i think if it was a parser problem, i would encounder an error in the
> initialisation, but this step works fine.
Not necessarily. There is a log message that OJB generates (level
debug) if no isolation-level setting has been encountered ('isolation
level is 'null', using default isolation level'). Could you check whether
you have this message (enable logging for OJB in the OJB.properties
file and set the log level for the RepositoryXmlHandler to debug) ?
> the error occurs in my code because the referenced object (ie the author object
> in the ForumMessage class or the answers collection in the smae class and the
> messages collection in the User class) are set to null by ojb
I have next to zero knowledge about the isolation level setting, but do
you get the same behavior if you explicitly set the isolation level to the
default value (read uncommited) ?
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]