se.unlogic.standardutils.dao.querys
Class HashMapQuery<KeyType,ValueType>
java.lang.Object
se.unlogic.standardutils.dao.querys.PreparedStatementQuery
se.unlogic.standardutils.dao.querys.PopulatedQuery<Map.Entry<KeyType,ValueType>>
se.unlogic.standardutils.dao.querys.HashMapQuery<KeyType,ValueType>
public class HashMapQuery<KeyType,ValueType>
- extends PopulatedQuery<Map.Entry<KeyType,ValueType>>
Methods inherited from class se.unlogic.standardutils.dao.querys.PreparedStatementQuery |
abort, autoCloseQuery, getPreparedStatement, 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 |
HashMapQuery
public HashMapQuery(Connection connection,
boolean closeConnectionOnExit,
String query,
BeanResultSetPopulator<? extends Map.Entry<KeyType,ValueType>> bp)
throws SQLException
- Throws:
SQLException
HashMapQuery
public HashMapQuery(DataSource dataSource,
boolean closeConnectionOnExit,
String query,
BeanResultSetPopulator<? extends Map.Entry<KeyType,ValueType>> bp)
throws SQLException
- Throws:
SQLException
executeQuery
public HashMap<KeyType,ValueType> executeQuery()
throws SQLException
- Throws:
SQLException
Copyright © 2011. All Rights Reserved.