JDBC: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=External= * https://docs.oracle.com/javase/7/docs/api/javax/sql/package-summary.html =Internal= * Java =Overview= The <tt>javax.sql</tt> JSE package pr...")
 
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
=External=
=External=


* https://en.wikipedia.org/wiki/Java_Database_Connectivity
* https://docs.oracle.com/javase/7/docs/api/java/sql/package-summary.html
* https://docs.oracle.com/javase/7/docs/api/javax/sql/package-summary.html
* https://docs.oracle.com/javase/7/docs/api/javax/sql/package-summary.html
* http://www.oracle.com/technetwork/java/javase/jdbc/index.html
* http://docs.oracle.com/javase/tutorial/jdbc/basics/index.html


=Internal=
=Internal=


* [[Java#Subjects|Java]]
* [[Java#Subjects|Java]]
* [[JPA]]
* [[JdbcTemplate#Overview|Spring Framework JdbcTemplate]]


=Overview=
=Overview=


The <tt>javax.sql</tt> JSE package provides the API to access SQL database servers for JSE applications. The package is part of JSE since 1.4, and includes the following features:
Java Database Connectivity (JDBC) is an application programming interface (API) for the programming language Java, which defines how a JSE client may access a database. It includes the <tt>java.sql</tt> and <tt>javax.sql</tt> packages. <tt>javax.sql</tt> is part of JSE since 1.4, and includes the following features:


* The [[DataSource]] interface
* The [[DataSource]] interface
Line 15: Line 21:
* Distributed transactions
* Distributed transactions
* RowSets
* RowSets
=JPA vs. JDBC=
{{Internal|JPA vs JDBC|JPA vs. JDBC}}
=JDBC API Usage=
{{Internal|JDBC API Usage|JDBC API Usage}}

Latest revision as of 19:57, 14 October 2018

External

Internal

Overview

Java Database Connectivity (JDBC) is an application programming interface (API) for the programming language Java, which defines how a JSE client may access a database. It includes the java.sql and javax.sql packages. javax.sql is part of JSE since 1.4, and includes the following features:

  • The DataSource interface
  • Connection and statement pooling
  • Distributed transactions
  • RowSets

JPA vs. JDBC

JPA vs. JDBC

JDBC API Usage

JDBC API Usage