Hi Konrad,

the error indicates that a String, or Character Stream found its 
way through the CMP engine to try to being written into the 
database, and there is no conversion from character data to
byte data ... unfortunately this is because of a driver
bug that lets the JAVA_OBJECT type mapping is leak through
the driver.

Thanks for reporting this issue.

Regards
Alexander Schr�der
SAP Labs Berlin

> -----Original Message-----
> From: Konrad Neitzel [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 16, 2002 9:45 AM
> To: [EMAIL PROTECTED]
> Subject: SapDB and JBoss (was: Re: SAPDB-JBOSS XA Datasource)
> 
> 
> Hi Frank!
> 
> [EMAIL PROTECTED] wrote:
> 
> > I browsed through the archive and found your post:
> > > Anyone have a working config template for configuring a XA
> > > datasource with in JBOSS3.0.4 / sapdb 7.4.x drivers ?
> 
> > Did you get it working?
> 
> Hmm - I run into the same problem and was unable to solve it. 
> 
> Even when using the examle Config from jboss (docs/examples/jca/sapdb-
> service.xml) I got into trouble:
> 
> When saving Objects into the Database, I run into the exception:
> "Cannot put ASCII data into this LONG column."
> 
> In standardjaws.xml I got this mapping for SapDB:
> <mapping>
>   <java-type>java.lang.Object</java-type>
>   <jdbc-type>JAVA_OBJECT</jdbc-type>
>   <sql-type>LONG BYTES</sql-type>
> </mapping>
> 
> And this looks good for me.
> 
> Maybe somebody could help me with this, too. 
> 
> With kind regards,
> 
> Konrad Neitzel
> 
> --
> SoftMediaTec GmbH
> Tel: 0172 / 689 31 45
> Fax: 069 / 90 50 99 53
> _______________________________________________
> 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

Reply via email to