se.unlogic.standardutils.dao.querys
Class BooleanQuery

java.lang.Object
  extended by se.unlogic.standardutils.dao.querys.PreparedStatementQuery
      extended by se.unlogic.standardutils.dao.querys.BooleanQuery

public class BooleanQuery
extends PreparedStatementQuery


Field Summary
 
Fields inherited from class se.unlogic.standardutils.dao.querys.PreparedStatementQuery
closeConnectionOnExit, closed, connection, pstmt
 
Constructor Summary
BooleanQuery(Connection connection, boolean closeConnectionOnExit, String query)
           
BooleanQuery(DataSource dataSource, boolean closeConnectionOnExit, String query)
           
 
Method Summary
 boolean executeQuery()
           
 
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
 

Constructor Detail

BooleanQuery

public BooleanQuery(Connection connection,
                    boolean closeConnectionOnExit,
                    String query)
             throws SQLException
Throws:
SQLException

BooleanQuery

public BooleanQuery(DataSource dataSource,
                    boolean closeConnectionOnExit,
                    String query)
             throws SQLException
Throws:
SQLException
Method Detail

executeQuery

public boolean executeQuery()
                     throws SQLException
Throws:
SQLException


Copyright © 2011. All Rights Reserved.