Class PostgreSQLCallQuery

  • All Implemented Interfaces:
    PersistenceQuery

    final class PostgreSQLCallQuery
    extends java.lang.Object
    implements PersistenceQuery
    PersistenceQuery implementation for use with PostgreSQL stored functions returning instance, which can be fetched only through SELECT of fields of the instance.
    Version:
    $Revision: 8104 $ $Date: 2006-04-11 15:26:07 -0600 (Tue, 11 Apr 2006) $
    Author:
    Rostislav Beloff, Oleg Nitz
    • Constructor Summary

      Constructors 
      Constructor Description
      PostgreSQLCallQuery​(java.lang.String call, java.lang.Class<?>[] types, java.lang.Class<?> javaClass, java.lang.String[] fields, int[] sqlTypes)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean absolute​(int row)
      Moves the result of the query to the absolute position in the 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.
      int getParameterCount()  
      java.lang.Class<?> getParameterType​(int index)  
      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()
      Finds the size of the resulting resultset from the query.
      • Methods inherited from class java.lang.Object

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