Interface OracleResourceUser

All Known Subinterfaces:
PooledResourceUser
All Known Implementing Classes:
DmlStatement, QueryStatement

public interface OracleResourceUser
An interface that can be inplemented by objects that tend to use up cursors and other oracle resources. All the objects in a class that implement this interface can be added to a vector or a similer data structure. When the time comes to free Oracle resources the class can then iterate through the vector of OracleResourceUser and get them to free their resources.

See OracleResourceUser

Copyright 2003-2026 ATB Consultancy Services Ltd (formerly Orinda Software Ltd, Dublin, Ireland)

Version:
7
Author:
[email protected]
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Used to tell if the object is using Oracle resources.
    boolean
    Used to tell an object to release its Oracle resources.
  • Method Details

    • hasResources

      boolean hasResources()
      Used to tell if the object is using Oracle resources.
      Returns:
      true if the objects holds an open PreparedStatement, ResultSet or similer resource.
    • releaseResources

      boolean releaseResources()
      Used to tell an object to release its Oracle resources. This method never throws an exception. If releasing the resource will create problems they should be dealt with by the implementing class, not escalated to the calling class.
      Returns:
      true if the objects held an open PreparedStatement, ResultSet or similer resource.