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:[EMAIL PROTECTED]
Sent: Tuesday, June 06, 2006 3:57 PM
To: [email protected]
Subject: Re: GUID primary key.

 

Questions:

  • 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 map?
  • Why do you distinguish PaginatedList...does it work if you just do a queryForList()?

Clinton

On 6/6/06, Dorin Manoli <[EMAIL PROTECTED]> wrote:

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

 

Reply via email to