This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes CMP Entity Bean -> Encrypted Column Type ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "CMP Entity Bean -> Encrypted Column Type ?" Watch "CMP Entity Bean -> Encrypted Column Type ?" New topic
Author

CMP Entity Bean -> Encrypted Column Type ?

Kris Read
Greenhorn

Joined: May 28, 2002
Posts: 6
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
 
GeeCON Prague 2014
 
subject: CMP Entity Bean -> Encrypted Column Type ?