ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dorin Manoli" <Dorin.Man...@dataireland.ie>
Subject RE: GUID primary key.
Date Tue, 06 Jun 2006 14:59:05 GMT

Issue resolved!

I used  IBatisNet 

The exception raised when it try to cast SQL int to C# long.(a column
which was not a primary key) 


Maybe is better to make exception logging more descriptive: e.g to log
which values could not be transformed.



From: Clinton Begin [mailto:clinton.begin@gmail.com] 
Sent: Tuesday, June 06, 2006 3:57 PM
To: dev@ibatis.apache.org
Subject: Re: GUID primary key.



*	What Java type are you mapping it to? (I would expect String, or
possibly BigInteger).
*	Are you getting the exception on the parameter, or the result
*	Why do you distinguish PaginatedList...does it work if you just
do a queryForList()? 


On 6/6/06, Dorin Manoli <Dorin.Manoli@dataireland.ie> wrote:

Haow can I invoke PaginatedList for a GUD primary key. It always raise
an exception "Specified cast is not valid."


View raw message