SQL statements can include routine invocations. If these routines interact with the database, they must use a Connection.
For more information, see Programming database-side JDBC procedures.