com.imcode.db
Class DataSourceDatabase

java.lang.Object
  extended by com.imcode.db.DataSourceDatabase
All Implemented Interfaces:
Database
Direct Known Subclasses:
DatasourceDatabase

public class DataSourceDatabase
extends java.lang.Object
implements Database


Constructor Summary
DataSourceDatabase(javax.sql.DataSource dataSource)
           
 
Method Summary
 java.lang.Object execute(DatabaseCommand databaseCommand)
           
 java.lang.Object executeCommand(DatabaseCommand databaseCommand)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceDatabase

public DataSourceDatabase(javax.sql.DataSource dataSource)
Method Detail

execute

public java.lang.Object execute(DatabaseCommand databaseCommand)
                         throws DatabaseException
Specified by:
execute in interface Database
Throws:
DatabaseException

executeCommand

public java.lang.Object executeCommand(DatabaseCommand databaseCommand)
                                throws DatabaseException
Specified by:
executeCommand in interface Database
Throws:
DatabaseException


Copyright © -2006 . All Rights Reserved.