This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, I retrieved an Oracle RAW data type by byte b= statement.getBytes(n). Somehow, I need to have the String represtation of this field, and later also need to convert back to the byte. When I use new String(b), it just gives me some unreadable symbols. While at the same time, I know this field have a value like: D1EE971C4852A356E03311227403A356. I tried using Byte message = rs.getBytes("MessageID"); String str = new String (message); (I also tried using new String(message, "UTF-8")) Thanks in advance for the help! Regards, Satya