JCA database adapter issue due to database schema dependency

Hi,
I am using the JCA database adapter to call a stored procedure. The adapter uses the database schema name while calling the Stored procedure. The schema name is added in the namespace of XSD, wsdl files.
If I have to use a different database schema name, how can I update the existing code without much modification.
Thanks!

Thanks for your reply Prabhu.
But the modification in JCA file is resulting in the following Exception.
I think this change has resulted in references related issue. Please let me know if any further changes are required.
<> <Error> <oracle.soa.adapter> <BEA-000000> <JCABinding=> Could not invoke operation against the 'Database Adapter' due to:
BINDING.JCA-11811
Stored procedure invocation error.
Error while trying to prepare and execute the old_schema_name.stored_procedure_name.
An error occurred while preparing and executing the old_schema_name.stored_procedure_name.
API. Cause: java.sql.SQLException: ORA-06550: line 1, column 7:
PLS-00201: identifier old_schema_name.stored_procedure_name.
must be declared
ORA-06550: PL/SQL: Statement ignored

Similar Messages

  • DataBase Adapter Issue

    Hi all,
    When i try to query the table using the Database adapter , i m getting the following error message
    *" ORA-04030 : out of process memory when trying to allocate 2024 bytes( kxs-heap-c,kghsstk)* "
    Experts please post the possible resolution for this issue..
    Thanks in Advance,
    Karthik

    Hi-
    Is the Database and Weblogic installed on same machine ??
    When you execute queries from SQL worksheet this is the only program that is consuming memory..
    But when you run from DB Adapter both your adapter and database consumes the memory and datbase is not able to get the required memory to run the script..
    I am not quite sure of the issue, u can check the task manager and find it out when executing the program

  • 11g Database Adapter issue

    Hi there,
    I have a very simple BPEL process which just use Database Adapter to response result from one table, every thing works ok but a column with 'ROWID' datatype get a wrong data.
    Which means when the data in table is 'AAAOOMAAPAAAgGVAAl', the BPEL output is 'QUFBT09NQUFQQUFBZ0dWQUFs', i try to modify the xxx-or-mapping.xml and xxx-properties.xml but still no luck.
    Any ideas?

    Hi AJ,
    Thanks for your reply.
    In fact, i can't remove the ROWID type column. it is very important for business logic, the table is hosted on third party database, i have no right to do any change.
    below is the table struct:
    table PULL_STOCK_TRANSFER
    ISSUE_PLANT NOT NULL VARCHAR2(4)
    RCVNG_PLANT NOT NULL VARCHAR2(4)
    ISSUE_DATE NOT NULL DATE
    PART_CODE NOT NULL VARCHAR2(18)
    QUANTITY NOT NULL NUMBER(13,3)
    FLAG CHAR(1)
    PROCESSED CHAR(1)
    REMARKS VARCHAR2(200)
    TRACKING_ID ROWID
    ISSUE_LOCATION NOT NULL VARCHAR2(2)
    RCVNG_LOCATION NOT NULL VARCHAR2(2)
    And there have no problem on 10g.
    So any ideas?
    -Ray

  • BPEL Database Adapter Issue

    I am using DB adapter in my bpel for polling purpose. so that if any new entry comes in the db in a specific table it will execute my bpel. and in DB adapter I made configuration for sequence file. but whatever value I enter in the table my sequence file is updated with value "32477". can any body help in this regards.

    Well this happened on the production so we don't really have the scope of testing this again. Also it has not happened before anywhere else. 
    This version is Oracle application Server 10g (10.1.3.5).

  • Database adapter: how to invoke database functions

    Hi there,
    i'm new in this forums. My name is Giulio and i work in Italy.
    I'm trying to invoke a database functions inside a bpel process.
    The function is very simple, this is the source code:
    create or replace function FNC_WriteSailing(PEventCode in varchar2, PXML In sys.xmltype) return number is
    begin
    Insert Into table_with_xml_column (filename, xml_document)
    Values (PEventCode, PXML);
    Commit;
    return(1);
    Exception When Others Then Return (0);
    end FNC_WriteSailing;
    I've tried to invoke functions withe only primitive data type as parameter. But i'm not able to invoke functions with CLOB or XMLTYPE parameter.
    I'm using jdeveloper version 11.1.1.4.0
    Could anyone help me? Thanks in advance.
    Regards,
    Giulio Dottorini

    you're not able to invoke them or you don't see them in the browser of the wizard of the db adapter?
    you should see them in there

  • OvD - Database Adapter (connect to encrypted database)

    HI,
    Is it possible to connect OvD to an SQL Server 2005 Database with encrypted data ? We have configured the adapter, but we see the encrypted uid instead of clear text.
    Any help is appreciated.
    Thanks.
    CI

    Sorted this out:
    Used custom URL and made sure that the OVD Manager IDE was not appending any additional information following the closing bracket of the URL.
    The full successful URL was as follows with no values in any of the other fields:
    jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS = (PROTOCOL = TCP)(HOST = host1)(PORT = 1540))(ADDRESS = (PROTOCOL = TCP)(HOST = host2)(PORT = 1540))(CONNECT_DATA=(SERVICE_NAME=SNAME)))

  • Compatibility of PostgreSQL database with Database Adapter OSB 10.3.1

    Hello,
    I'm having problems configuring a Database Adapter for a PostgreSQL database in OSB 10.3.1. Someone knows if this adapter supports PostgreSQL databases?
    Thank you,
    Regards
    Héctor

    I doubt. Drivers/DB support is at http://download.oracle.com/docs/cd/E11036_01/integrate.1013/b28994/adptr_db.htm#BDCIIDAE
    Manoj
    Edited by: mneelapu on Aug 18, 2009 4:18 PM

  • Database Adapter and SQL Server procedure issue

    Hello,
    I am using Jdev 11.1.1.7.0 and SQL Server 2005.
    In the Database Adapter configuration wizard, Specify Stored Procedure step, I choose the “GEACupax” schema and got the following error after a click on “Procedure Browse” button:
    com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'GEACUPAX.INFORMATION_SCHEMA.SCHEMATA'.
    The command Database Adapter tried to execute was:
    (from jdev log:) select schema_name from GEACUPAX.INFORMATION_SCHEMA.SCHEMATA order by schema_name;
    Note, the schema name has changed to uppercase. I think that is the problem. If I try this query in SQLDeveloper, it returns the same error. I can fix it changing the schema name to “GEACupax”. The case matters.
    Any ideas?
    Leandro.

    Vijay,
    Thanks for you reply.
    I figure out a related bug:
    Bug 12859472: Cannot browse store procedure in case-sensitive MS SQL Database
    There are two possible workarounds:
    1. Use a database name with capital letters
    2. Do not use stored procedures, but access the tables directly.
    The notes on the Bug ticket describes that the issue would be scheduled to be fixed in PS7 which is 11.1.1.8.
    Cheers!
    Leandro.

  • Can we access the e-business apps schema with database adapter

    Hi..
    can we access the tables/views/api's in apps schema using database adapter. Generally we access it using oracle apps adapter.
    Thank you,
    Dan.

    Hi Dan,
    As mentioned by the other user, you can very well use the db adapter as APPS Schema user to connect to any APPS instance.
    This is the reason why you have the connection navigator in JDev not differentiating much for APPS adapter connection and db connection listed.
    However, having said that I would still prefer using APPS JCA Adapter for APPS instance and DB adapter for databases.
    Regards
    A

  • Database adapter wizard issue

    Hi,
    I recently created a bpel flow containing a database adapter where I completed all the steps through to completion. Since then, when I attempt to review the adapter by double-clicking on it and then click on "Define Adapter Service", then when I step through to the "Adapter Config. Wizard - Select Table" I am told :
    'No Tables Imported'.
    I cannot figure out what I have done to have caused this. As far as I can see everything related to the database adapter from its initial creation still exists:
    * under "Application Sources" I see the adapter, and within this are 3 javaclasses that relate to the tables in the join
    * under "Application Sources->TopLink" again I see a reference to the adapter
    * under "Integration Content", there is another reference to the adapter, which contains :
    - wsdl, xsd & toplink mappings xml
    I have two further database adapters that do not have any issues - I can use the wizard to review their configuration. The entire flow compiles without issues...
    Is there anyway I can "fix" the 1st adapter so that the wizard correctly shows the imported tables?
    Thanks in advance.
    Anit

    Hi,
    No it is not a bug, I think. If you created your query by choosing from imported tables/views and related those using the wizard, the only way to change them is to re-import the tables and basically redefine your database adapter.
    It's a pity, but that's how it is (also in 10.1.2 I saw recently).
    Regards,
    Martien

  • Database Adapter Connection to EBusiness Suite Issue

    I have a process that creates records in the EBusiness Suite using the BPEL Database Adapter. The adapter calls a single wrapper procedure that internally calls 4 TCA APIs one after the other. There appears to be an USERENV LANG issue during the final api that is called. The LANG needs to be US but the SQL Worksheet in JDeveloper BPEL Designer returns GB which I suspect is the value the adapter has when it connects to the eBusiness Suite.
    How can the value of the LANG be set for the adapter ? My Environment variable for NLS_LANG is set to AMERICAN_AMERICA.WE8ISO8859P1. My various Oracle homes are also set to this value.
    I have also tried FND_GLOBAL.APPS_INITIALIZE procedure to effectively 'log on' to the EBS but this returns an error. The same wrapper package called directly from SQL*Plus works perfectly (where USERENV LANG is US). Solutions welcome !

    The issue was resolved by adding the following to the start of the wrapper procedure:
    EXECUTE IMMEDIATE 'ALTER SESSION SET NLS_LANGUAGE = ''AMERICAN''';

  • Setting up JDBC Data Source for JCA Database Adapter  in WLS - only SID?

    Following the documentation for setting up a connection for use with the JCA Database Adapter (http://otnbeta.oracle.com/fmw11g/582tj30eapvb/integration.1111/e10231/life_cycle.htm), section 2.4.1, Step 8 simply says "Enter the connection properties in the Connection Properties page, and then click Next"
    In the "Create a New JDBC Data Source" screen of the WLS Administration Console there is the entry field vaguely labeled as "Database Name:" Of course I entered the Oracle RDBMS service name (which we should ALWAYS be using), only to be informed upon clicking next, that WLS was expecting the SID.
    Two things:
    1. At least through this maintenance console, it appears that BEA did not understand the whole concept or value of Oracle RDBMS logical service names versus the SID (I have seen this in several products that Oracle has acquired). Best practice would be to use the Oracle RDBMS service name, which doesn't appear to be an option in this console.
    2. The OFM documentation should be more helpful in explaining.

    Compare to the analogous setup in OAS 10.1.3.4/EM... far better clarity in the maintenance console and option of either SID or service name.

  • JCA Database adapter - stored procedure xa or non xa datasource

    Hi
    I have a quick question about datasources. Does the database adapter support both xa and non xa? I am currently running in non xa I really do not need any xa functionality, but I am experiencing some calls to the database that takes a very long time. Might be an issue with the database tuning, but trying to cover all the bases.
    Have searched quite a lot on it, but cant find anything, so I hope some of you know.
    Thanks in advance.
    /Øyvind

    Does the database adapter support both xa and non xa? Yes, it supports both.
    but I am experiencing some calls to the database that takes a very long time. May be database is slow or data-source is not fine tuned. Does it happen under heavy load? What is the independent normal execution time and how much it is taking actually when you use DB adapter?
    Regards,
    Anuj

  • JCA adapter for MySQL or databases

    Hi,
    does anyone knows where to get an free/open source JCA adapter for MySQL or databases?
    Juraj

    I remember extending the ResourceAdapter helper classes from IBM's websphere server.
    In most cases your application server would provide a generic class that you extend to add support for more databases.
    In weblogic the resourceadapter deployed on the server includes support for mysql already and so is the case for JBoss.
    If you are using any other server, then try to see how JBoss have implemented their resourceadapter...ResourceAdapters are deployed on the app server as RAR files

  • Issue in ESB Database Adapter

    hi
    I have a requirement where the database adapter has to poll for a particular status like NOT STARTED in table and
    based on the status change it should trigger a service asynchronously and then it should immediately update the
    status as STARTED.
    The configuration steps done in the wizard:
    Step 3 - Poll for New or Changed records in a Table
    Step 7 - we selected the operation to perform after the data is read from the database, and Update the Field in the table
    Step - 8 we Selected the Logical Field as table Column Status and
    Read Value: STARTED and Unread Value : NOT STARTED
    Database Rows per Transaction is Unlimited and also delay commit, Distributed Polling and Poll for child Updates are
    not selected.
    The database adapter is not stable at some point of time, it is not updating the status from NOT STARTED to
    STARTED after invoking the service asynchronously. Hence the whole process is repeating after some
    time interval because of the status remaining as NOT STARTED.
    Thanks

    Hi,
    No it is not a bug, I think. If you created your query by choosing from imported tables/views and related those using the wizard, the only way to change them is to re-import the tables and basically redefine your database adapter.
    It's a pity, but that's how it is (also in 10.1.2 I saw recently).
    Regards,
    Martien

Maybe you are looking for