scriptella.driver.jndi
Class Driver
java.lang.Object
scriptella.spi.AbstractScriptellaDriver
scriptella.jdbc.GenericDriver
scriptella.driver.jndi.Driver
- All Implemented Interfaces:
- scriptella.spi.ScriptellaDriver
public class Driver
- extends scriptella.jdbc.GenericDriver
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
|
Method Summary |
protected java.sql.Connection |
getConnection(java.lang.String url,
java.util.Properties props)
|
| Methods inherited from class scriptella.jdbc.GenericDriver |
connect, connect, loadDrivers |
| Methods inherited from class scriptella.spi.AbstractScriptellaDriver |
getScriptellaTitle, getScriptellaVersion, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Driver
public Driver()
getConnection
protected java.sql.Connection getConnection(java.lang.String url,
java.util.Properties props)
throws java.sql.SQLException
- Overrides:
getConnection in class scriptella.jdbc.GenericDriver
- Throws:
java.sql.SQLException
Copyright © Copyright 2006-2009 The Scriptella Project Team.