Hi, I want to store e.g. an image in MySQL. If I want to store a object I guess that I could do someting like this:
/** * @ejb:interface-method view-type="local" * * @ejb:persistent-field * * @jboss.jdbc-type BLOB * @jboss.sql-type LONGBLOB * **/ public abstract Object getImage(); public abstract void setImage(Object data); BUT what if I want to get/set a byte array. Can't I do that using CMP, what should I set the jboss.sql-type to???? Cheers Jan ------------------------------------------------------- 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