File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
Where are the actual implementations of ResultSet and other jdbc interfaces defined?
Joined: Jan 11, 2013
Mar 20, 2013 00:30:20
, Connection, Statement are all interfaces in
. Where are there actual implementaions defined ?
When we call createStatement() or execuiteQuery() what subclass of those classes are returned in actual?
Joined: Mar 22, 2005
Mar 20, 2013 02:11:00
They're part of the
driver in use. You can find out the actual class name of any object by calling "getClass().getName()" on it.
It is sorta covered in the
JavaRanch Style Guide
subject: Where are the actual implementations of ResultSet and other jdbc interfaces defined?
why an Interface cannot have static method?
Where can we find the implementation for Connection, Statement, ResultSet interfaces
Implementation of Interfaces
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015