public class JNDIDataSourceProvider extends java.lang.Object implements DataSourceProvder
| Modifier and Type | Field and Description |
|---|---|
protected javax.sql.DataSource |
datasource |
| Constructor and Description |
|---|
JNDIDataSourceProvider() |
| Modifier and Type | Method and Description |
|---|---|
java.sql.Connection |
getConnection()
Returns a connection from an underlying pool or data source.
|
public java.sql.Connection getConnection()
throws java.sql.SQLException
ConnectionProvidergetConnection in interface ConnectionProviderjava.sql.SQLExceptionCopyright © 2015. All Rights Reserved.