net.sourceforge.fluxion.datapublisher.odbc.impl
Class ODBCQuery<T>
java.lang.Object
net.sourceforge.fluxion.datapublisher.sql.impl.SQLQuery<T>
net.sourceforge.fluxion.datapublisher.odbc.impl.ODBCQuery<T>
- All Implemented Interfaces:
- Query<T>
public class ODBCQuery<T>
- extends SQLQuery<T>
Models a query against an odbc bean. Queries are typed with the type of bean
the query acts against. A ODBCQuery
would usually be generated from a ODBCQueryFactory
.
- Version:
- 0.3
- Author:
- Tony Burdett, Trevor
Constructor Summary |
ODBCQuery(java.lang.Class<T> beanClass,
Filter filter,
java.lang.String dbUrl,
java.lang.String user,
java.lang.String password)
|
Method Summary |
protected void |
closeConnection()
Close the connection to a oracle database |
protected void |
openConnection()
Open a connection to a oracle database. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ODBCQuery
public ODBCQuery(java.lang.Class<T> beanClass,
Filter filter,
java.lang.String dbUrl,
java.lang.String user,
java.lang.String password)
openConnection
protected void openConnection()
throws QueryExecutionException
- Open a connection to a oracle database.
- Specified by:
openConnection
in class SQLQuery<T>
- Throws:
QueryExecutionException
- if opening the connection fails
closeConnection
protected void closeConnection()
throws QueryExecutionException
- Close the connection to a oracle database
- Specified by:
closeConnection
in class SQLQuery<T>
- Throws:
QueryExecutionException
- if closing the connection fails
Copyright © 2010. All Rights Reserved.