Posted: Wed Jan 19, 2011 2:48 am Post subject: schema in Create External Database Procedure
Centurion
Joined: 21 Mar 2009 Posts: 103
we are using Oracle database as message broker v6.1 database. we have two brokers using that Oracle database with two different schema.
we have one external database Procedure calling from ESQL. the database procedure present in a Oracle package in a respective schema.
CREATE PROCEDURE <name> LANGUAGE DATABASE
EXTERNAL NAME "<schema>.<package>.<procedure>";
I need to deploy the flow containing this ESQL in two brokers. so every time i need to change the schema before deploying in respective brokers.
Can any one help is there any way to avoid giving schema name while calling procedure..or how to pass this schema name dynamically with out change in ESQL code. because this avoids modifying the ESQL before deploying in respective broker.
You could move the procedure into a common schema, that both Broker userid's have access to.
You could use the same database security id in both brokers.
You could remove the schema qualifier entirely, leaving it at default, and ensure that the default schema is the correct one for the procedure on each broker.
This is as much an oracle design issue as it is a Broker deploy issue.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum