Hi, I'm using POJT (plain old JDBC transactions :-) with a single db. I would like to:
1) Manually rollback changes if some validations fail 2) Have the tx rolled back if an error happens I think 1) can be achieved by DB.rollback(DefaultConnectionIdentifier), but in general, how do I get the current connection active for the request? 2) I think can be implemented by adding a handler to LiftRules.exceptionHandler and perform the steps in 1). Are there any better ways to handle this? /Jeppe --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---