Hi all,

i'am using JBoss 3.0.4 with SapDB 7.4.

When i create an CMP-Bean with a field like an ArrayList this will use the
following mapping:

<mapping>
<java-type>java.lang.Object</java-type>
<jdbc-type>JAVA_OBJECT</jdbc-type>
<sql-type>LONG BYTE</sql-type>
</mapping>

I did not change anything here!

When i deploy my JAR the tables are created successfully, but when i want to
create a new bean instance i get the expetion:

javax.ejb.CreateException: Could not create entity:javax.ejb.EJBException:
Internal error setting parameters for field arrayListe; CausedByException
is:

Cannot put ASCII data into this LONG column. (this is from sap-jdbc-driver)

What is the problem?
Is there anything wrong or is it a bug of the jdbc-Driver?

Thanks
Daniel :-)



_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to