se.unlogic.standardutils.dao.querys
Class ArrayListQuery<ReturnType>
java.lang.Object
se.unlogic.standardutils.dao.querys.PreparedStatementQuery
se.unlogic.standardutils.dao.querys.PopulatedQuery<ReturnType>
se.unlogic.standardutils.dao.querys.ArrayListQuery<ReturnType>
public class ArrayListQuery<ReturnType>
- extends PopulatedQuery<ReturnType>
Methods inherited from class se.unlogic.standardutils.dao.querys.PreparedStatementQuery |
abort, autoCloseQuery, isCloseConnectionOnExit, isClosed, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setCursorName, setDate, setDate, setDouble, setEscapeProcessing, setFetchDirection, setFetchSize, setFloat, setInt, setLong, setMaxFieldSize, setMaxRows, setNull, setNull, setObject, setObject, setObject, setQueryTimeout, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setURL |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayListQuery
public ArrayListQuery(Connection connection,
boolean closeConnectionOnExit,
String query,
BeanResultSetPopulator<ReturnType> bp)
throws SQLException
- Throws:
SQLException
ArrayListQuery
public ArrayListQuery(DataSource dataSource,
boolean closeConnectionOnExit,
String query,
BeanResultSetPopulator<ReturnType> bp)
throws SQLException
- Throws:
SQLException
executeQuery
public ArrayList<ReturnType> executeQuery()
throws SQLException
- Throws:
SQLException
getPreparedStatement
protected PreparedStatement getPreparedStatement(String query)
throws SQLException
- Overrides:
getPreparedStatement
in class PreparedStatementQuery
- Throws:
SQLException
Copyright © 2011. All Rights Reserved.