org.jtheque.core.managers.persistence
Class JThequeDataSource

java.lang.Object
  extended by org.springframework.jdbc.datasource.AbstractDataSource
      extended by org.springframework.jdbc.datasource.AbstractDriverBasedDataSource
          extended by org.springframework.jdbc.datasource.DriverManagerDataSource
              extended by org.springframework.jdbc.datasource.SingleConnectionDataSource
                  extended by org.jtheque.core.managers.persistence.JThequeDataSource
All Implemented Interfaces:
java.sql.Wrapper, javax.sql.CommonDataSource, javax.sql.DataSource, org.springframework.beans.factory.DisposableBean, org.springframework.jdbc.datasource.SmartDataSource

public class JThequeDataSource
extends org.springframework.jdbc.datasource.SingleConnectionDataSource

This class is a simple data source who place the database to the current folder specified in the application.

Author:
Baptiste Wicht

Field Summary
 
Fields inherited from class org.springframework.jdbc.datasource.AbstractDataSource
logger
 
Constructor Summary
JThequeDataSource()
           
 
Method Summary
 void setUrl(java.lang.String s)
           
 
Methods inherited from class org.springframework.jdbc.datasource.SingleConnectionDataSource
destroy, getAutoCommitValue, getCloseSuppressingConnectionProxy, getConnection, getConnection, initConnection, isSuppressClose, prepareConnection, resetConnection, setAutoCommit, setSuppressClose, shouldClose
 
Methods inherited from class org.springframework.jdbc.datasource.DriverManagerDataSource
getConnectionFromDriver, getConnectionFromDriverManager, setDriverClassName
 
Methods inherited from class org.springframework.jdbc.datasource.AbstractDriverBasedDataSource
getConnectionFromDriver, getConnectionProperties, getPassword, getUrl, getUsername, setConnectionProperties, setPassword, setUsername
 
Methods inherited from class org.springframework.jdbc.datasource.AbstractDataSource
getLoginTimeout, getLogWriter, isWrapperFor, setLoginTimeout, setLogWriter, unwrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.sql.CommonDataSource
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
 
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 

Constructor Detail

JThequeDataSource

public JThequeDataSource()
Method Detail

setUrl

public void setUrl(java.lang.String s)
Overrides:
setUrl in class org.springframework.jdbc.datasource.AbstractDriverBasedDataSource


Copyright © 2009 JTheque. All Rights Reserved.