Hey y'all,

I've got a CMP bean with a char field and every time I try to do a
findByMyCharField('N') I get the following error from SQL Server:

   [Microsoft][ODBC SQL Server Driver][SQL Server]Syntax error converting
the varchar value 'N' to a column of data type int.

I've got the field in the bean specified as a char data type and my
ms-sql.xml file has the following mapping:

   <type-mapping type="char" name="char" />

I'm using Orion 1.4.0 and SQL Server 2000.

Any thoughts?

-=michael=-

======================================================================
 Michael S. Kelly                           ____       _
 Axian, Inc.                                 // |_  __(_) ___  _ __
 4800 SW Griffith Dr., Ste. 202             //| |\\/ /| |/ _ \| '_ \
 Beaverton, OR  97005 USA             _____//_| | / / | | |_| | | | |
 Voice: (503)644-6106 x122           ((   //  |_|/_/\\|_|\_/|_|_| |_|
 Fax:   (503)643-8425                 ``-''          ``-''
 http://www2.axian.com               Software Consulting and Training
 mailto:[EMAIL PROTECTED]           <Enterprise and Internet Group>
======================================================================



Reply via email to