|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.jafer.interfaces.Databean
|
+--org.jafer.databeans.JDBC
|
+--org.jafer.databeans.MySQLDatabean
| Field Summary | |
private com.mysql.jdbc.jdbc2.optional.MysqlDataSource |
dataSource
|
| Fields inherited from class org.jafer.databeans.JDBC |
CONFIG_FILE, connection, fetchSize, logger, nResults, password, query, QUERY_XSLT, resultSet, username |
| Constructor Summary | |
MySQLDatabean()
uses settings from superclass: |
|
| Method Summary | |
protected void |
configureDataSource()
|
protected java.sql.Connection |
getConnection()
Gets a conection from the DataSource in use. |
protected java.sql.Statement |
getStatement()
Gets a new Statement, which can be modified in subclasses. |
int |
submitQuery(org.w3c.dom.Node query)
Send query in XML form |
| Methods inherited from class org.jafer.databeans.JDBC |
getCurrentDatabase, getCurrentRecord, getDatabases, getElementSpec, getFetchSize, getHost, getNumberOfResults, getPort, getQuery, getQueryString, getRecordCursor, getRecordSchema, getResultSetName, getSearchProfile, getXMLConfigValue, isCheckRecordFormat, isParseQuery, processInsert, saveQuery, search, setCheckRecordFormat, setDatabases, setDatabases, setElementSpec, setFetchSize, setFetchSize, setHost, setParseQuery, setPort, setQueryString, setRecordCursor, setRecordSchema, setResultSetName, setSearchProfile |
| Methods inherited from class org.jafer.interfaces.Databean |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private com.mysql.jdbc.jdbc2.optional.MysqlDataSource dataSource
| Constructor Detail |
public MySQLDatabean()
| Method Detail |
public int submitQuery(org.w3c.dom.Node query)
throws JaferException
Search
submitQuery in interface SearchsubmitQuery in class JDBCJaferException
protected java.sql.Statement getStatement()
throws java.sql.SQLException
JDBC
getStatement in class JDBCjava.sql.SQLExceptionprotected void configureDataSource()
configureDataSource in class JDBC
protected java.sql.Connection getConnection()
throws java.sql.SQLException
JDBC
getConnection in class JDBCjava.sql.SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||