© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
B. Feigenbaum, Ph.D.Go for Java Programmershttps://doi.org/10.1007/978-1-4842-7199-5_15

15. SQL Database Access

Barry Feigenbaum, Ph.D.1  
(1)
Austin, TX, USA
 

Java provides multiple levels of SQL-based database access, referred to as JDBC (aka Java Database Connectivity), in the java.sql and java.sqlx packages. Go does much the same thing but with less function with the sql and driver packages. The sql package provides a generic framework of functions like java.sql does for SQL databases, while the driver package is a Systems Programming Interface (SPI) to allow pluggable drivers to be consumed. Most SQL actions are done by the drivers. Unlike with Java, most ...

Get Go for Java Programmers: Learn the Google Go Programming Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.