org.jafer.databeans
Class TDSDatabean

java.lang.Object
  extended by org.jafer.interfaces.Databean
      extended by org.jafer.databeans.JDBC
          extended by org.jafer.databeans.TDSDatabean
All Implemented Interfaces:
java.io.Serializable, Present, Search, Z3950Connection

public class TDSDatabean
extends JDBC

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jafer.databeans.JDBC
CONFIG_FILE, connection, dataSource, foreignKey, logger, nResults, password, primaryKey, primaryTable, query, QUERY_XSLT, resultSet, username
 
Constructor Summary
TDSDatabean()
           
 
Method Summary
protected  boolean alignCursor()
           
protected  void configureDataSource()
           
protected  java.sql.Statement getStatement()
          Gets a new Statement, which can be modified in subclasses.
 int submitQuery(org.w3c.dom.Node query)
          uses settings from superclass:
 
Methods inherited from class org.jafer.databeans.JDBC
getConnection, getCurrentDatabase, getCurrentRecord, getDatabases, getElementSpec, getHost, getNumberOfResults, getNumberOfResults, getPort, getQuery, getQueryString, getRecordCursor, getRecordSchema, getResultSetName, getSearchException, getSearchException, getSearchException, getSearchProfile, getXMLConfigValue, isCheckRecordFormat, isParseQuery, processInsert, saveQuery, search, setCheckRecordFormat, setDatabases, setDatabases, setElementSpec, setHost, setParseQuery, setPort, setQueryString, setRecordCursor, setRecordSchema, setResultSetName, setSearchException, setSearchProfile, submitQuery, submitQuery
 
Methods inherited from class org.jafer.interfaces.Databean
getCacheSupport, getPresentSupport, getScanSupport, getSearchSupport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TDSDatabean

public TDSDatabean()
Method Detail

submitQuery

public int submitQuery(org.w3c.dom.Node query)
                throws JaferException
uses settings from superclass:

Overrides:
submitQuery in class JDBC
Throws:
JaferException

alignCursor

protected boolean alignCursor()
                       throws java.sql.SQLException,
                              JaferException
Overrides:
alignCursor in class JDBC
Throws:
java.sql.SQLException
JaferException

configureDataSource

protected void configureDataSource()
                            throws JaferException
Specified by:
configureDataSource in class JDBC
Throws:
JaferException

getStatement

protected java.sql.Statement getStatement()
                                   throws java.sql.SQLException
Description copied from class: JDBC
Gets a new Statement, which can be modified in subclasses.

Overrides:
getStatement in class JDBC
Throws:
java.sql.SQLException