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

Mapping and Saving hash values

 
Jazzy Sanchez
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys. I am trying to use MessageDigest to save a password of hash value to mysql database. My questions are, what field type should be in mysql and what column type should i declare in xml hibernate mapping?

Thanks in advance!
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most probably String and some kind of character data type.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic