Package scriptella.driver.jndi
Class Driver
java.lang.Object
scriptella.spi.AbstractScriptellaDriver
scriptella.jdbc.GenericDriver
scriptella.driver.jndi.Driver
- All Implemented Interfaces:
ScriptellaDriver
Scriptella driver for JNDI datasources.
This driver relies on GenericDriver functionality.
Note:Currently this driver does not support JTA transactions and simply use connections provided by datasource. In this case new-tx has no effect if code is runned inside a transaction.
For configuration details and examples see overview page.
- Version:
- 1.0
- Author:
- Fyodor Kupolov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ConnectiongetConnection(String url, Properties props) A helper method for subclasses to avoid direct interaction with DriverManager API.Methods inherited from class scriptella.jdbc.GenericDriver
connect, connect, loadDriversMethods inherited from class scriptella.spi.AbstractScriptellaDriver
getScriptellaTitle, getScriptellaVersion, toString
-
Constructor Details
-
Driver
public Driver()
-
-
Method Details
-
getConnection
Description copied from class:GenericDriverA helper method for subclasses to avoid direct interaction with DriverManager API.Calls
DriverManager.getConnection(String,java.util.Properties)- Overrides:
getConnectionin classGenericDriver- Throws:
SQLException
-