Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic