posted 15 years ago
I am setting up the enviornment for my project in Sturts with Spring and Hibernate and facing the below issue.
First, I am trying to add the bank details in the DB as below.
The flow executed properly, but when querying the table no records found.
For example:
I have added the bank details with bank code 4000 (primary) and it's executed and I can able to see the insert query in the console, but record is not inserted into DB.
But when I tried to insert the bank code again with 4000, I am getting duplication error.
I have give below the codings. Please help to advice.