• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to write new Annotation and implementation

 
Simpson Kumar
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

we are using Hibernation Validation framework and we have date field process which should validate before persist the data. In Hibernate Entity validator framework, the date format check doesn't have it and I think we need to create a new annotation and implementaion. could someone suggest me how to do it and is there any example to do it with particularly on Date format from (YYYYmmDD) to (YYYY-mm-DD).
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!