Joined: Thu Nov 03, 2005 3:52 pm Posts: 3 Location: Chico, CA
|
This question is regarding Spring MVC and Hibernate.
I have code in my SimpleFormController to break out if the cancel
button is hit... I verified that it works and is not hitting my onSubmit
method... but it is still saving the object with the info from the form... looking at the logs, I can see that it DID NOT enter the onSubmit method and it NEVER red my saveUser method which is the only place that I have code to
save that object.
Logic would tell me that I have a setting somewhere that tells
Hibernate to automatically commit changes to my objects (could be a Spring setting but I'm leaning towards Hibernate)... does anyone know of a setting that would do this?
I'm fairly new to both so I'm hoping it is a simple setting somewhere.
thanks a lot to the hard working folk here. Thanks for your time and patience
ilango
|
|