This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes PLS-00201: identifier 'SEC_LBIC.LDAP_VIEW_APP_LIST' must be declared Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "PLS-00201: identifier Watch "PLS-00201: identifier New topic

PLS-00201: identifier 'SEC_LBIC.LDAP_VIEW_APP_LIST' must be declared

David McCullough

Joined: Nov 12, 2004
Posts: 3
java.sql.SQLException: ORA-06550: line 1, column 13:
PLS-00201: identifier 'SEC_LBIC.LDAP_VIEW_APP_LIST' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

I am getting this error when calling the following PL/SQL stored procedure from Java.

String wwid = "20300474";


Context initcxt = new InitialContext();
writer.println("Initial Context");
Context envCtx = (Context) initcxt.lookup("java:comp/env");
writer.println("looking up Context");
DataSource ds = (DataSource)envCtx.lookup("jdbc/jnj/security");
writer.println("Got initial Context!");

Connection conn = ds.getConnection();

CallableStatement cstmt = conn.prepareCall("{? = call SEC_LBIC.ldap_view_app_list(?)}");


writer.println("SUCCESSFUL - update of Stored Procedure..");

catch(Exception e)


Please no SPAM!!
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: PLS-00201: identifier 'SEC_LBIC.LDAP_VIEW_APP_LIST' must be declared
It's not a secret anymore!