org.milyn.db
Class DirectDataSource
java.lang.Object
org.milyn.db.AbstractDataSource
org.milyn.db.DirectDataSource
- All Implemented Interfaces:
- ContentHandler, DOMElementVisitor, DOMVisitAfter, DOMVisitBefore, DOMVisitor, ExecutionLifecycleCleanable, SAXElementVisitor, SAXVisitAfter, SAXVisitBefore, SAXVisitChildren, SAXVisitor, Visitor
public class DirectDataSource
- extends AbstractDataSource
Direct DataSource.
Configured with a specific JDBC driver plus username etc.
- Author:
- tom.fennelly@gmail.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectDataSource
public DirectDataSource()
getName
public String getName()
- Specified by:
getName in class AbstractDataSource
registerDriver
@Initialize
public void registerDriver()
throws SQLException
- Throws:
SQLException
getConnection
public Connection getConnection()
throws SQLException
- Specified by:
getConnection in class AbstractDataSource
- Throws:
SQLException
isAutoCommit
public boolean isAutoCommit()
- Specified by:
isAutoCommit in class AbstractDataSource
Copyright © 2008. All Rights Reserved.