You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Gunnar Hilling <ne...@hilling.de> on 2004/01/02 04:50:02 UTC

Re: Strange error.../more info

I've developed a simple code snippet to reproduce the error:

		Produkt prod=(Produkt)res.get(0);
		Zertifikat zert=new Zertifikat();

		TextData xml=new TextData("xml", "tach");
		TextData plain=new TextData("plain", "tach");
		db.makePersistent(xml);
		db.makePersistent(plain);

		zert.setXmlData(xml);
		zert.setPlainData(plain);

		prod.addZertifikat(zert);
		
		tx.commit();

The only DList involved ist the List in Produkt which is changed by
prod.addZertifikat(zert);
This DList has always been in the db and the object model...

-Gunnar



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


Re: Strange error.../more info

Posted by Gunnar Hilling <ne...@hilling.de>.
Sorry folk, I think the reason was that I had Implicit Locking set to
false...

Perhapts nevertheless interesting to know the cause...

Regards,

-Gunnar



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org