File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases 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 Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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'
I agree. Here's the link:
subject: jdbc connection
It's not a secret anymore!