geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepesh <deepesh...@yahoo.co.in>
Subject RE: access a character column from a CMP EJB
Date Tue, 18 Oct 2005 04:31:17 GMT


Hi,

  I forget to post the full stack trace.

here is the full stack trace without adding the
<sql-type>CHAR</sql-type>
       
<type-converter>org.tranql.sql.typeconverter.SerializableConverter</type-converter>


in openejb-jar.xml


Caused by: org.tranql.ql.QueryException: Error
executing statement: SELECT U.ACTIVE_FLAG FROM User U
WHERE U.USER_ID = ?
        at
org.tranql.sql.jdbc.JDBCQueryCommand.execute(JDBCQueryCommand.java:79)
        at
org.tranql.cache.QueryFaultHandler.fieldFault(QueryFaultHandler.java:56)
        at
org.tranql.ejb.CMPFieldFaultTransform.get(CMPFieldFaultTransform.java:48)
        ... 51 more
Caused by: org.tranql.sql.TypeConversionException
        at
org.tranql.sql.typeconverter.SerializableConverter.convertSQLToJavaType(SerializableConverter.java:60)
        at
org.tranql.sql.jdbc.binding.TypeConverterBinding.getValue(TypeConverterBinding.java:81)
        at
org.tranql.sql.jdbc.binding.TypeConverterBinding.getValue(TypeConverterBinding.java:85)
        at
org.tranql.sql.jdbc.JDBCQueryCommand.execute(JDBCQueryCommand.java:72)
        ... 53 more



Regards,

Deepesh


		
__________________________________________________________ 
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com

Mime
View raw message