DataSource: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:


DataSources can be injected with the JEE [[@javax.annotation.Resource|@javax.annotation.Resource]] annotation.
DataSources can be injected with the JEE [[@javax.annotation.Resource|@javax.annotation.Resource]] annotation.
=TODO=
* https://home.feodorov.com:9443/wiki/Wiki.jsp?page=JBossDataSource

Revision as of 14:30, 25 September 2017

External

Internal

Overview

This page refers to a JSE javax.sql.DataSource. The DataSource is part of JDBC and it is the main interface exposed by thejavax.sql package. DataSource is part of JSE since 1.4. JDBC specifies that a database Connection can be obtained from a DriverManager or a DataSource. The DataSource is the preferred way of getting the Connection.


DataSources can be injected with the JEE @javax.annotation.Resource annotation.


TODO