struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Márcio Gurgel" <marcio....@gmail.com>
Subject Struts 2 + Hibernate question
Date Thu, 29 May 2008 05:25:59 GMT
Hi all!

I'm using struts 2 + hibernate.
I've a strange problem, if someone could give me a hand I'll be so tankfull.

If I persist a object in my app every things go well and all relationchips
are stored correctey correctly.
The problem occours when I update this object... After the update all data
are stored correctly too, but the problem is that my page shows the old
object (different from database).

This could be some kind of cash from struts 2? Or my problem is just
hibernate?

I tryed this methods to force a refresh after bring the object from database
session.refresh(obj)
session.flush()

Tank so much for attention!

Márcio Gurgel

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message