Oracle9i Application Developer's Guide - Advanced Queuing Release 1 (9.0.1) Part Number A88890-02 |
|
JMS Administrative Interface: Basic Operations, 30 of 40
Grant a queue privilege in the point-to-point model
The privileges are ENQUEUE, DEQUEUE and ALL. ALL means both. Initially only the queue table owner can use this procedure to grant privileges on the queue.
See Java (JDBC): Oracle9i Supplied Java Packages Reference, oracle.jms, AQjmsDestination.grantQueuePrivilege
QueueSession q_sess; Queue queue; ((AQjmsDestination)queue).grantQueuePrivilege(q_sess, "ENQUEUE", "scott", false);
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|