scriptella.driver.jndi
Class Driver

java.lang.Object
  extended by scriptella.spi.AbstractScriptellaDriver
      extended by scriptella.jdbc.GenericDriver
          extended by 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

Constructor Summary
Driver()
           
 
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
 

Constructor Detail

Driver

public Driver()
Method Detail

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.