These 2 interfaces in the java.sql.* package provide us with methods to create a connection with a db and execute SQL statements respectively. But we know that the methods in an interface do not have any implementations. My question is where and how are these methods (like execute(boolean String sql)) implemented. We are using them to perform DB operations alright. But where is the concrete implementations of the methods of these interfaces?
Ivan Jozsef Balazs
Joined: May 22, 2012
In the database driver.
There are different drivers for the databases: zero, one or more for every database.