ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niels Beekman" <n.beek...@wis.nl>
Subject RE: about sqlserver2000 text and ntext field
Date Wed, 14 Jun 2006 15:26:46 GMT
Maybe you can fiddle with the order of the properties, see
http://support.microsoft.com/kb/824106.

 

Niels

 

________________________________

From: RZG [mailto:renzenggang@gmail.com] 
Sent: woensdag 14 juni 2006 16:15
To: user-java@ibatis.apache.org
Subject: about sqlserver2000 text and ntext field

 


hi all,

       how to operate text or ntext type field in java ?

when i call a query with text resultmapping sqlmapping id,the error
occured :

 

--- The error occurred in config/sqlmapping/plugins.xml.  
--- The error occurred while applying a result map.  
--- Check the plugins.pluginsResultMap.  
--- Check the result mapping for the 'visitCounter' property.  
--- Cause: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for
JDBC]ResultSet can not re-read row data for column 11.]; SQL was
[(mapped statement)] for task [SqlMapClientTemplate]
 

but i removed the text field from the resultmapping ,then this mapping
id is ok?

 

-- 
RenZenggang
Renzenggang@gmail.com
Renzenggang@csii.com
MSN:rzg117@hotmail.com 
Blog: http://rzg.itpub.net
 


Mime
View raw message