20
When I paid for the database chair, we worked with the bank alone, with no connection to an application that interacted externally with the DBMS.
Only then was presented the JDBC(Java Database Connectivity). But due to the rush of the course I learned from JDBC only what necessary to deal with the database.
So I have the following doubt:
What is the difference between Statement and Preparedstatement and when to use one or the other?