Database Solutions hash
Database Solutions hash
When you insert the data used
/ **
* Changes in the hash function string
* @ Param str
* @ Return
* /
Public String getStr (String str)
(
Try (
String temp_p = str;
Byte [] = temp_p.getBytes temp_t ( "ISO8859-1");
String temp = new String (temp_t);
Return temp;
)
Catch (Exception e) (
Return "null";
)
)
/ / Bean to the inside assignment
Public void setAction (String action) (
This.action = getStr (action);
)
Public void setAddmanagerid (String addmanagerid) (
This.addmanagerid = getStr (addmanagerid);
)
Switch to see if it can, my Oracle database is no problem.
Tags: Java hash, java hash solution
Releated Java Articles
January 25, 2006 | Filed Under Getting Started |






