Personalization form - stored procedure call in the form library.

Let's say we have a form: OEXOEORD.fmb (sales order form)

Using Form Builder to open it, we see that it connects to other libraries PL/SQl, such as OEXOELIN (file: OEXOELIN.pll)

and there are several stored procedures in OEXOELIN.

is that possible in the customization of the form of good sales of command (OEXOEORD.fmb)

call us a procedure in the OEXOELIN library? for example: we call procedure OE_LINE_SHIPPING.packing_insruction in the OEXOELIN library?

I tried to use the Builtin FORMS_DLL or "Execute procedure", but does not work.

We use the R12.

the solution we found is:

(1) use the form customization to call a custom library

(2) custom library calls the forms library

Tags: Oracle Applications

Similar Questions

  • In a table - looping through the rows and the stored procedure call

    APEX version: 3.2.0.00.27

    Hello

    I searched the forum and tried a few things but could not make it work.

    I have a tabular presentation, developed with the help of the ATD (Cascading LOV - method of tabular presentation - AJAX - ATD )

    What I'm trying to do now:
    -After submit and validations, loop through all the lines and
    -call a stored procedure passing 3 parameters obtained from each of the lines on the form of tables. This procedure will be an update of a database table.

    On the forum, I found that I could do the loop "* FOR i IN 1..." APEX_APPLICATION.g_f03. "LOOP COUNT *" syntax.

    Only for testing purposes, I tried just to view information with the following (On Load - after a footer) process (example of Denes Kubicek == > http://deneskubicek.blogspot.com/2009/05/execute-javascript-throuhg-plsql.html):
    declare
      v_today  varchar2 (200);
    begin
    --  :P40_test := APEX_APPLICATION.g_f03(1);
    --  :P40_test2 := APEX_APPLICATION.g_f04.COUNT;
      :P40_test2 := 100;
    
      v_today := to_char (sysdate, 'dd.mm.yyyy');
    
    --FOR i IN 1.. APEX_APPLICATION.g_f03.COUNT LOOP 
    
      :P40_test := APEX_APPLICATION.g_f02(2);
    
      HTP.p ('<script type="text/javascript">');
      HTP.p (   'alert(''Today is '
              || v_today
    --          || APEX_APPLICATION.g_f04(APEX_APPLICATION.g_f03(i))
              || '.\n'
              || 'end!'');'
             );
      HTP.p ('</script>');
    
    --    :P40_test := APEX_APPLICATION.g_f02(APEX_APPLICATION.g_f02(i));
    
    --END LOOP;
    
    end;
    The foregoing would give me a ' * ORA-01403: no data found * ' message. I tried through various variants of APEX_APPLICATION.g_f0* #*, but still can't get anything to display correctly. In commenting on all the lines referring to APEX_APPLICATION.g_f0x above, the date would be are they displayed fine.

    I tried uncomment the FOR... LOOP and play with the code (defining the process runs "On submit - after calculations" and Validations), I got was a ' * ORA-06502: PL/SQL: digital error or value: character conversion number error * "message.

    Here is the script of the form in a table:
    select 
    "V"."MSLINK",                                       -- hidden (number)
    "V"."INSTALLATION_DATE",                        -- editable date picker
    "V"."MANUFACTURER_INDICATOR",              -- editable (cascading LOV -- text)
    "V"."MODEL_INDICATOR",                           -- editable (cascading LOV -- text)
    "V"."DIAMETER_INDICATOR",                      -- editable (LOV -- number)
    "V"."PURPOSE_INDICATOR",                        -- editable (LOV -- text)
    "V"."VALVE_NUMBER",                                -- shown but not editable -- number
    "V"."MODIFY_DATE",                                  -- shown but not editable
    "V"."MODIFY_USER",                                   -- shown but not editable
    "V"."VALVES_STYLE"."FEATURE"                  -- shown but not editable -- number
    from "#OWNER#"."VALVES" "V"
    Where
      "V"."PROJECT_ID" = :P1_PROJECT_NUMBER AND
      "V"."VALVES_DFLAG" = 0
    Regarding the parameters for the stored procedure, it would the MSLINK, VALVE_NUMBER and the VALVES_STYLE. FEATURE.

    Help, please!
    (Sorry for the long post).

    Thank you

    Tan

    Hi, Tan,

    I have not seen that type of object - I've only used custom types for purposes of test years ago and have never used their within Apex!

    One possibility is that the value of checksum being is based on all of the content of these fields, rather than only the part of the FEATURE. If there are other parts of the object, you could include those items as well.

    Otherwise, as you f01 KP for a record, you will need to retrieve the values of the FUNCTION in your PL/SQL code directly from the table (because the user cannot modify these fields, you can be sure that the values in the table will be still valid).

    Andy

  • Use the stored procedure to create the data model for the bi publisher report

    Hi all

    Can we use stored procedure to create the data model for BI Publisher reports? I did find an example by using the stored procedure to complete the data model in the bi publisher report.

    Thank you

    Virat

    Check out these links

    BI publisher to use the stored procedure
    Re: Stored procedures and dynamic columns
    Re: Is it possible to use stored procedures in BI Publisher GUI?
    Re: PL/SQL stored w / model XML?

    If brand pls help

  • The stored procedure call Fail

    I don't know that this is probably a simple answer, but please bear with me.

    I have a page

    defaulredirect.asp

    It receives form default.asp variables'

    I need to use form variables in my stored procedure. My procedure works fine in SQL, but when I try to add it as a command, it does not work.

    I'm not sure what I'm doing wrong. I am not sure what details you need. Please be patient with me.

    The procedure inserts the form in table variables and returns the identifier of the newly created (identity) for later use in my application.

    Your stored procedure has 7 settings, but you have created 8 in your asp code? What is 'cmdInsertRecord.CreateParameter ("@RETURN_VALUE", 3, 4) '?  I see that in your stored procedure. The parameters, including the order of their creation, must match exactly.  I've never used a type of return value so I don't know how it is used. I'll research, but in the meantime, try to comment on this possibility and see if it runs.

  • Return more than an OUT parameter of the stored procedure called in sql

    I searched for it, but maybe that I did a good job. I would return two parameters of a stored procedure that is called from an sql query. Something like
    select my_proc(in_param) from dual
    When the results of the query will return 2 columns. It is guaranteed in my design in order to return only a single record.

    Is this possible?

    The version of Oracle that I use is:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bi
    PL/SQL Release 10.2.0.2.0 - Production
    "CORE     10.2.0.2.0     Production"
    TNS for Linux: Version 10.2.0.2.0 - Production
    NLSRTL Version 10.2.0.2.0 - Production

    Is this possible?

    Laughing out loud
    You can not call a stored SQL procedure. Only functions can be called from SQL.

  • The JNI in Java, stored procedure call

    Dear,
    I want to know how to call stored procedure JNI Java. How to configure my java.library.path in Oracle to get a specific directlry containing DLLs file inorder to System.loadLibrary ("< dll_file_name >");

    Not sure if I'm on the right track, but it seems that Oracle does not support JNI.

    http://download.Oracle.com/docs/CD/B19306_01/Java.102/b14187/chthree.htm#CACFCDJF


    Oracle database does not support the use of JNI in Java applications. If you use JNI, then your application is not 100% pure Java and native methods need porting between platforms. Native methods can result in a server crash, violating the security and corrupted data.

  • Procedure call returns the result above tag &lt; head &gt;...

    Hi, we have an APEX 4.1 application that makes a call to a package in the same scheme of #OWNER #. When we submit the form it is placing the result before the < html > tag as follows...

    = START OF EXAMPLE =.
    -----
    & lt; FRONT >
    Execution timestamp: 07/19/2012-11: 45:17



    Execution of General billing information / settings

    Shared application bytes - 250,000,000



    Content-type: text/html; charset = utf-8

    < html lang = "" en - us "xmlns:htmldb ="http://htmldb.oracle.com">"
    < head >
    -----
    = END OF EXAMPLE =.

    As you can see the page begins to make before the HTML tags and HEAD and then cuts without showing the rest of the report. Here is an example of what the back looks like at this we call the proc from outside of the APEX. It is simply wrapped text in & lt; PRE & gt; Tags.

    = START OF THE RACE WITH SUCCESS OUTSIDE OF THE APEX =.
    -----
    Execution timestamp: 07/19/2012-11: 46:27



    Execution of General billing information / settings

    Shared application bytes - 250,000,000


    18B29CAR 1 786,84 BIS MEGABYTE ORA ENV - ARCHIVES DEATH / MARRIAGE DB
    18B29CAR 3 750,00 MEGABYTE BIS ORA ENV - ARCHIVES - PARTY GIS
    18B14AMH 9 950,00 MEGABYTE BIS ORA ENV - AS - A REPOSITORY
    18B14AMH MO 408,349.78 BIS ORA ENV - ENTERPRISE INFORMATION SYSTEM
    18B18BBIS 86 914,07 MEGABYTE BIS ORA ENV - GIS SDE ENTERPRISE DB
    18B18BBIS 13 873,26 MEGABYTE BIS ORA ENV - BILLING OF THE ILO
    18B10AHW MO 1,891,328.54 BIS ORA ENV - ACES ONLINE
    18B10AHW MO 1,604,209.76 BIS ORA ENV - CHILD SUPPORT ENFORCEMENT-ME
    18B10AHW MO 198,604.83 BIS ORA ENV - DHHS DATA HUB2
    ...
    -----
    = END OF RACE WITH SUCCESS OUTSIDE OF THE APEX =.


    I suspect that the truncated back is because it is rendered before the heading tags, so my question is, how do I specify where this statement should be displayed on a page of the APEX? In addition, if you know that the trucation that happens for any other reason please notify.

    -Charlie

    >

    I built a form using 'Decision on form' and select the procedure I want to model form.
    I then added a dynamic region of PL/SQL code on the same page and place the following code in the field "source."

    This is the section of the error in the debug output

    0.13640 0.00088 Processes - point: AFTER_SUBMIT 4
    0.13728 0.00304 ...Process "Run Stored Procedure" - Type: PLSQL 4
    0.14032 0.01939 ...Execute Statement: begin BISDBA.DATABASE_USAGE_PKG.MONTHLY_BILLING( I_MONTH => :P30_MONTH, I_YEAR => :P30_YEAR, I_DISPLAY_FULL_REPORT => :P30_DISPLAY_FULL_REPORT, I_POPULATE_BILL_HIST_TAB => :P30_POPULATE_BILL_HIST_TAB, I_INTERFACE => :P30_INTERFACE); end; 
    

    You run BISDBA. DATABASE_USAGE_PKG. MONTHLY_BILLING as long as the two post-submit page ('decision on form') and as a region of PL/SQL code dynamic process on the page?

    If so, this would explain the weird stuff appearing before the correct page...

    Try disabling the process to Submit after "Execute the stored procedure"- and any reset/clear cache process or guidelines of branch that erases the P30_MONTH etc the parameter elements - so that BISDBA. DATABASE_USAGE_PKG. MONTHLY_BILLING is called only in the dynamic PL/SQL region.

    I was told only no change packages. management should be a direct transplant of the UI and it seems to be to prove otherwise.

    Quite likely. If you have a 'framework' that produces HTML pages complete (i.e. with html, head and body elements); generates HTTP headers; or didn't finish the separation of processing and display the concerns then you should expect problems.

    However, although I still think that the various aspects of 'framework' of your packages will cause problems of rendering when used the apex, the existence of this modular framework should allow to reduce to a minimum the required changes. First replace the debug code with calls to APEX_DEBUG_MESSAGE API, which will provide debugging information without disrupting the page rendering.

    This could be due to the use settings exstensive Boolean throuough code? Just a thought.

    N °

  • IPCC Express Premium supports stored procedure calls

    IPCC expresses premium version support database features get information from databases odbc by calling stored procedures? The customer does not want that all custom sql queries with access, we are only allowed to use existing stored procedures.

    Yes, there is a post in March that describes what you need to do. I am currently using stored procedures with a SQL DB client and it works very well. I don't have to add custom tables that correspond to the stored procedure output well.

    http://forums.Cisco.com/eForum/servlet/NetProf?page=NetProf&type=EmailAFriend&CommCmd=MB%3Fcmd%3Dpass_through%26location%3Doutline%40%5E1%40%40.1ddd8f26%2F2#selected_message

    Mike

  • Double games of results returned on stored procedure call

    Hello

    I have a stored procedure created Java and called using the Spring JDBC using StoredProcedure class, stored procedure returns duplicate rows, is this a known problem?

    When I run the stored procedure even in DBVizualiser it not show correctly.

    The class below is used to execute the stored procedure:

    public class CustomerSearchProcedureRunner extends StoredProcedure {
     public CustomerSearchProcedureRunner(JdbcTemplate jdbcTemplate) {
      super();
      this.setJdbcTemplate(jdbcTemplate);
      this.declareParameter(new SqlReturnResultSet(RETURN_RESULTS, new CustomerRowMapper()));
      this.declareParameter(new SqlParameter(CUST_SP_IN_PARAM, Types.VARCHAR));
      this.setSql("{CALL INSURANCE.SEARCHCUSTOMER (?) ON ALL}");
      this.setSqlReadyForUse(true);
      this.compile();
     }
    }
    


    and Java Stored Procedure that runs SQLFire is given below:

    public class CustomerSearchProcedure {
     
     private static final String DOLLAR = "\\$";
     private static final String COLON = ":";
     private static final String CUST_NAME = "CUST_NAME";
     private static final String CUST_NO = "CUST_NO";
     private static final String GENDER = "GENDER";
     
     
     public static void searchCustomer (String customers, ResultSet[] outResults,
       ProcedureExecutionContext context) throws SQLException {
      StringBuilder sql = new StringBuilder();
      StringBuilder whereCondt = new StringBuilder();
      String[] tokens = new String[]{};
      
      if (customers != null && customers.trim().length() > 0) {
       tokens = customers.split(DOLLAR);
      }
      
      sql.append("<global>SELECT * FROM INSURANCE.CUSTOMERS ");
      whereCondt.append("WHERE CUST_PRIMARY IN ('Y', 'N') ");
      // Apply dynamic where condt
      for (int i=0; i < tokens.length; i++ ) {
       String token = tokens[i];
       if (token.startsWith(CUST_NO)) {
        if (whereCondt.length() > 0) {
         whereCondt.append(" AND ");
        }
        whereCondt.append("CUST_NO = " + token.substring(token.indexOf(COLON)+1));
       }
       if (token.startsWith(CUST_NAME))  {
        if (whereCondt.length() > 0) {
         whereCondt.append(" AND ");
        }
        whereCondt.append("CUST_NAME LIKE '"+ token.substring(token.indexOf(COLON)+1).trim() + "%'");
       }
       if (token.startsWith(GENDER)) {
        if (whereCondt.length() > 0) {
         whereCondt.append(" AND ");
        }
        whereCondt.append("GENDER ='"+ token.substring(token.indexOf(COLON)+1).trim() + "'");
       }
      } //End of for
      
      if (whereCondt.length() > 0) {
       sql.append(whereCondt.toString());
      }
      
      Connection cxn = context.getConnection();
      Statement stmt = cxn.createStatement();
      ResultSet rs = stmt.executeQuery(sql.toString());
      outResults[0] = rs;
     } //END OF METHOD
    }
    

    A correction preceding: "for the case on the information in the TABLE of the DataSet to be targeted on each node is also sent for the tag requests will target only this dataset (and avoids duplicates).»

    should read "in the case of on TABLE query Tags will only target the local primary data on the node for tables partitioned, while for replicated tables, it is sent to only one of the lines (and so avoids duplicates in both cases).» WHERE clause to TABLE is not used for cutting data only for the size of the set of nodes to the target.

    The tag prunes yet the query to all of the local primary buckets in all cases (i.e. which WE ALL and on GROUPS of SERVERS) so the comment about and equivalent was incorrect. However, this will always be looking for data in duplicate for replicated tables and TABLE is the only way to avoid it for now.

  • Function of stored procedure defined by the user of the appellant

    Hi all -

    I am trying to call a function defined by the user of a stored procedure. I'm using something like
          IF condition1 THEN
               function1(param1, param2);
         END IF;
    the above is correct.

    I have PLS-00221 function1 is not a stored procedure or is not defined?

    Well, if it is a function, you will need to assign its result value in a variable.

    Like this:

    DECLARE some_variable [of the right datatype];
    ...
     IF condition1 THEN
            some_variable := function1(param1, param2);
     END IF;
    
  • SQL Server, stored procedure call error

    Using the JDBC Service to call a stored procedure causes an error. A simple statement execution using SQL that connects on the same SQL database server works as expected.

    CALL PAF_SAVE_FORMDATA (?,?)

    At the call of my approach, I refer the following error below. Any help would be appreciated.

    ALC-DSC-005-000: com.adobe.idp.dsc.DSCNotSerializableException: no serializable
    Caused by: ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: internal error.
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute (EjbTransactionProvi der.java:207)
    at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute (DefaultTransactionT emplate.java:79)
    at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.handleFault (WorkflowDSCInvoker.java:752)
    at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.transientInvoke (WorkflowDSCInvoker. java: 366)
    at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.invoke(WorkflowDSCInvoker.java:157)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept (InvocationInterceptor. java: 140)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed (RequestInterceptor ChainImpl.java:60)
    to com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$ 1.doInTransaction (Transa ctionInterceptor.java:74)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute (EjbTr ansactionCMTAdapterBean.java:342)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:284)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionCMTAdapter_ caf58c4f.doRequiresNew (unknown Source)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute (EjbTransactionProvi der.java:143)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept (TransactionInt erceptor.java:72)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed (RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept (InvocationStra tegyInterceptor.java:55)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed (RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept (InvalidStateIntercep tor.java:37)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed (RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept (AuthorizationInterc eptor.java:132)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed (RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed (RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
    at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:118)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke (AbstractMessageReceiv er.java:315)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall (SoapSdkEndpoint. java: 138)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke (SoapSdkEndpoint.java:81)
    at sun.reflect.GeneratedMethodAccessor178.invoke (unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
    at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1087)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
    at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter (InvocationFilter.java:43)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter (FilterInstanceWrapper.java: 190)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:837)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:680)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:588)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:524)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest (CacheServletWrapper.jav one: 90)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:751)
    at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:125)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination (HttpInboundLink .java:458)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation (HttpInboundLink .java:387)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators (NewConn ectionInitialReadCallback.java:214)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete (NewConnectionInitia lReadCallback.java:113)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted (AioReadCompletionLi stener.java:165)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    to com.ibm.io.async.AsyncChannelFuture$ 1.run(AsyncChannelFuture.java:205)
    to com.ibm.ws.util.ThreadPool$ Worker.run (ThreadPool.java:1497)
    Caused by: com.ibm.websphere.csi.CSITransactionRolledbackException: rollbackonly marked Transaction
    at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:200)
    at com.ibm.ejs.csi.RequiresNew.postInvoke(RequiresNew.java:93)
    at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:581)
    at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3986)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionCMTAdapter_ caf58c4f.doRequiresNew (unknown Source)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute (EjbTransactionProvi der.java:143)
    ... more than 65

    at com.adobe.idp.dsc.provider.impl.base.AbstractResponseHolder.handleException (AbstractRespo nseHolder.java:136)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkBindingStubUtil.deSerializeResponse (SoapSdkBindingStubUtil.java:122)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.doSend (SoapAxisDispatche r.java:128)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send (AbstractMessageDispat dear .java: 57)
    at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
    at com.adobe.common.utils.invoke.InvokeWithProgressRunner.invokeServiceOperation (InvokeWithP rogressRunner.java:170)
    at com.adobe.common.utils.invoke.InvokeWithProgressRunner.run (InvokeWithProgressRunner.java: 97)
    to org.eclipse.jface.operation.ModalContext$ ModalContextThread.run (ModalContext.java:113)

    The call should be at {} as {CALL PAF_SAVE_FORMDATA (?,?)}

    did you?

    Nith

  • Basic stored procedure helps - not the return data

    Hi all:

    To be fair, I come from a SQL Server environment and have never written anything for PL/SQL / Oracle before, this is my first attempt, so if nothing is better or more effective, please let me know. The immediate problem I'm having is, I have the following stored procedure, and all I want to do is return the data in the table, so that I can fill my DataSet in code. But when I run the code against this stored procedure, it still don't bring back any data (if I just do a standard "SELECT * FROM lkAllocation", I get the results, so I know data are there and the connection is good). If execution of the procedure in my window in Oracle SQL Developer (call PAYSOL.spallocationselectall ();), my results displays no data as well. What is the problem with this stored procedure?


    create or replace
    PROCEDURE spAllocationSelectAll IS
    Whole AllocationID;
    AllocationName Varchar2 (50);

    BEGIN
    AllocationID: = 0;
    AllocationName: = ";

    SELECT
    AllocationID,
    AllocationName
    IN
    AllocationID,
    AllocationName
    Of
    lkAllocation
    ORDER BY
    AllocationName;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    NULL;
    WHILE OTHERS THEN
    -Consider recording the error and then re-raise
    LIFT;
    END spAllocationSelectAll;

    Well, I'm not really in .net (I would participate in another forum so ;)), but this might be useful?

    Value (Oracle.DataAccess.Types)      System.Data.DbType      OracleDbType
    OracleRefCursor      Object      RefCursor
    

    http://download.Oracle.com/docs/CD/B19306_01/win.102/b14307/featOraCommand.htm#g1025379
    http://download.Oracle.com/docs/CD/B19306_01/win.102/b14307/featOraCommand.htm#g1025072

    Perhaps the [forum Windows and .net | http://forums.oracle.com/forums/category.jspa?categoryID=44] is worth a try as well.

  • stored procedure and in the app engine peoplecode

    Hey all,.
    I want to call a stored procedure in peoplecode using sqlexec. I guess that the syntax is correct.
    SqlExec ("exec sp_name');

    My question is
    the peoplecode will wait until the end of the stored procedure?
    or
    is it just to send the command to the database to run the stored procedure and continue following the instructions after the exec sql.

    Please let me know if I'm not better explain and need an example.

    Please help me.
    Thank you.

    «.. . "will be the peoplecode wait for the completion of the stored procedure.
    Yes.

    Nicolas.

  • How to run a stored procedure by using the steps in database?

    Hello

    I'm trying to run some procedures of the store and it will not work.

    See the file attached is seq.

    I have a varchar parameter (50), which must also be provided to the stored procedure and it returns an int.

    To do this I had to only use data in an open statement

  • SQL dynamic stored procedure call

    I want to run the following command (which I build dynamically) to pl/sql, stored procedure, but I get the error message
    How can I run this command from pl/sql after I built it dynamically?


    exec RESEND_MISSING_UFMS (June 5, 13 04.00.00.000000000 AM ', June 6, 13 04.00.00.000000000 AM', 'VPS'); < < works very well on the sql prompt.


    create or replace procedure tranhost.ufm_resubmit
    AS
    v_time1 varchar2 (50);
    v_time2 varchar2 (50);
    cmd_str1 varchar2 (100);
    cmd_str2 varchar2 (100);

    BEGIN
    Select to_char (sysdate-1,' MON-JJ-AA "") in the double v_time1;
    Select to_char(sysdate,'DD-MON-YY') in the double v_time2;

    -next fails with ORA-00900: invalid sql statement.

    immediately run "exec RESEND_MISSING_UFMS('''||) v_time1 | "04.00.00.000000000 AM","' | v_time2 | ("04.00.00.000000000 AM VPS",""); " ;

    END;
    /
    CREATE OR REPLACE PROCEDURE tranhost.ufm_resubmit
    AS
       v_time1    VARCHAR2 (50);
       v_time2    VARCHAR2 (50);
       cmd_str1   VARCHAR2 (100);
       cmd_str2   VARCHAR2 (100);
       var_sql    VARCHAR2 (300);
    BEGIN
       SELECT TO_CHAR (SYSDATE - 1, 'DD-MON-YY')
         INTO v_time1
         FROM DUAL;
    
       SELECT TO_CHAR (SYSDATE, 'DD-MON-YY')
         INTO v_time2
         FROM DUAL;
    
    -- follownig fails with ORA-00900: invalid sql statement .
       var_sql :=
             'BEGIN RESEND_MISSING_UFMS('''
          || v_time1
          || ' 04.00.00.000000000 AM'','''
          || v_time2
          || ' 04.00.00.000000000 AM'',''VPS''); END;';
       DBMS_OUTPUT.put_line (' Block :' || var_sql);
    
       EXECUTE IMMEDIATE var_sql;
    END;
    

Maybe you are looking for

  • frozen time

    Hello! When I do a movie recorded with my iPhone 6 s on my macbook pro, the clock remains frozen at 09:41 (even if I started recording at 12 for example) during the entire video. I couldn't find any answer for this one. And the wifi logo is always en

  • update of slate image 7

    No image android update on the Web site. It shows that win 7.  I thought. only it had android I ned v1.05.14_user

  • How to transfer a document from my hotmail to my skydrive?

    Suppose I have a mail or a photo or a document in my Hotmail Inbox and I want to record in my skydrive, what is the method to do? At the present time, I do not see any help in this regard. My question is should it be continuous transfer between her h

  • blue screen and restarting the round due to the update of windows

    Windows Update-Configuring updates step 3 of 3... 0%* Blue *.* restart *.Configuring updates step 3 of 3... 0%* Blue *.* restart *. stuck in a death spiralsafe mode, says I need to enter the command ' rstrui.exe / OFFLINE:C:Windows.to get to the syst

  • Blue screen of death (BSOD)

    I've known BSOD on my machine and I downloaded the last dump file. Please find the link below. https://onedrive.live.com/redir?RESID=721DFE92F24FDAF1! 122 & authkey =! AGEk71DsjEJqbDU & ithint = the file % 2cdmp