August Detlefsen wrote:
I recently ran into this and I'm interested to know if it is
designed-in behavior, a bug, or a 'feature'. The abstract is that I
needed to create a NavPageContent Object, then use its ID to formulate
a link String, which was then set back into the same Object and
persisted.


When I tried something like this:

db.create(page);
String link = "/page/" + page.getId();
page.setLink(link);
db.commit();


Have you tried this approach? db.create(page); db.commit(); db.begin(); page.setLink("/page/" + page.getId()); db.update(); db.commit();

Stein

----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev




Reply via email to