It's absolutely ok. You just need to configure the mapping, i.e. jdbc-type and sql-type. Do you specify both yourself or use the defaults?

forge wrote:

Hello,



One of my tables has a blob type column, and I created a byte[] type field

in my CMP to map it.

But when calling home.create(id), it reported db2 exception: invalid data
type.

Now the byte[] field was NULL.



Perhaps I cant map byte[] field to blob type column.

Does anyone know I should which type cmp field?



Thanks.

Forge






--http://www.eyou.com --нх╤╗©и©©╣д╣ГвспеоД сОрТсй╪Ч рф╤╞йИг╘ хуюЗ╥ЧнЯ мЬбГ╢Ф╢╒...рзсйн╢╬║

--http://vip.eyou.com
--©Л©Л╣гб╪рзсйVIPпеоД  в╒╡АдЗжпрБ╣дсц╩╖цШ




------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user





------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to