[jboss-user] [JBoss Seam] - Re: Why does EntityQuery auto save updates?

terryb do-not-reply at jboss.com
Tue Nov 20 21:04:29 EST 2007


I guess it is related to how SEAM handles transactios. I'm using Seam POJOs.

The EntityQuery's getResultSet() method is marked @transactional. Call to getResultSet() commits changes made to Client entity on the jsf form get committed to the database.

Anyone knows why getResultSet() first committed changes to queried Entity. and how I can avoid it in my case?

I guess it's a common issue, I can't find solution since this is my first attempt on such scenarion.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106585#4106585

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106585



More information about the jboss-user mailing list