[JBoss-user] blob field in cmp

2003-12-12 Thread forge
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

Re: [JBoss-user] blob field in cmp

2003-12-12 Thread Alexey Loubyansky
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),