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
posted 4 years ago
In the database driver.
There are different drivers for the databases: zero, one or more for every database.