Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CMP Entity Bean -> Encrypted Column Type ?

 
Kris Read
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I recently realized that our password strings are being stored in our mySQL database in unencrypted form. I know that mySQL provides the ability to encode passwords. Does anyone know how to convert a CMP bean so that our String field maps to an encrypted column type instead of the default String type (VARCHAR)?
Note: I would like to avoid writing JDBC code to directly access the column! Transparency == Good.
Any help or advice would be appreciated.
K. Read
Calgary, Canada
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic