Re: GetInt32 with a count() column
Posted by: Reggie Burnett
Date: January 21, 2005 07:31AM

Tim

This should be changed in 1.0.4. In prior versions, the typesafe Get* methods did not perform type conversion. It is never advisable to call a method different than the underlying type as that causes unnecessary slowdowns. That being said, with 1.0.4, it should now work.

What is causing this behavior is count(*) is returning either a UInt64 or an Int64 and you are accessing it with a call to GetInt32(). Be aware, of course, that count(*) can return a value larger than Int32.MaxValue.

-reggie

Options: ReplyQuote


Subject
Written By
Posted
January 19, 2005 06:26AM
Re: GetInt32 with a count() column
January 21, 2005 07:31AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.