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

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

  • 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

  • 11g Database Adapter: How to make queries using LIKE with % (possible bug?)

    Hi there!
    Sorry if this has been answered before, but the forum search ignores '%' so I could not find anything relevant. I'm completely at a loss here guys so any help will be really appreciated.
    I've got a database adapter that executes a "pure SQL" query:
    select * from supplier t
    WHERE t.idsupplier = #idSupplierParam OR #idSupplierParam2 IS NULL
    AND t.name like '%' || #nameParam || '%' OR #nameParam2 IS NULL
    AND t.address like '%' || #addressParam || '%' OR #addressParam2 IS NULL
    AND t.description like '%' || #descParam || '%' OR #descParam2 IS NULL
    I've got a single record in my DB with name= 'supplier1'
    When I execute my bpel passing 'sup' as nameParam and nameParam2, everything is right and I get my supplier1 in the results.
    BUT if I pass 'asdfghj' as name, I still get my 'supplier1' in the results ¿¿¿???
    ¿Is this a bug? ¿Am I doing something wrong? Thanks in advance!!

    No, but thanks for trying. Iif you had read my post you'd had found that I wrote
    +When I execute my bpel passing 'sup' as nameParam and nameParam2+
    But I double checked against that just in case. I made a test query
    select * from supplier t WHERE t.name like '%' || #nameParam || '%'
    And no matter what I pass as nameParam, I always GET ALL THE RECORDS in my table. ¿Any idea what's going on? It's like param is being ignored and the query that is executed is select * from supplier t WHERE t.name like '%%' which would of course return everything in the DB. :(
    Help plz!!

  • 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).

  • Oracle 11g Database Perfomance issue

    HI
    I test migration of our product from Oracle 9i to 11g and have some problems.
    When I execute queries (not very complex: with several joins and sometimes inner selects) queries are executed very slow the first time (about 10-15 seconds without fetching). Next times it executes for a half of seconds. It seems that Oracle caches some data. But for 2 minutes the situation is the same - execution time takes more then 10 seconds.
    Using Oracle 9i the same query executes first time for 4-5 seconds and next times for 1 second with not cache-time limitation
    Something similar with PL/SQL Developer we use. When I try to get function or procedure or some other list first execution take a lot of time in average15-20 seconds, though analogical operations with 9i takes 1-2 seconds. But it seems that there are no difference between first and next executions.
    Technical Info:
    Oracle 11.1.0.6.0
    PL/SQL Developer 7.1
    Pentium IV 2.8
    Ubuntu 7.04 (I know it is not certified, but I don't think that problem depends on that)
    Windows Clients 9i and 10.2.0.2
    Will appreciate any help

    The machines a differentThat's quite an understatement ;) The machines are different in almost every way -
    1) The number/type of CPU's
    2) The amount of memory
    3) The type of disks used
    4) The operating system itself.
    I would suggest that comparing performance at the moment (and then pointing at 11g as the 'culprit') is a bit misleading. I think you need to test both systems on the same hardware before you jump to that conclusion (I'm not saying that you're wrong....perhaps you're right, but comparing timings on those two different setups isn't exactly 'conclusive' to me).
    there is no bottlenecksThen congratulations, your 2 x Pentium III is actually a quantum supercomputer in disguise...;)
    Seriously...there is always a bottleneck, something (in the current state of the Physical world) is always going to be the limiting factor. Sure, you can decrease that bottleneck or even remove it (but then something else becomes the primary bottleneck).
    John.

  • Database Adapter in 11g

    is anyone know how to configure 'OutputCompletedXml' in SOA 11g Database Adapter?
    How to configure Toplink sequencing in JDeveloper SOA applicatoin(Database adapter generated mappings).
    Thanks
    --Sree                                                                                                                                                                                                                                                                                                                                                                                                                               

    When you enter the xADataSourceName property, did you hit enter on the field? If you simply tab off the field and hit save changes without hitting the enter key then it doesn't record the change to the property.

  • Can't connect to Database from Database Adapter in BPM 11g

    I added a database adapter in BPM 11g to the composite.xml. This database adapter is just to load data into a XML document (UI payload). I can’t seem to get a connection to the database. I am getting a error, see below.
    <bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'GetRequestInfoSelect' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. FundsDisbursementProject:GetRequestInfo [ GetRequestInfo_ptt::GetRequestInfoSelect(GetRequestInfoSelect_inputParameters,FdRequestHeaderCollection) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element &lt;connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the &lt;connection-factory/> element: location='jndi/FDF_Database'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '&lt;jndi-name>' element in weblogic-ra.xml has not been set to jndi/FDF_Database. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary></part><part name="detail"><detail>JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element &lt;connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the &lt;connection-factory/> element: location='jndi/FDF_Database'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '&lt;jndi-name>' element in weblogic-ra.xml has not been set to jndi/FDF_Database. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server </detail></part><part name="code"><code>12510</code></part></bindingFault></bpelFault>
    The docs says I need to add an Outbound Connection Pool to to SOA DbAdaptor in WebLogic. The problem is I can’t seem to make my changes take effect. This is the same error recorded here:
    BPEL DB adapter
    The problem is when trying to change the property, xADataSourceName, the changes don’t take effect. I also notice that in our test environment I get a dialog box to change the deployment plan. On my local WLS, I don’t get this dialog box. Either way the changes to xADataSourceName will not take effect.
    There must be a simple solution, I just don’t see it.
    Any help is greatly appreciated.
    Regards,
    Mark
    Edited by: M Peterson on Jul 15, 2010 5:33 AM

    When you enter the xADataSourceName property, did you hit enter on the field? If you simply tab off the field and hit save changes without hitting the enter key then it doesn't record the change to the property.

  • SOA Database Adapter error in 11g

    Hi All,
    Created BPEL process in 11g that invokes a UPDATE functionality on Database Adapter in Jdeveloper 11g. Using XA database ......
    Getting following error.
    *<fault>*
    *<bpelFault>*
    *<faultType>*
    *<message>0</message>*
    *</faultType>*
    *<bindingFault>*
    *<part name="summary">*
    *<summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'update' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. Project1:UpdateDBAdapter [ UpdateDBAdapter_ptt::update(CreditcardinfoCollection) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='jdbc/soademoDatabase'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to jdbc/soademoDatabase. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary>*
    *</part>*
    *<part name="detail">*
    *<detail>JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='jdbc/soademoDatabase'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to jdbc/soademoDatabase. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server </detail>*
    *</part>*
    *<part name="code">*
    *<code>null</code>*
    *</part>*
    *</bindingFault>*
    *</bpelFault>*
    *</fault>*
    What must be going wrong ?
    Thanks
    pp

    Check whether dbadapter application is deployed on the Weblogic. If it is already deployed, then update it once and try again.
    Regards,
    Anuj

  • JDeveloper 11g Errors Editing BPEL Database Adapter

    I am encountering problems editing Database Adapters in a BPEL based Service Composite Application in JDeveloper. Specifically,
    * double-clicking an existing Database Adapter component to view/edit it generates an uncaught exception in the GUI
    * clicking Next through the wizard proceeds to the next step but the view showing the
    SQL select criteria and input parameters doesn't return the original values set when the
    adapter was first created -- a second NPE is logged at that time
    Here are the specifics of what's running:
    * host for JDeveloper is a Windows7 Home Premium 64-bit (version 61. build 7601 SP 1) PC with 8GB RAM
    * JDeveloper 11.1.1.5 (the SOA / WebCenter version)
    * the c:\OracleMW directory has JDK 6.0.24 installed
    * the Windows machine does have Java EE JDK 7 installed but JDeveloper uses the JDK inside c:\OracleMW
    * while running, JDeveloper is using around 274M of memory
    * database hosting the SOA meta data store and the desired DB of the adapter is 11g (11.2.0.1.0)
    * database is up, reachable and healthy while attempting to edit the Adapter component
    Here is the exact error encountered and the stack trace:
    GUI popup = An unexpected error has occurred in JDeveloper. The program may be unstable, which could result in data loss. Decide how you want to proceed and click OK.
    Details = Uncaught exception
    java.lang.NullPointerException
    o.tip.tools.ide.adapters.designtime.adapter.xr.util.SQLRefresher.run(SQLRefresher.java:118)
    j.lang.Thread.run(Thread.java:662)
    If you click on ignore / continue and proceed through the steps of the Wizard, when the Define Selection Criteria step appears, the original criteria and input parameters defined when the adapter was first built are not displayed and the "Feedback - Log" tab in the log windows registers another entry of:
    Previously reported error [NPE in o.tip.tools.ide.adapters.designtime.adapter.xr.util.SQLRefresher:118]
    Also, if you go through the motions of adding a new parameter variable in the top section of the dialog, after clicking OK, the dialog DOES suddenly display the original variables defined as input parameters.
    Thinking this is a symptom of JDeveloper trying to run in too little memory, I have attempted to increase the max memory setting of JDeveloper to 1024M by adding this line
    AddVMOption -Xmx1024M
    in
    c:\OracleMW\JDeveloper\jdev\bin\jdev.conf
    I've also tried adjusting that same setting in the config file for the IDE itself at
    c:\OracleMW\JDeveloper\ide\bin\ide.conf
    and get the same result. (Subsequent review of properties in About JDeveloper shows that JDeveloper uses the jdev.conf file, not the ide.conf file FWIW.) Memory really shouldn't be a problem because I'm still new to SOA style development and the "application" involved is a very simple "HelloSOA" type service that just sets a couple of BPEL variables, transforms some input variables into variables passed to this Database Adapter, does a few more Transform operations for the DB result values to the reply values and sends the reply.
    However, one other sign that memory utilization could be contributing to this is that periodically, switching to the "Source" view of the composite.xml file or the BPEL process file will lock the GUI up for about 35 seconds with nothing happening. An obvious sign of garbage collection gettng triggered.
    Any suggestions?

    Oracle has identified a fix added to newer versions of JDeveloper which corrected these NullPointerException errors encountered using the 11.1.1.5 version of JDeveloper. That fix had not be propagated back to the 11.1.1.5 version but subsequently HAS been ported back. The fix is associated with patch ID 12670305 which can be downloaded from http://support.oracle.com by searching for that bug ID then downloading the associated ZIP file. I've applied the patch to JDeveloper 11.1.1.5 running on Windows7, Vista 32-bit and LINUX 64-bit and it works like a champ on all three platforms.

  • 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

  • Oracle Discoverer 4i (portal db - oracle 8i) connectivity issue with 11g database

    Hi All
    We have oracle discoverer 4i with portal db (oracle 8i).
    We connect to the external databases using db links in the portal db and the reports will use the db link to retrieve the data from views in the external databases.
    External databases we were connecting is oracle 10g version and now we have upgraded these databases to 11g version.
    Now i have a created a new db link to this 11g database and i have created a new EUL in portal to connect to this 11g database.
    But when i try to create a report using the discoverer from this new EUL after login to the discoverer we get a "cannot connect to database" error.
    We have all the necesscary privilege to the user and the new database link works perfectly fine. (when we try to query directly using SQL plus from portal database using this db link the query works perfectly fine).
    Im not sure if this is a compatibility issue in connecting from oracle disc 4i to a 11g database.
    Can any one advise if this is the case and if there is any workaround for this?
    Regards,
    Raj

    Are you saying you are having issues with a database link between 8i and 11g (pl post exact versions to 4 digits) ? If so, it should be expected as database links between these two versions are not supported. Is there a reason you cannot upgrade the portal database to at least 10gR2 ?
    See MOS Doc 207303.1
    HTH
    Srini

  • 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''';

  • 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.

  • Issue in Connecting to Oracle 11g Database

    Hi,
    I have installed Oracle 11g database using loopback adapter. (used ip 10.10.10.10). In the drivers file did the following entry
    ipaddress computername.domainname.com computername
    How can I connect to this database from other computer in the network ex:using sqldeveloper? (When I try it says "Network adapter couldnt establish the connection")
    Thanks,
    Ramesh

    from other computer in the network Oracle version on that computer ?
    Did you configure a connection string on that computer ? If so, please post your tnsnames.ora. If not, what did you do exactly ?
    Also, from the server post the result of "lsnrctl stat".

Maybe you are looking for