0 Replies Latest reply on Feb 20, 2003 7:55 AM by dniklas

    Type mapping sapdb

    dniklas

      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:


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


      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.

      What is the problem?
      Is there anything wrong or is it a bug?

      Thanks
      Daniel :-)