I am using spring 4 and hibernate 4 to develop my application. I created my own custom validator to do unique check from the DB. It is working fine but. control is coming two times there:
- normal spring validation (this is what i impelemented and working fine)
- when I am saving data into DB (This one I think hibernate is handling on it own and my dao layer call is coming null thats ahy throwing exception)
I am using hibernate validator 5.1 jar.
How can I solve my problem? I have to either stop 2nd point or make it successful.
Right now I am not giving you any code detail. Let me which configuration you want me to put here. I will provide that.
Aucun commentaire:
Enregistrer un commentaire