Re: [JBoss-user] Re: blob field in cmp

2003-12-15 Thread Alexey Loubyansky
Can you try with JBossCMP engine instead of JAWS? Just use persistence-managerorg.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager/persistence-manager in jboss.xml forge wrote: Thanks, Alexey. Do you mean I should modify standardjaws.xml? No, I didn't modify it. I found following settings in

[JBoss-user] Re: blob field in cmp

2003-12-15 Thread Alexey Loubyansky
I thought you used jboss.xml. Do you use CMP1.1? What is the exception? PS: please, keep it on jboss-user forge wrote: Hello, Alex I couldn't find jboss in server/default/conf directory, but there is a standardjboss.xml. And I found the following lines in it:

[JBoss-user] Re: blob field in cmp

2003-12-14 Thread forge
Thanks, Alexey. Do you mean I should modify standardjaws.xml? No, I didn't modify it. I found following settings in jaws.xml: nameDB2/name mapping java-typejava.lang.Object/java-type jdbc-typeJAVA_OBJECT/jdbc-type sql-typeBLOB(2000)/sql-type /mapping

[JBoss-user] Re: BLOB

2001-07-14 Thread Eric Anderson
I've used CMP and BLOBs with JBoss in the past. Declare the bean member variable that will hold your BLOB data as a byte[]. This will get mapped to the jdbc-type of JAVA_OBJECT. Then check (standard)jaws.xml to see that the mapping for this exists. It looks like the mapping below -

Re: [JBoss-user] Re: BLOB

2001-07-14 Thread Jason Dillon
I've used CMP and BLOBs with JBoss in the past. Declare the bean member variable that will hold your BLOB data as a byte[]. This will get mapped to the jdbc-type of JAVA_OBJECT. Then check (standard)jaws.xml to see that the mapping for this exists. It looks like the mapping below -