I don't think that's the problem, but if it is, it is most likely an issue in the jdbc driver - iBATIS doesn't know the difference between a view and a table - it just maps the result set to objects.
Try the same select statement with pure jdbc and see what you get. If it works, post your sql map and code. Larry On 9/5/07, Yuvraj Shinde <[EMAIL PROTECTED]> wrote: > > > > > > > Hi Nathen, > > > > Every thing is proper,but only thig is a am aaccessing data from view.thats > why I am not getting any data for particular columns. > > Regards > > > > > > ________________________________ > > > From: Nathan Maves [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 05, 2007 7:00 PM > To: [email protected] > Subject: Re: iBatis Select Query > > > > > I can only assume that you are talking about the queryForObject method. > Which will return a null if a row is not returned. What is the issue that > you are running into? > > > > > > > Nathan > > > On 9/4/07, prvijay <[EMAIL PROTECTED] > wrote: > > > Hi, > > i a m using iBatis for executing a select query, it works fine if the > query has a return value. Its giving null when the query does not have any > results. Thats notthe case with procedure. Do anyone have any idea on this. > -- > View this message in context: > http://www.nabble.com/iBatis-Select-Query-tf4376563.html#a12474812 > Sent from the iBATIS - User - Java mailing list archive at Nabble.com. > >
