getInteget method
hi
am getting an error
cannot resolve symbol
symbol : method getInteger(java.lang.string)
interface java.sql.Resultset
strposx = rs.getInteger("POSX_FIELD")
a part of my code is given below
Integer strtposx
ResultSet rs=null;
String query;
query = "SELECT * FROM T_TABEL";
rs = stmt.executeQuery(query);
while(rs.next())
{
strtposx=rs.getInteger("POSX_FIELD");
}
> I nominate this as the most moronic question this
> week. Easily solved by just one short glance at the
> docs.
hmmm.. I am now feeling like a fool for replying such questions...
> hmmm.. I am now feeling like a fool for replying
> such questions...
The fun is to reply in a not-replying way. My post is fully sufficient - either one can take its content and actually go and look at the API docs and see what's wrong, or one can just see the insult sulk a little. Or best, see both and learn not to make the same mistake again next time. :)
> > I nominate this as the most moronic question this
> > week. Easily solved by just one short glance at
> the
> > docs.
>
> hmmm.. I am now feeling like a fool for replying
> such questions...
As do I lol. Although I didn't look at the API I'm sure a similar Q has been asked before?