0

howto rollback jpautil transaction???

asked 2011-06-09 11:34:53 +0800

acirasa gravatar image acirasa
48 1

Hello Forum

I'have a zul view with a window. In this window there are two button: save and cancel

When I click on save I want to commit the transaction
When I click on cancel I want to rollback the transaction

I use JpaUtil so I haven't access to the transaction directly

How can I save all data in the view WITHOUT close the view?
How can I cancel all modified (rollback) data in the view WHEN I close the Window?

Thank you
My version of ZK i 5.0.5

delete flag offensive retag edit
Be the first one to reply this discussion!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2011-06-09 11:34:53 +0800

Seen: 265 times

Last updated: Jun 09 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More