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

Tags: Cisco Support

Similar Questions

  • Fact DW CS5.5 support stored procedures w / MySQL 5?

    I created a MySQL stored procedure and I would like to call the procedure via DW CS5.5.  Unfortunately, when I refer to the DB compared to the breast of DW, the stored procedure does not appear.  Please notify.  Thank you.

    Dreamweaver CS5.5 does not support MySQL's stored procedures.

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

  • 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

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

  • 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

  • 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

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

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

  • Oracle stored procedure call

    Codes following regularities when it was run in sqlplus.

    DECLARE
    P_COM_ID VARCHAR2 (30);
    P_STATION VARCHAR2 (30);
    P_TYPE VARCHAR2 (99);
    NUMBER OF P_YEAR;
    NUMBER OF P_MONTH;
    NUMBER OF P_DAY;
    NUMBER OF P_HOUR;
    NUMBER OF P_MINUTE;
    DATE OF P_RECEIVED;

    BEGIN
    P_COM_ID: = 'XOX ';
    P_STATION: = '4064149';
    P_TYPE: = 'SA ';
    P_YEAR: = 2006;
    P_MONTH: = 1;
    P_DAY: = 2;
    P_HOUR: = 0;
    P_MINUTE: = 0;
    P_RECEIVED: = to_date ('2006-01-02 08:01:10 ',' yyyy-mm-dd hh);

    INGEST. REINSERT_OLD_HLY_INGEST_ROW (P_COM_ID, P_STATION, P_TYPE, P_YEAR, P_MONTH, P_DAY, P_HOUR, P_MINUTE, P_RECEIVED);
    COMMIT;
    END;

    However, when I called the procedure in coldfusion mx7, nothing seemed to happen.
    Codes of coldfusion are:

    < cffunction name = "f_reinsertOldHlyIngest" display = "f_reinsertOldHlyIngest" access = "public" returntype = "string" output = "false" >
    < name cfargument = "raw_com_id" required = "true" type = "string" >
    < name cfargument = "raw_station" required = "true" type = "string" >
    < name cfargument = "raw_struct_type" required = "true" type = "string" >
    < cfargument = "raw_Year" required = "true" name type 'number' = >
    < cfargument = "raw_Month" required = "true" name type 'number' = >
    < cfargument = "raw_Day" required = "true" name type 'number' = >
    < cfargument = "raw_Hour" required = "true" name type 'number' = >
    < cfargument = "raw_minute" required = "true" name type 'number' = >
    < cfargument = "date_time_received" required = "true" type = "name" >

    <! - grab any data basic error that could occure - >
    <! - declare a bunch of variables when necessary - >
    <! - grab any data basic error that could occure - >
    <!--> arguments.date_time_received channel change
    < cfset date_time_received = ' to_date ('"& arguments.date_time_received &" ',' yyyy-mm-dd hh) ">".
    < cftry >

    < cfset DB_ERROR_MSG = "" >

    <! - statement SQL/PL, which inserts a name record is called - >
    "< procedure ="INGEST.reinsert_old_hly_ingest_row cfstoredproc"datasource =" #this.datasource #
    "username =" "#This.username #" password = "#this.password # ' returncode ="no">
    < cfprocparam type = 'in' cfsqltype = "cf_sql_varchar" maxlength = "30" value = "" #arguments.raw_com_id # "null ="yes">"
    < cfprocparam type = 'in' cfsqltype = "cf_sql_varchar" maxlength = "30" value = "' #arguments.raw_station # ' null 'no' = >"
    < cfprocparam type = 'in' cfsqltype = "cf_sql_varchar" maxlength = "9" value = "' #arguments.raw_struct_type # ' null 'no' = >"
    < cfprocparam type = 'in' cfsqltype = "cf_sql_numeric" value = "' #arguments.raw_year # ' null 'no' = >"
    < cfprocparam type = 'in' cfsqltype = "cf_sql_numeric" value = "' #arguments.raw_month # ' null 'no' = >"
    < cfprocparam type = 'in' cfsqltype = "cf_sql_numeric" value = "' #arguments.raw_day # ' null 'no' = >"
    < cfprocparam type = 'in' cfsqltype = "cf_sql_numeric" value = "' #arguments.raw_hour # ' null 'no' = >"
    < cfprocparam type = 'in' cfsqltype = "cf_sql_numeric" value = "' #arguments.raw_minute # ' null 'no' = >"
    < cfprocparam type = 'In' cfsqltype = "CF_SQL_VARCHAR" value = "#preservesinglequotes (date_time_received) ' # ' null 'no' = >"
    <!-< cfprocparam type = 'In' cfsqltype = 'CF_SQL_DATE' value = "#CreateODBCDateTime (arguments.date_time_received) ' # ' null 'no' = >->"
    < / cfstoredproc >

    < cfcatch type = "DATABASE" >
    < cfset DB_ERROR_MSG = '#CFCATCH. DETAIL #">"

    < / cfcatch >

    < / cftry >
    < cfif DB_ERROR_MSG NEQ "" > "".

    < cfset BD_ERROR_MSG = "update of the database has failed!" >


    < cfelse >

    < / cfif >
    < cfreturn DB_ERROR_MSG >
    < / cffunction >

    Any help would be appreciated. Thank you.

    Thanks Phil,

    "We have coded to_date ('" & arguments.date_time_received & "","yyyy-mm-dd hh) ' in the procedure pl/sql and just past the date_time_received in format CF_SQL_TIMESTAMP and the problem is solved. Thank you.

    Lisa

  • IPCC Express Premium Script question

    I made the script that records the message of the appellant on the disk and that it plays to the agent when it is available. But if another caller left the message that the new replaces the old. How to set the variable in order to overcome this problem?

    THX

    There are referential holiday Cisco Script script, which will show you how to read the current date to convert to string.

    Wei

  • NullPointerException when calling stored procedure

    I have the stored procedure

    create or replace PROCEDURE GREETING_PROC

    (

    TEXT_PARAM IN VARCHAR2

    MSG_TEXT VARCHAR2 OUT

    ) AS

    BEGIN

    MSG_TEXT: = "Hello" | TEXT_PARAM;

    END;

    My stored procedure call method

    public class UserBean {}

    public UserBean() {}

    Super();

    }

    Public Shared Sub main (String [] args) {}

    UserBean userBean = new UserBean();

    userBean.callP ();

    userBean.callStoreProcedure ();

    }

    public void callStoreProcedure() {}

    CallableStatement st = null;

    SysUser SysUserEOImpl = new SysUserEOImpl();

    try {}

    String sql = "BEGIN GREETING_PROC (: TEXT_PARAM,: MSG_TEXT); END; « ;

    St = sysUser.getDBTransaction () .createCallableStatement (sql, sysUser.getDBTransaction (). DEFAULT VALUE);

    st.setObject ("TEXT_PARAM", "Scoot");

    st.registerOutParameter ("MSG_TEXT", Types.VARCHAR);

    St.Execute ();

    System.out.println ((String) St.GetObject ("MSG_TEXT"));

    } catch (SQLException e) {}

    throw new Aexception.getLocalizedMessage (e);

    }

    }

    then I got an exception:

    Exception in thread "main" java.lang.NullPointerException

    at cic.opsi.model.bean.UserBean.callStoreProcedure(UserBean.java:35)

    at cic.opsi.model.bean.UserBean.main(UserBean.java:27)

    Hello

    What statemet is UserBean.java:35)?

    Second, create a new SysUserEOImpl()!

    If you want to call stored proc, put the java code calling stored proc in ViewRowImpl/ViewObjectImpl/ApplicationModuleImpl and export this code in the customer interface. Then put this method in the pageDef as a call him as an OperationBinding

    Zeeshan Baig blog: the PL/SQL procedure call and function in the Oracle ADF application

    Extending the functionality of the components Business

    ADF/OFA for Oracle Techies: ADF call stored procedure with Out parameters

    Latest Oracle technology: call Store procedures for Oracle ADF Application

  • Button action result depends on a call to a stored procedure

    Hello

    I'm developing an application using JDeveloper 10.1.3.4, JSF, and ADF BC 10.1.3.4.

    I have an "Update" button, its outcome of the action depends on the result of a stored procedure called by a method in my ApplicationModuleImpl (actionListener to the button - #{bindings ['call_stored_procedure'] .execute}).
    In particular, if the stored procedure returns "OK" the program can navigate to a new page of JSP, more of a case of navigation. If the stored procedure returns 'ERROR' no navigation should occur, the program must stop the JSP page. I need something like "raise form_trigger_failure" Oracle Forms. I tried to throw an oracle.jbo.ValidationException, but navigation take place instead.

    Thank you very much in advance

    Husband

    Load the SRDemo to jdev10.1.3 and see the classes ADFUtils nd JSFUtils. I guess they are also on the blog of Steve Muenchs here.
    Locate the getApplicationModuleForDataControl (...) method.

    Timo

  • Error in retrieving the stored procedure of the DB JDev adapter

    Hello
    I am facing a problem when configuring Jdeveloper stored procedures using the DB adapter. I use in my Sql Server 2005 database, version Jdeveloper 10.1.3.3 Version 10.1.3.1.Bpel. Connection to the database SQL Server 2005 is good, but it only displays the views and tables. I get the following error message when I try to add the sql stored procedure call
    "An error occurred while getting the database schemas. Make sure the database connection is valid and is supported"

    Can someone help me please.

    Thank you
    Phani

    Published by: Brad on October 28, 2008 11:30

    Post your email and I'll send you a complete tutorial of SQL Server.

Maybe you are looking for

  • RoboForm extension is missing on both computers

    I installed RoboForm Extension on my two computers. Roboform icon. as well as all it's options, poster usually, like a toolbar, under my bookmarks toolbar. It is there this morning because I've used several times. This afternoon, when I came back to

  • error C410 scanner

    My C410 stopped scanning and the error says "scanner failure. Restart and try again"it worked very well and stopped. None of my usable machines (win07, winxp or os / X) I cycled power 3 times, on nite and even uninstalled and reinstalled Solutions Ce

  • Combat Flight Simulator Windows 7 - cannot install

    Hi all I just combed my 1998 version of the SFC - the one with the mustang on the cover.  I can not install it at all! The sepia action aerial shooting appears small turns turquoise ring and that's all.  It hangs then (excuse the pun). I tried the ro

  • Unable to connect to the Synaptics Pointing Device Driver.

    Trying to open my mouse to check my control panel mouse settings, I get a dialog of pointing device Synaptics w / these message: "unable to connect to the Synaptics Pointing Device Driver. . If you have installed another device pointing PS/2 Driver p

  • I can't find the driver for PCI Simple Communication Controller for my laptop.

    Hi, I just got a HP Probook s 4540, produces none. H5J75EA #ABB and I do not know what driver to install for the controller PCI of Communication Simple, actually I can't. Could you help me please?