This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes jdbc  connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "jdbc  connection" Watch "jdbc  connection" New topic

jdbc connection

srinivas yakala

Joined: Dec 09, 2005
Posts: 12
when will the query will be executed it is at the time of compilatin or runtime . plz tell me (ie select * from table name)
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Runtime. Nothing is executed till things are compiled.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

I'm assuming you mean java compile time and runtime. Therefore the answer is 'only ever at runtime'
jQuery in Action, 2nd edition
subject: jdbc connection