Hi, I don't think this will work. The example is still basically mapping an Integer to a column in the database. I want to map a byte[] to a VARCHAR column in the database. I can do it using simple SQL by doing something like preparedStatement.setBytes(1,myBytes) but I can't find out how to do this using CMP in JBoss.
I can't convert to a String as the data is encrypted - it has to be a byte array. Any other suggestions greatly appreciared. Thanks, Lloyd. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842545#3842545 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842545 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
