Hibernate version:
3.2.6GA
I'm using Seam 2.0.2GA wit EJB3 in JBoss as my development stack. My app is a fully working app built in 4 months. I've been stuck with this problem for quite sometime now and a forum post,
http://www.seamframework.org/Community/SeamUpdatesEntitiesAutomaticallyViaUpdateTimestampsCache on JBoss Seam did not fetch any results, hence the repost here
Scenario: I have an entity A in extended persistent manged Context displayed in the UI search page.
- user clicks search
- page displays form with values (the entity A)
- User changes form values
- User does NOT click save
- User changes some search criteria and clicks Search again
Now, behind the scenes, even before search is invoked, hibernate is firing a SQL update query on entity A and is saving!
I've tried setting the autoflush mode to MANUAL in the search method, still it updates.
PL suggest what I need to investigate further