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
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:
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
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 -
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 -