Sorry, I can see that this paragraph is ambiguous at best.
Try this:
For large binary columns:
i) raw byte arrays are applied directly to the database using
PreparedStatement.setBinaryStream;
ii) Other java types are first serialised into a byte array using a
java.rmi.MarshalledObject (remember that CMP attributes must be
serialisable), and then handled as per (i).
For large character columns:
i) The java object is first converted to a String using it's toString
method;
ii) The data is then applied to the database using
PreparedStatement.setCharacterStream
Regards,
Steve Coy
On Tuesday, January 7, 2003, at 01:19 AM, Sacha Labourey wrote:
Thank you for the synthesis Stephen.
For binary data, JBoss stores byte array data directly to the
database.
All other java types are serialised using a java.rmi.MarshalledObject,
therefore your object must be serialisable.
Even for CLOB and java.lang.String?!?
Cheers,
Sacha
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user