Hi Daniel, you should try the latest driver available at sapdb.org, as we had and fixed such a problem some time ago. If the problem persists, please let the example run with JDBC trace enabled, and send us that trace, as this may be then a driver problem to be analyzed.
Regards Alexander Schr�der SAP Labs Berlin > -----Original Message----- > From: Daniel Niklas [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 21, 2003 1:10 PM > To: [EMAIL PROTECTED] > Subject: SapDB and JBoss 3, type mapping > > > 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 > _______________________________________________ sapdb.general mailing list [EMAIL PROTECTED] http://listserv.sap.com/mailman/listinfo/sapdb.general
