com.imcode.db
Class SingleConnectionDatabase

java.lang.Object
  extended by com.imcode.db.SingleConnectionDatabase
All Implemented Interfaces:
Database

public class SingleConnectionDatabase
extends java.lang.Object
implements Database


Constructor Summary
SingleConnectionDatabase(DatabaseConnection connection)
           
 
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

SingleConnectionDatabase

public SingleConnectionDatabase(DatabaseConnection connection)
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.