Don't know it's depend from Sql Sever.

-----Message d'origine-----
De : Alexey Boroday [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 24 décembre 2004 11:29
À : ibatis-user-cs@incubator.apache.org
Objet : RE: selectKey resultClass bug for MSSQL identity ?

 Yes, I've added cast to integer already.
 I thought that if "resultClass" attribute is specified so iBATIS will cast
automatically for me.

 What "resultClass" attribute should be used for in such case?

> -----Original Message-----
> From: Gilles Bayon [mailto:[EMAIL PROTECTED] 

> This is an issue of Sql Server who set the @@IDENTITY as decimal.
> So you have to cast to integer as cast(@@IDENTITY as integer).


___________________________________________________________________________

This communication is confidential and may be legally privileged. 
If you believe you are not an intended recipient, please inform the sender, 
delete the e-mail and do not copy, print or use it or disclose it to others.

You can inform the sender by replying to this e-mail or by telephone (+380
44 4906080).


-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.4 - Release Date: 22/12/2004
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.4 - Release Date: 22/12/2004
 

Reply via email to