Class SQLQuery

    • Constructor Summary

      Constructors 
      Constructor Description
      SQLQuery​(SQLEngine engine, PersistenceFactory factory, java.lang.String sql, java.lang.Class[] types, boolean isCallSql)
      Creates an instance of SQLQuery.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean absolute​(int row)
      Move to an absolute position within a ResultSet.
      void close()
      Close the query and release all resources held by the query.
      void execute​(java.lang.Object conn, AccessMode accessMode, boolean scrollable)
      Execute the query with the give connection and lock type.
      void fetch​(ProposedEntity proposedObject)
      Loades the object.
      java.lang.Class getResultType()
      Returns the type of object returned by this query.
      Identity nextIdentity​(Identity identity)
      Returns the identity of the next object to be returned.
      void setParameter​(int index, java.lang.Object value)
      Sets the value of a paramter.
      int size()
      Uses the underlying db's cursors to move to the last row in the result set, get the row number via getRow(), then move back to where ever the user was positioned in the resultset.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait