• Post Reply Bookmark Topic Watch Topic
  • New Topic

Customized Hibernate validator question

 
jim li
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am writing my own hibernate validator by following the example from jboss

but i do not know how to get the primary key of the table during the Runtime

can anyone help me? i am stuck here for a while

thank you
 
jim li
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anyone pleases give me suggestion, i am stuck here for days
 
jim li
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i got a solution, but i do not think it is the best one

can someone tell me is there a possible way of doing this in validator, or not?
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!