> 
> The '[B' is the String returned when I do byte[].getClass().toString()

I don't think you want to do that.  Firstly, a byte is not a class.
byte is a primitive like int, float, char, etc. which are not classes
in Java (maybe you are a Smalltalk programmer?).  

Second, getClass().toString() isn't correct; you should have used 
getClass().getName() to get the name of a class.  A Class is an
object, and toString() usually returns a serialized version of
that object (usually, not always).

You should probably take your byte[] and place it in a class that
implements java.io.Serializable.  Most of the database mappings
support placing that into a blob:

<type-mapping="java.io.Serializable" name="blob">

-tim

Reply via email to