This content has been marked as final. Show 2 replies
Where have you installed the Package EMPLOYEE_OBJ in your database?
It sounds like you've missed this vital step.
In iStudio...File > Export PL/SQL. Expand your subscribing Application (e.g. APPS) ... APPS > Subscribed Events, and highlight "Subscribe(EMPLOYEE_OBJ.NEWEMPLOYEE)". Press the "Browse" button, and select where you want to save the file. (e.g. d:\iStudio_Packages\XXOAI). The "XXOAI" prefix is added to the start of the created file.
A *.sql file will be created in the directory you specified (e.g. d:\iStudio_Packages\XXOAI_APPS_EMPLOYEE_OBJ.sql).
(Note: Ignore the empty "XXOAI_APPS_EMPLOYEE_OBJTypes.sql" file as you haven't created any new ones (i.e. NUMBER and LONG are standard))
Login to SQL*Plus now, as the same user specified in your DB Adapter.ini file (Hint: In adapter.ini, look for the entry "db_bridge_schema1_writer_username=[Your DB User]", e.g."db_bridge_schema1_writer_username=APPS.)
Execute the iStudio generated XXOAI_APPS_EMPLOYEE_OBJ.sql file.
You will now have the Package EMPLOYEE_OBJ created, together with a procedure SUB_NEWEMPLOYEE_OAI_V1.
You will notice that the DB Adapter (unless you've stopped it and cleared down any persistence files), will automatically find this new Package and Procedure, and will have updated your 'Employee' table. :-)
Hope this helps
Its working now, thanks for your help.