Thomas Dudziak <tomdz <at> first.gmd.de> writes:

> 
> On Mon, 16 Feb 2004, marc salvetti wrote:
> 
> > well in fact i don't have much choices as i don't control my host computer 
and 
> > resin versions
> 
> I wonder why this should have anything to do with resin ? From what you
> posted it seems more like a problem with the XML parser, as the
> isolation-level (which you probably didn't specify at first) wasn't
> read. If you don't specify an attribute value, the XML parser is supposed
> to fetch the default value from the DTD (if it exists), and if there is no
> default value (because e.g. it's CDATA) then a null is returned.
> So could it be that you either use an old repository.dtd (where there is
> no isolation-level attribute declared), or that the XML parser does not
> find the DTD (and is not configured to complain) ?
> You might want to try putting 'http://db.apache.org/ojb/repository.dtd' as
> the DTD location into your repository.xml.
> 
> Tom
> 


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.
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

regards,

Marc


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to