• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

executeQuery() issue?

 
kiran kumar
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
what happens when we executeQuery() if no data availabe in the tables?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That depends on what the query does!
 
kiran kumar
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I use select statement than what happens?
 
imaya Munusamy
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by rahul dravid:
If I use select statement than what happens?


It will return ResultSet Object but the ResultSet.next() method will return false
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic