skip to main content
OpenAccess SDK SQL Engine core methods for Java : Exchanging data : dam_getNextGrantedObject
 

dam_getNextGrantedObject

This method is used to navigate the granted object list in the GRANT and REVOKE commands. This method is used in the ipDCL method. The object can be a table, view, or procedure.
int dam_getFirstGrantedObject(
    long         hstmt,
    StringBuffer szQualifier,
    StringBuffer szOwner,
    StringBuffer szName)
Table 196. Parameters for dam_getNextGrantedObject
Parameter
Type
Description
INPUT
hstmt
long
The statement handle.
OUTPUT
szQualifier
StringBuffer
The qualifier of the object.
szOwner
StringBuffer
The owner of the object.
szName
StringBuffer
The name of the object.
RETURN
int
DAM_SUCCESS - on successDAM_FAILURE - on failureDAM_NO_DATA_FOUND - on end of list