uk.ac.ic.doc.automed.wrappers
Class TransactSQLWrapper

java.lang.Object
  extended by uk.ac.ic.doc.automed.wrappers.AutoMedWrapper
      extended by uk.ac.ic.doc.automed.wrappers.SQLWrapper
          extended by uk.ac.ic.doc.automed.wrappers.TransactSQLWrapper

public class TransactSQLWrapper
extends SQLWrapper

A lower level wrapper for the conforming to the AutoMed SQL high level wrapper for TransactSQL SQL databases.

Author:
Peter McBrien (pjm@doc.ic.ac.uk)

Field Summary
 
Fields inherited from class uk.ac.ic.doc.automed.wrappers.SQLWrapper
con, OPTION_SCHEMA_NAME
 
Fields inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedWrapper
am, awf, debug, driver, emptyKeyProtection, emptyKeys, optionKeyProtection, optionKeys, password, protocol, s, url, username
 
Constructor Summary
TransactSQLWrapper()
           
TransactSQLWrapper(AccessMethod am, java.lang.String password)
          Generate a new wrapper instance from information held in the repository about how to access a data source.
 
Method Summary
 AutoMedWrapperFactory getDefaultWrapperFactory()
          Returns a new instance of the default wrapper factory for this wrapper
 
Methods inherited from class uk.ac.ic.doc.automed.wrappers.SQLWrapper
connect, escapedSQLID, executeIQL, executeLocalQuery, executeSQLQuery, getProtocolName, getQueryParser, getSODefinition
 
Methods inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedWrapper
atDebugLevel, cacheWrapper, deleteIQL, executeIQL, getAccessMethod, getAutoMedWrapper, getAutoMedWrapper, getAutoMedWrapperFactory, getDrivers, getOption, getOptionKeyProtection, getOptionKeys, getProtocol, getQueryCache, getQueryCache, getSchema, getSchema, getSODefinition, insertIQL, newAutoMedSchema, newAutoMedWrapper, newAutoMedWrapper, newAutoMedWrapper, registerWrapper, selectNewAutoMedWrapper, selectNewAutoMedWrapper, setDebugLevel, setOption, updateCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactSQLWrapper

public TransactSQLWrapper(AccessMethod am,
                          java.lang.String password)
                   throws DataSourceException
Generate a new wrapper instance from information held in the repository about how to access a data source. Note that a suitable access AccessMethod and Schema can be created using TransactSQLWrapperFactory#build

Throws:
DataSourceException

TransactSQLWrapper

public TransactSQLWrapper()
Method Detail

getDefaultWrapperFactory

public AutoMedWrapperFactory getDefaultWrapperFactory()
Returns a new instance of the default wrapper factory for this wrapper

Overrides:
getDefaultWrapperFactory in class SQLWrapper