net.hasor.db.jdbc.core
类 JdbcAccessor

java.lang.Object
  继承者 net.hasor.db.jdbc.core.JdbcAccessor
直接已知子类:
JdbcTemplate

public class JdbcAccessor
extends Object

版本:
: 2013-10-16
作者:
赵永春(zyc@hasor.net)

构造方法摘要
JdbcAccessor()
           
 
方法摘要
 Connection getConnection()
          Return the Connection used by this template.
 DataSource getDataSource()
          Return the DataSource used by this template.
 void setConnection(Connection connection)
          Set the JDBC Connection to obtain connection from.
 void setDataSource(DataSource dataSource)
          Set the JDBC DataSource to obtain connections from.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

JdbcAccessor

public JdbcAccessor()
方法详细信息

setDataSource

public void setDataSource(DataSource dataSource)
Set the JDBC DataSource to obtain connections from.


getDataSource

public DataSource getDataSource()
Return the DataSource used by this template.


getConnection

public Connection getConnection()
Return the Connection used by this template.


setConnection

public void setConnection(Connection connection)
Set the JDBC Connection to obtain connection from.



Copyright © 2014. All rights reserved.