Unable to insert data in to database

public String button1_action() {
// Add your event code here...
String pid = (String)textField1.getValue();
String pnam = (String)textField2.getValue();
String pjob = (String)textField3.getValue();
String pfre = (String)textField4.getValue();
try {
//personRowSet.setCommand("insert into ROOT.PERSON values ('"+pid+"','"+pnam+"','"+pjob+"','"+pfre+"' )");
//personRowSet.execute();
personRowSet.moveToInsertRow();
personRowSet.updateInt(1,56);
personRowSet.updateString("NAME", pnam);
personRowSet.updateString("JOBTITLE",pjob);
personRowSet.updateBoolean(4, true);
personRowSet.insertRow();
personRowSet.updateRow();
personRowSet.execute();
catch ( Exception e) {
log("Page1 Insertion Failure", e);
throw new FacesException(e);
return null;
It is giving the following error:
Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
Exception Details: javax.faces.FacesException
#{Page1.button1_action}: javax.faces.el.EvaluationException: javax.faces.FacesException: java.sql.SQLException: execute() never called
Possible Source of Error:
Class Name: com.sun.faces.application.ActionListenerImpl
File Name: ActionListenerImpl.java
Method Name: processAction
Line Number: 78
Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.

I don't see a problem in your code snippet. Perhaps it's a database driver problem. Are you using the bundled PointBase database, or your own external database? Does it work with PointBase? If you're using an external database, are you using a JDBC 3.0 compliant driver? See thread "JT400 as400 db driver - problem" at http://swforum.sun.com/jive/thread.jspa?threadID=46347&tstart=0, which might be a similar problem.

Similar Messages

  • Restful service unable to insert data using PL/SQL.

    Hi all,
    Am running: AL 2.01 standalone mode on OEL 4.8 in VM box A.
    Oracle database 10.2.0.4 with Apex 4.2.0.00.27 on OEL4.8 in VM box B.
    Able to performed oracle.example.hr Restful services with no problem.
    Unable to insert data using AL 2.0.1 but works on AL 1.1.4.
    which uses the following table (under schema: scott):
    create table json_demo ( title varchar2(20), description varchar2(1000) );
    grant all on json_demo to apex_public_user; and below procedure ( scott's schema ):
    CREATE OR REPLACE
    PROCEDURE post(
        p_url     IN VARCHAR2,
        p_message IN VARCHAR2,
        p_response OUT VARCHAR2)
    IS
      l_end_loop BOOLEAN := false;
      l_http_req utl_http.req;
      l_http_resp utl_http.resp;
      l_buffer CLOB;
      l_data       VARCHAR2(20000); 
      C_USER_AGENT CONSTANT VARCHAR2(4000) := 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)';
    BEGIN
      -- source: http://awads.net/wp/2005/11/30/http-post-from-inside-oracle/
      -- Ask UTL_HTTP not to raise an exception for 4xx and 5xx status codes,
      -- rather than just returning the text of the error page.
      utl_http.set_response_error_check(false);
      -- Begin the post request
      l_http_req := utl_http.begin_request (p_url, 'POST', utl_http.HTTP_VERSION_1_1);
      -- Set the HTTP request headers
      utl_http.set_header(l_http_req, 'User-Agent', C_USER_AGENT);
      utl_http.set_header(l_http_req, 'content-type', 'application/json;charset=UTF-8');
      utl_http.set_header(l_http_req, 'content-length', LENGTH(p_message));
      -- Write the data to the body of the HTTP request
      utl_http.write_text(l_http_req, p_message);
      -- Process the request and get the response.
      l_http_resp := utl_http.get_response (l_http_req);
      dbms_output.put_line ('status code: ' || l_http_resp.status_code);
      dbms_output.put_line ('reason phrase: ' || l_http_resp.reason_phrase);
      LOOP
        EXIT
      WHEN l_end_loop;
        BEGIN
          utl_http.read_line(l_http_resp, l_buffer, true);
          IF(l_buffer IS NOT NULL AND (LENGTH(l_buffer)>0)) THEN
            l_data    := l_data||l_buffer;
          END IF;
        EXCEPTION
        WHEN utl_http.end_of_body THEN
          l_end_loop := true;
        END;
      END LOOP;
      dbms_output.put_line(l_data);
      p_response:= l_data;
      -- Look for client-side error and report it.
      IF (l_http_resp.status_code >= 400) AND (l_http_resp.status_code <= 499) THEN
        dbms_output.put_line('Check the URL.');
        utl_http.end_response(l_http_resp);
        -- Look for server-side error and report it.
      elsif (l_http_resp.status_code >= 500) AND (l_http_resp.status_code <= 599) THEN
        dbms_output.put_line('Check if the Web site is up.');
        utl_http.end_response(l_http_resp);
        RETURN;
      END IF;
      utl_http.end_response (l_http_resp);
    EXCEPTION
    WHEN OTHERS THEN
      dbms_output.put_line (sqlerrm);
      raise;
    END; and executing in sqldeveloper 3.2.20.09 when connecting directly to box B as scott:
    SET serveroutput ON
    DECLARE
      l_url      VARCHAR2(200)   :='http://MY_IP:8585/apex/demo';
      l_json     VARCHAR2(20000) := '{"title":"thetitle","description":"thedescription"}';
      l_response VARCHAR2(30000);
    BEGIN
      post( p_url => l_url, p_message =>l_json, p_response => l_response);
    END;which resulted in :
    anonymous block completed
    status code: 200
    reason phrase: OK
    with data inserted. Setup using 2.0.1
       Workspace : wsdemo
    RESTful Service Module:  demo/
              URI Template:      test
                    Method:  POST
               Source Type:  PL/SQLand executing in sqldeveloper 3.2.20.09 when connecting directly to box B as scott:
    SET serveroutput ON
    DECLARE
      l_url      VARCHAR2(200)   :='http://MY_IP:8585//apex/wsdemo/demo/test';
      l_json     VARCHAR2(20000) := '{"title":"thetitle","description":"thedescription"}';
      l_response VARCHAR2(30000);
    BEGIN
      post( p_url => l_url, p_message =>l_json, p_response => l_response);
    END;which resulted in :
    status code: 500
    reason phrase: Internal Server Error
    Listener's log:
    Request Path passes syntax validation
    Mapping request to database pool: PoolMap [_poolName=apex, _regex=null, _workspaceIdentifier=WSDEMO, _failed=false, _lastUpdate=1364313600000, _template=/wsdemo/, _type=BASE_PATH]
    Applied database connection info
    Attempting to process with PL/SQL Gateway
    Not processed as PL/SQL Gateway request
    Attempting to process as a RESTful Service
    demo/test matches: demo/test score: 0
    Choosing: oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as current candidate with score: Score [handle=JDBCURITemplate [scopeId=null, templateId=2648625079503782|2797815111031405, uriTemplate=demo/test], score=0, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true]
    Determining if request can be dispatched as a Tenanted RESTful Service
    Request path has one path segment, continuing processing
    Tenant Principal already established, cannot dispatch
    Chose oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as the final candidate with score: Score [handle=JDBCURITemplate [scopeId=null, templateId=2648625079503782|2797815111031405, uriTemplate=demo/test], score=0, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true] for: POST demo/test
    demo/test is a public resource
    Using generator: oracle.dbtools.rt.plsql.AnonymousBlockGenerator
    Performing JDBC request as: SCOTT
    Mar 28, 2013 1:29:28 PM oracle.dbtools.common.jdbc.JDBCCallImpl execute
    INFO: Error occurred during execution of: [CALL, begin
    insert into scott.json_demo values(/*in:title*/?,/*in:description*/?);
    end;, [title, in, class oracle.dbtools.common.stmt.UnknownParameterType], [description, in, class oracle.dbtools.common.stmt.UnknownParameterType]]with values: [thetitle, thedescription]
    Mar 28, 2013 1:29:28 PM oracle.dbtools.common.jdbc.JDBCCallImpl execute
    INFO: ORA-06550: line 1, column 6:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
       begin case declare exit for goto if loop mod null pragma
       raise return select update while with <an identifier>
       <a double-quoted delimited-identifier> <a bind variable> <<
       close current delete fetch lock insert open rollback
       savepoint set sql execute commit forall merge pipe
    The symbol "" was ignored.
    ORA-06550: line 2, column 74:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
       begin case declare end exception exit for goto if loop mod
       null pragma raise return select update while with
       <an identifier> <a double-quoted delimited-id
    java.sql.SQLException: ORA-06550: line 1, column 6:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
       begin case declare exit for goto if loop mod null pragma
       raise return select update while with <an identifier>
       <a double-quoted delimited-identifier> <a bind variable> <<
       close current delete fetch lock insert open rollback
       savepoint set sql execute commit forall merge pipe
    The symbol "" was ignored.
    ORA-06550: line 2, column 74:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
       begin case declare end exception exit for goto if loop mod
       null pragma raise return select update while with
       <an identifier> <a double-quoted delimited-id
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
            at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
            at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:505)
            at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:223)
            at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
            at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:205)
            at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1043)
            at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1336)
            at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3612)
            at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3713)
            at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4755)
            at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1378)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at oracle.ucp.jdbc.proxy.StatementProxyFactory.invoke(StatementProxyFactory.java:242)
            at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:124)
            at oracle.ucp.jdbc.proxy.CallableStatementProxyFactory.invoke(CallableStatementProxyFactory.java:101)
            at $Proxy46.execute(Unknown Source)
            at oracle.dbtools.common.jdbc.JDBCCallImpl.execute(JDBCCallImpl.java:44)
            at oracle.dbtools.rt.plsql.AnonymousBlockGenerator.generate(AnonymousBlockGenerator.java:176)
            at oracle.dbtools.rt.resource.templates.v2.ResourceTemplatesDispatcher$HttpResourceGenerator.response(ResourceTemplatesDispatcher.java:309)
            at oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:88)
            at oracle.dbtools.rt.web.HttpEndpointBase.restfulServices(HttpEndpointBase.java:412)
            at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:162)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.doFilter(ServletAdapter.java:1059)
            at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.invokeFilterChain(ServletAdapter.java:999)
            at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:434)
            at oracle.dbtools.standalone.SecureServletAdapter.doService(SecureServletAdapter.java:65)
            at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:379)
            at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
            at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapterChain.java:196)
            at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
            at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
            at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
            at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
            at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
            at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
            at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
            at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
            at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
            at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
            at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
            at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
            at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
            at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
            at java.lang.Thread.run(Thread.java:662)
    Error during evaluation of resource template: ORA-06550: line 1, column 6:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
       begin case declare exit for goto if loop mod null pragma
       raise return select update while with <an identifier>
       <a double-quoted delimited-identifier> <a bind variable> <<
       close current delete fetch lock insert open rollback
       savepoint set sql execute commit forall merge pipe
    The symbol "" was ignored.
    ORA-06550: line 2, column 74:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
       begin case declare end exception exit for goto if loop mod
       null pragma raise return select update while with
       <an identifier> <a double-quoted delimited-idPlease advise.
    Regards
    Zack

    Zack.L wrote:
    Hi Andy,
    Sorry, forgot to post the Source that's use by both AL1.1.4 and AL2.0.1.
    Source
    begin
    insert into scott.json_demo values(:title,:description);
    end;
    it's failing during the insert?
    Yes, it failed during insert using AL2.0.1.
    So the above statement produces the following error message:
    The symbol "" was ignored.
    ORA-06550: line 2, column 74:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    begin case declare end exception exit for goto if loop mod
    null pragma raise return select update while with
    <an identifier> <a double-quoted delimited-idThis suggests to me that an unprintable character (notice how there is nothing between the double quotes - "") has worked its way into your PL/SQL Handler. Note how the error is reported to be a column 74 on line 2, yet line 2 of the above block should only have 58 characters, so at a pure guess somehow there's extra whitespace on line 2, that is confusing the PL/SQL compiler, I suggest re-typing the PL/SQL handler manually and seeing if that cures the problem.

  • Error while trying to insert data on a database through a mediator

    I have build a simple project on 11g TP$, which consists of a mediator, a file adapter, that reads an xml file and a DB adapter that inserts data on a database.
    The mediator connects the file adapter to the DB adapter and through a routing rule it inserts data on a table of the database.
    When I try to run this project the input file is consumed by the file adapter, but after that I get the following error
    SEVERE: Part {body} return null from the message :in
    Dec 5, 2008 2:24:55 PM oracle.tip.mediator.service.transformation.XSLTransformer getPartDocument
    SEVERE: payload map source message :{opaque=oracle.xml.parser.v2.XMLElement@19b0076}
    Dec 5, 2008 2:24:55 PM oracle.tip.mediator.service.transformation.MediatorTransformationHandler transform
    SEVERE: Transformation failed
    oracle.tip.mediator.infra.exception.MediatorException: Error occured while transforming payload!
    Please review the XSL or source payload.Contact Oracle Support if error not fixable
    at oracle.tip.mediator.service.transformation.XSLTransformer.getPartDocument(XSLTransformer.java:191)
    at oracle.tip.mediator.service.transformation.XSLTransformer.transform(XSLTransformer.java:102)
    at oracle.tip.mediator.service.transformation.MediatorTransformationHandler.transform(MediatorTransformationHandler.java:103)
    at oracle.tip.mediator.service.transformation.MediatorTransformationHandler.transform(MediatorTransformationHandler.java:196)
    at oracle.tip.mediator.service.DataActionHandler.getNextPayload(DataActionHandler.java:145)
    at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:74)
    at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:53)
    at oracle.tip.mediator.service.OneWayActionHandler.oneWayRequestProcess(OneWayActionHandler.java:67)
    at oracle.tip.mediator.service.OneWayActionHandler.process(OneWayActionHandler.java:34)
    at oracle.tip.mediator.service.ActionProcessor.onMessage(ActionProcessor.java:61)
    at oracle.tip.mediator.dispatch.MessageDispatcher.executeCase(MessageDispatcher.java:103)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCase(InitialMessageDispatcher.java:465)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:361)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:254)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(InitialMessageDispatcher.java:149)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(MediatorServiceEngine.java:533)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post(MediatorServiceEngine.java:634)
    at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:138)
    at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:152)
    at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:159)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
    at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy70.post(Unknown Source)
    at oracle.integration.platform.blocks.adapter.fw.jca.mdb.AdapterServiceMDB.onMessage(AdapterServiceMDB.java:574)
    at oracle.integration.platform.blocks.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:295)
    at oracle.tip.adapter.file.inbound.ProcessWork.publishMessage(ProcessWork.java:2127)
    at oracle.tip.adapter.file.inbound.ProcessWork.doTranslation(ProcessWork.java:1719)
    at oracle.tip.adapter.file.inbound.ProcessWork.translateAndPublish(ProcessWork.java:677)
    at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:320)
    at oracle.integration.platform.blocks.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
    at oracle.integration.platform.blocks.adapter.fw.common.ThreadPool.run(ThreadPool.java:283)
    at java.lang.Thread.run(Thread.java:595)
    Dec 5, 2008 2:24:55 PM oracle.tip.mediator.serviceEngine.MediatorServiceEngine process
    SEVERE: Updating fault processing DMS metrics
    Dec 5, 2008 2:24:55 PM oracle.tip.mediator.serviceEngine.MediatorServiceEngine process
    SEVERE: Got an exception: Error occured while transforming payload!
    Please review the XSL or source payload.Contact Oracle Support if error not fixable
    oracle.tip.mediator.infra.exception.MediatorException: Error occured while transforming payload!
    Please review the XSL or source payload.Contact Oracle Support if error not fixable
    at oracle.tip.mediator.service.transformation.XSLTransformer.getPartDocument(XSLTransformer.java:191)
    at oracle.tip.mediator.service.transformation.XSLTransformer.transform(XSLTransformer.java:102)
    at oracle.tip.mediator.service.transformation.MediatorTransformationHandler.transform(MediatorTransformationHandler.java:103)
    at oracle.tip.mediator.service.transformation.MediatorTransformationHandler.transform(MediatorTransformationHandler.java:196)
    at oracle.tip.mediator.service.DataActionHandler.getNextPayload(DataActionHandler.java:145)
    at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:74)
    at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:53)
    at oracle.tip.mediator.service.OneWayActionHandler.oneWayRequestProcess(OneWayActionHandler.java:67)
    at oracle.tip.mediator.service.OneWayActionHandler.process(OneWayActionHandler.java:34)
    at oracle.tip.mediator.service.ActionProcessor.onMessage(ActionProcessor.java:61)
    at oracle.tip.mediator.dispatch.MessageDispatcher.executeCase(MessageDispatcher.java:103)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCase(InitialMessageDispatcher.java:465)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:361)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:254)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(InitialMessageDispatcher.java:149)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(MediatorServiceEngine.java:533)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post(MediatorServiceEngine.java:634)
    at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:138)
    at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:152)
    at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:159)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
    at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy70.post(Unknown Source)
    at oracle.integration.platform.blocks.adapter.fw.jca.mdb.AdapterServiceMDB.onMessage(AdapterServiceMDB.java:574)
    at oracle.integration.platform.blocks.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:295)
    at oracle.tip.adapter.file.inbound.ProcessWork.publishMessage(ProcessWork.java:2127)
    at oracle.tip.adapter.file.inbound.ProcessWork.doTranslation(ProcessWork.java:1719)
    at oracle.tip.adapter.file.inbound.ProcessWork.translateAndPublish(ProcessWork.java:677)
    at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:320)
    at oracle.integration.platform.blocks.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
    at oracle.integration.platform.blocks.adapter.fw.common.ThreadPool.run(ThreadPool.java:283)
    at java.lang.Thread.run(Thread.java:595)
    Dec 5, 2008 2:24:55 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    SEVERE: JCABinding=> Read ReadAdapter Service Read was unable to perform delivery of inbound message to the composite due to: oracle.tip.mediator.infra.exception.MediatorException: Error occured while transforming payload!
    Please review the XSL or source payload.Contact Oracle Support if error not fixable
    Dec 5, 2008 2:24:55 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    SEVERE: JCABinding=> Read
    oracle.fabric.common.FabricInvocationException: oracle.tip.mediator.infra.exception.MediatorException: Error occured while transforming payload!
    Please review the XSL or source payload.Contact Oracle Support if error not fixable
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(MediatorServiceEngine.java:599)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post(MediatorServiceEngine.java:634)
    at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:138)
    at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:152)
    at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:159)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
    at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy70.post(Unknown Source)
    at oracle.integration.platform.blocks.adapter.fw.jca.mdb.AdapterServiceMDB.onMessage(AdapterServiceMDB.java:574)
    at oracle.integration.platform.blocks.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:295)
    at oracle.tip.adapter.file.inbound.ProcessWork.publishMessage(ProcessWork.java:2127)
    at oracle.tip.adapter.file.inbound.ProcessWork.doTranslation(ProcessWork.java:1719)
    at oracle.tip.adapter.file.inbound.ProcessWork.translateAndPublish(ProcessWork.java:677)
    at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:320)
    at oracle.integration.platform.blocks.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
    at oracle.integration.platform.blocks.adapter.fw.common.ThreadPool.run(ThreadPool.java:283)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.tip.mediator.infra.exception.MediatorException: Error occured while transforming payload!
    Please review the XSL or source payload.Contact Oracle Support if error not fixable
    at oracle.tip.mediator.service.transformation.XSLTransformer.getPartDocument(XSLTransformer.java:191)
    at oracle.tip.mediator.service.transformation.XSLTransformer.transform(XSLTransformer.java:102)
    at oracle.tip.mediator.service.transformation.MediatorTransformationHandler.transform(MediatorTransformationHandler.java:103)
    at oracle.tip.mediator.service.transformation.MediatorTransformationHandler.transform(MediatorTransformationHandler.java:196)
    at oracle.tip.mediator.service.DataActionHandler.getNextPayload(DataActionHandler.java:145)
    at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:74)
    at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:53)
    at oracle.tip.mediator.service.OneWayActionHandler.oneWayRequestProcess(OneWayActionHandler.java:67)
    at oracle.tip.mediator.service.OneWayActionHandler.process(OneWayActionHandler.java:34)
    at oracle.tip.mediator.service.ActionProcessor.onMessage(ActionProcessor.java:61)
    at oracle.tip.mediator.dispatch.MessageDispatcher.executeCase(MessageDispatcher.java:103)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCase(InitialMessageDispatcher.java:465)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:361)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:254)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(InitialMessageDispatcher.java:149)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(MediatorServiceEngine.java:533)
    ... 24 more
    Dec 5, 2008 2:24:55 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    WARNING: JCABinding=> Read ReadonReject: The resource adapter 'File Adapter' requested handling of a malformed inbound message. However, the following Service property has not been defined: 'rejectedMessageHandlers'. Please define it and redeploy the module. Will use the default Rejection Directory file://jca\Read\rejectedMessages for now.
    Dec 5, 2008 2:24:55 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    WARNING: JCABinding=> Read ReadonReject: Sending invalid inbound message to Exception Handler:
    Dec 5, 2008 2:24:55 PM oracle.tip.mediator.common.error.ErrorMessageEnqueuer$EnqueuerThread run
    SEVERE: Failed to enqueue error message
    javax.jms.TransactionInProgressException: Cannot call commit on a XA capable JMS session.
    at oracle.j2ee.ra.jms.generic.RAUtils.make(RAUtils.java:595)
    at oracle.j2ee.ra.jms.generic.RAUtils.toTransactionInProgressException(RAUtils.java:846)
    at oracle.j2ee.ra.jms.generic.RAUtils.toTransactionInProgressException(RAUtils.java:840)
    at oracle.j2ee.ra.jms.generic.SessionWrapper.commit(SessionWrapper.java:197)
    at oracle.tip.mediator.common.error.ErrorMessageEnqueuer$EnqueuerThread.run(ErrorMessageEnqueuer.java:187)
    at java.lang.Thread.run(Thread.java:595)
    I have checked the .xsd file and my xml several times and it seems that they are correct. Moreover, the .xsl file is also correct.
    Does anyone have any idea of what may produce this problem?
    Thanks

    I was finally able to get my project working. Heidi - You were right, there was a problem with the XSL generated by the XSL map editor.
    I am trying to locate if this issue has already been reported, but I am highlighting it here, in case someone else faces the same.
    The XSL generated was as follows:
    &lt;xsl:stylesheet version="1.0"
    xmlns:dvm="[http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue]"
    xmlns:bpws="[http://schemas.xmlsoap.org/ws/2003/03/business-process/]"
    xmlns:ns1="[http://xmlns.oracle.com/pcbpel/adapter/db/ReadEmps/Read/DB/]"
    xmlns:plt="[http://schemas.xmlsoap.org/ws/2003/05/partner-link/]"
    xmlns:ns0="[http://www.w3.org/2001/XMLSchema]"
    xmlns:hwf="[http://xmlns.oracle.com/bpel/workflow/xpath]"
    xmlns:xp20="[http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20]"
    xmlns:xref="[http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions]"
    xmlns:tns="[http://xmlns.oracle.com/pcbpel/adapter/file/ReadEmps/Read/Read/]"
    xmlns:xsl="[http://www.w3.org/1999/XSL/Transform]"
    xmlns:ora="[http://schemas.oracle.com/xpath/extension]"
    xmlns:xsi="[http://www.w3.org/2001/XMLSchema-instance]"
    xmlns:imp1="[www.TargetNameSpace.com/EmpTrack|http://www.targetnamespace.com/EmpTrack]*"*
    xmlns:top="[http://xmlns.oracle.com/pcbpel/adapter/db/top/DB]"
    xmlns:ids="[http://xmlns.oracle.com/bpel/services/IdentityService/xpath]"
    xmlns:orcl="[http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc]"
    xmlns:mhdr="[http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.GetRequestHeaderExtnFunction]"
    exclude-result-prefixes="xsl plt ns0 tns imp1 ns1 top dvm bpws hwf xp20 xref ora ids orcl mhdr"&gt;
    &lt;xsl:template match="/"&gt;
    &lt;top:EmployeeTrackingCollection&gt;
    &lt;xsl:for-each select*="/imp1:ROWSET/imp1:ROW*"&gt;
    &lt;top:EmployeeTracking&gt;
    &lt;top:locationId&gt;
    &lt;xsl:value-of select="*imp1:LOCATION_ID*"/&gt;
    &lt;/top:locationId&gt;
    &lt;top:employeeId&gt;
    &lt;xsl:value-of select="*imp1:EMPLOYEE_ID*"/&gt;
    &lt;/top:employeeId&gt;
    &lt;top:employeeX&gt;
    &lt;xsl:value-of select="*imp1:EMPLOYEE_X*"/&gt;
    &lt;/top:employeeX&gt;
    &lt;top:employeeY&gt;
    &lt;xsl:value-of select="*imp1:EMPLOYEE_Y"*/&gt;
    &lt;/top:employeeY&gt;
    &lt;/top:EmployeeTracking&gt;
    &lt;/xsl:for-each&gt;
    &lt;/top:EmployeeTrackingCollection&gt;
    &lt;/xsl:template&gt;
    &lt;/xsl:stylesheet&gt;
    The Xpath included the "imp1:" tag to reference the namespace. I tested this XSL and it didn't work. However, on removing the namespace "imp1:" from the Xpath, the XSL works fine and I am able to insert into the database. "No suitable driver" still appears in the log, but all rows from the XML are inserted into the database.
    Heidi - do you think this is a bug?

  • Can i insert data in my database from a web intelligence report?

    if that's not possible,can I do it from a stored procedure based Universe or with a derived table? Does BusinessObjects in general allow me to execute statements to insert data in my database?

    Hi Erika,
    afaik it is not possible write back to database from web intelligence .
    from dashboards with web services you can achieve this.

  • Unable to post data to a database via JDBC adapter in PI 7.1

    Hello experts,
    The scenario I am trying to implement is Proxy -- to -- JDBC. Earlier it was assumed that the table has primary key and therefore I started with UPDATE_INSERT structure but later on we came to know that the table does not have any primary key.
    Now, I am supposed to insert data into a database table with no primary key. Therefore I am using INSERT structure. The structure on the receiver side is something like this:
         <Statement1>
              <SKU_TMP action="INSERT">
                   <table>SKU_TMP</table>
                   <access>
                        <SKUCODE></SKUCODE>
                        <SKULIB1></SKULIB1>
                        <SKUPUC></SKUPUC>
                        <SKUNUC></SKUNUC>
                        <SKUUCLOT></SKUUCLOT>
                        <SKUNBFAR></SKUNBFAR>
                        <SKUNCHE></SKUNCHE>
                        <SKUPBRUT></SKUPBRUT>
                        <SKUEANU></SKUEANU>
                        <SKUEANC></SKUEANC>
                   </access>
              </SKU_TMP>
         </Statement1>
    The problem is that I have tried everything, even logging the DB query (though unsuccessful) but am not able to insert data into this table. The user name and password is correct. Below is the latest error:
    "Delivering the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SKU_TMP' (structure 'Statement1'): java.sql.SQLException: ORA-00913: too many values ."
    Earlier I have also received the following error (while using ):
    u201CJDBC Message processing failed, due to Error processing request in sax parser: Error when executing statement for table/stored proc. 'SKU_TMP' (structure 'Statement1'): java.sql.SQLException: ORA-01747: invalid user.table.column, table.column, or column specificationu201D
    Experts, please help me to resolve this predicament.
    Best regards,
    Varun

    Hello All,
    Thanks for your valuable suggestions.
    The problem was with the 'FormatNum' function.
    This mapping is being designed for an European client and they use "," (comma) for a decimal point. But in the database insert query, the comma was being taken as a separator between values and that is how I was getting "too many values" error. I am inserting the records with a decimal point now instead of a comma and the scenario is working fine.
    Thanks again,
    Best regards,
    Varun

  • SQLJ with EJB. Do not insert data in the database

    Hi All!
    I4m developing an application using SQLJ and EJB (session beans,
    container managed transactions), and when I try to insert data
    in the database it doesn't work. All goes well (apparently), but
    the changes do not have effect in the DB.
    I've tried to use bean managed transactions, but when I try to
    insert data, I get the error: NOT IN A TRANSACTION. The code of
    the client in the bean managed is the following:
    public class MiEJBCLiente {
    public static void main(String[] args) {
    String namespaceURL
    = "jdbc:oracle:thin:@rabinf56:1521:prinpal";
    String ejbUrl
    = "sess_iiop://rabinf56:2481:prinpal/test/Bean";
    String username = "xxx";
    String password = "xxx";
    // Setup the environment
    Hashtable environment = new Hashtable();
    // Tell JNDI to speak sess_iiop
    environment.put
    (javax.naming.Context.URL_PKG_PREFIXES, "oracle.aurora.jndi");
    // Tell sess_iiop who the user is
    environment.put(Context.SECURITY_PRINCIPAL, username);
    // Tell sess_iiop what the password is
    environment.put(Context.SECURITY_CREDENTIALS, password);
    // Tell sess_iiop to use credential authentication
    environment.put(Context.SECURITY_AUTHENTICATION,
    ServiceCtx.NON_SSL_LOGIN);
    environment.put
    (jdbc_accessURLContextFactory.CONNECTION_URL_PROP, namespaceURL);
    UserTransaction ut = null;
    // Lookup the URL
    hello.MiBeanHome homeInterface = null;
    try {
    Context ic = new InitialContext(environment);
    DriverManager.registerDriver (new
    oracle.jdbc.driver.OracleDriver());
    ut = (UserTransaction)ic.lookup
    ("jdbc_access://test/BeanTrans");
    homeInterface = (hello.MiBeanHome) ic.lookup(ejbUrl);
    catch (SQLException e) {
    // That's it!
    try {
    System.out.println("Creating a new EJB instance");
    hello.MiBean remoteInterface = homeInterface.create();
    ut.begin ();
    remoteInterface.inserta();
    ut.commit();
    catch (Exception e) {
    System.out.println(e.getMessage());
    e.printStackTrace();
    I4m waiting for suggests.
    Thanks in advance...

    Hi,
    Are you sure it's a front-end bug? Try to double check your back-end code.
    If you still believe the bug is in the front-end, try to debug the insertHandler function to see if you are attaching the UserVO properly into the UserEvent.
    Best regards,
    Pablo Souza

  • OIM connector for db table--unable to  Reconciliation data to OIM database

    HI everyone
    I installed OIM and Connector for Database Application Tables 9.1.03
    I want to only Reconciliation one table in the target db,organization table.
    when I build a GTC-connector though the administratoe console ,and run the task
    nothing can Reconciliation into OIM db which map to a table
    when look log .I find data has already into hashmap,but unable to insert Oimdb
    only error msg is : Processing Reconciliation Message with ID -1 failed.
    ER],Class/Method: tcDataBase/readPartialStatement entered.
    INFO,21 Jul 2010 10:31:28,065,[XELLERATE.DATABASE],DB read: select rce_key, obj_key, rce_status, rce_delete_event, rce_rowver from rce where rce_key=-1
    DEBUG,21 Jul 2010 10:31:28,065,[XELLERATE.DATABASE],select rce_key, obj_key, rce_status, rce_delete_event, rce_rowver from rce where rce_key=-1
    INFO,21 Jul 2010 10:31:28,066,[XELLERATE.PERFORMANCE],Query: DB: 0, LOAD: 1, TOTAL: 1
    ERROR,21 Jul 2010 10:31:28,066,[XELLERATE.JMS],The Reconciliation Event with key -1 does not exist
    INFO,21 Jul 2010 10:31:28,066,[XELLERATE.PERFORMANCE],Message Process: com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages : 1011
    DEBUG,21 Jul 2010 10:31:28,066,[XELLERATE.AUDITOR],Class/Method: AuditEngine/getAuditEngine entered.
    ERROR,21 Jul 2010 10:31:28,066,[XELLERATE.JMS],Processing Reconciliation Message with ID -1 failed.
    DEBUG,21 Jul 2010 10:31:28,116,[XELLERATE.JMS],Class/Method: ProcessOfflineReconMessages/execute entered.
    DEBUG,21 Jul 2010 10:31:28,116,[XELLERATE.JMS],Class/Method: ProcessOfflineReconMessages/execute - Data: reconId - Value: -1
    DEBUG,21 Jul 2010 10:31:28,116,[XELLERATE.JMS],Class/Method: ProcessOfflineReconMessages/execute left.
    DEBUG,21 Jul 2010 10:31:28,116,[XELLERATE.JMS],Class/Method: ProcessOfflineReconMessages/finishReconciliationEvent entered.
    DEBUG,21 Jul 2010 10:31:28,116,[XELLERATE.JMS],Class/Method: ProcessOfflineReconMessages/finishReconciliationEvent - Data: plReconciliationEventKey - Value: -1
    DEBUG,21 Jul 2010 10:31:28,116,[XELLERATE.SERVER],Class/Method: tcDataBase/readPartialStatement entered.
    INFO,21 Jul 2010 10:31:28,116,[XELLERATE.DATABASE],DB read: select rce_key, obj_key, rce_status, rce_delete_event, rce_rowver from rce where rce_key=-1
    DEBUG,21 Jul 2010 10:31:28,116,[XELLERATE.DATABASE],select rce_key, obj_key, rce_status, rce_delete_event, rce_rowver from rce where rce_key=-1
    INFO,21 Jul 2010 10:31:28,117,[XELLERATE.PERFORMANCE],Query: DB: 0, LOAD: 1, TOTAL: 1
    ERROR,21 Jul 2010 10:31:28,117,[XELLERATE.JMS],The Reconciliation Event with key -1 does not exist
    INFO,21 Jul 2010 10:31:28,117,[XELLERATE.PERFORMANCE],Message Process: com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages : 1006
    DEBUG,21 Jul 2010 10:31:28,117,[XELLERATE.AUDITOR],Class/Method: AuditEngine/getAuditEngine entered.
    ERROR,21 Jul 2010 10:31:28,117,[XELLERATE.JMS],Processing Reconciliation Message with ID -1 failed.
    DEBUG,21 Jul 2010 10:31:32,328,[XELLERATE.JMS],Class/Method: MessageHandlerMDB/onMessage entered.
    DEBUG,21 Jul 2010 10:31:32,328,[XELLERATE.JMS],Class/Method: MessageHandlerMDB/onMessage: Received new nessage
    DEBUG,21 Jul 2010 10:31:32,328,[XELLERATE.JMS],Class/Method: MessageHandlerMDB/onMessage: mdb message name ReconOfflineMessage message handler task com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages
    DEBUG,21 Jul 2010 10:31:32,328,[XELLERATE.SERVER],Class/Method: tcDataBase/readPartialStatement entered.
    INFO,21 Jul 2010 10:31:32,328,[XELLERATE.DATABASE],DB read: select usr_login from usr where USR_KEY=1
    DEBUG,21 Jul 2010 10:31:32,328,[XELLERATE.DATABASE],select usr_login from usr where USR_KEY=1
    INFO,21 Jul 2010 10:31:32,329,[XELLERATE.PERFORMANCE],Query: DB: 1, LOAD: 0, TOTAL: 1
    INFO,21 Jul 2010 10:31:32,329,[XELLERATE.DATABASE],dbLogger
    DEBUG,21 Jul 2010 10:31:32,329,[XELLERATE.SERVER],Class/Method: tcDataBase/eventPreInsert entered.
    DEBUG,21 Jul 2010 10:31:32,329,[XELLERATE.SERVER],Class/Method: tcDataBase/tcDataBase left.
    DEBUG,21 Jul 2010 10:31:32,329,[XELLERATE.AUDITOR],Class/Method: AuditEngine/getAuditEngine entered.
    DEBUG,21 Jul 2010 10:31:33,069,[XELLERATE.JMS],Class/Method: MessageHandlerMDB/onMessage left.
    DEBUG,21 Jul 2010 10:31:33,076,[XELLERATE.JMS],Class/Method: MessageHandlerMDB/onMessage entered.
    DEBUG,21 Jul 2010 10:31:33,076,[XELLERATE.JMS],Class/Method: MessageHandlerMDB/onMessage: Received new nessage
    DEBUG,21 Jul 2010 10:31:33,076,[XELLERATE.JMS],Class/Method: MessageHandlerMDB/onMessage: mdb message name ReconOfflineMessage message handler task com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages
    DEBUG,21 Jul 2010 10:31:33,076,[XELLERATE.SERVER],Class/Method: tcDataBase/readPartialStatement entered.
    INFO,21 Jul 2010 10:31:33,077,[XELLERATE.DATABASE],DB read: select usr_login from usr where USR_KEY=1
    DEBUG,21 Jul 2010 10:31:33,077,[XELLERATE.DATABASE],select usr_login from usr where USR_KEY=1
    INFO,21 Jul 2010 10:31:33,077,[XELLERATE.PERFORMANCE],Query: DB: 0, LOAD: 0, TOTAL: 0
    INFO,21 Jul 2010 10:31:33,078,[XELLERATE.DATABASE],dbLogger
    DEBUG,21 Jul 2010 10:31:33,078,[XELLERATE.SERVER],Class/Method: tcDataBase/eventPreInsert entered.
    DEBUG,21 Jul 2010 10:31:33,078,[XELLERATE.SERVER],Class/Method: tcDataBase/tcDataBase left.
    DEBUG,21 Jul 2010 10:31:33,078,[XELLERATE.AUDITOR],Class/Method: AuditEngine/getAuditEngine entered.
    DEBUG,21 Jul 2010 10:31:33,119,[XELLERATE.JMS],Class/Method: MessageHandlerMDB/onMessage left.
    DEBUG,21 Jul 2010 10:31:33,121,[XELLERATE.JMS],Class/Method: MessageHandlerMDB/onMessage entered.
    DEBUG,21 Jul 2010 10:31:33,121,[XELLERATE.JMS],Class/Method: MessageHandlerMDB/onMessage: Received new nessage
    DEBUG,21 Jul 2010 10:31:33,121,[XELLERATE.JMS],Class/Method: MessageHandlerMDB/onMessage: mdb message name ReconOfflineMessage message handler task com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages
    DEBUG,21 Jul 2010 10:31:33,121,[XELLERATE.SERVER],Class/Method: tcDataBase/readPartialStatement entered.
    INFO,21 Jul 2010 10:31:33,121,[XELLERATE.DATABASE],DB read: select usr_login from usr where USR_KEY=1
    DEBUG,21 Jul 2010 10:31:33,121,[XELLERATE.DATABASE],select usr_login from usr where USR_KEY=1
    INFO,21 Jul 2010 10:31:33,122,[XELLERATE.PERFORMANCE],Query: DB: 1, LOAD: 0, TOTAL: 1
    INFO,21 Jul 2010 10:31:33,122,[XELLERATE.DATABASE],dbLogger
    DEBUG,21 Jul 2010 10:31:33,122,[XELLERATE.SERVER],Class/Method: tcDataBase/eventPreInsert entered.

    log :
    , classname:com.thortech.xl.gc.impl.transform.Translation, name:Translation
    parameterList is following /nname: input, datatype: String, encrypted: false, type: Runtime.
    validValueList is following
    name: lookup, datatype: String, encrypted: false, type: Runtime.
    validValueList is following
    , classname:com.thortech.xl.gc.impl.transform.Concatenation, name:Concatenation
    parameterList is following /nname: input1, datatype: String, encrypted: false, type: Runtime.
    validValueList is following
    name: input2, datatype: String, encrypted: false, type: Runtime.
    validValueList is following
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider......2
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDERREGISTRATION],transformProviderclassname:com.thortech.xl.gc.impl.transform.OnetoOne, name:OnetoOne
    parameterList is following /nname: input, datatype: String, encrypted: false, type: Runtime.
    validValueList is following
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDERREGISTRATION],nameOnetoOne
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDERREGISTRATION],come in transformationName.equalsIgnoreCase(name)
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName. ..found transformation provider.....
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName. ..found transformation provider.....
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName....provider class name = ..com.thortech.xl.gc.impl.transform.OnetoOne
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDERREGISTRATION], provider nameOnetoOne
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDERREGISTRATION], provider def attribnull
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDERREGISTRATION], provider parm, list[name: input, datatype: String, encrypted: false, type: Runtime.
    validValueList is following
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDERREGISTRATION], provider resp codes{ONETOONE_CLASS_CAST=Attempted to cast an object to a subclass of which it is not an instance, ONETOONE_INPUTSTR_MISSING=Input String is Missing}
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName. ..found transformation provider.....com.thortech.xl.gc.impl.transform.OnetoOne
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDERREGISTRATION],classname--->com.thortech.xl.gc.impl.transform.OnetoOne
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader entered.
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader left.
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDERREGISTRATION],Loading Provider Class -->com.thortech.xl.gc.impl.transform.OnetoOne
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDER.TRANSFORMATION],output--->
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDER.TRANSFORMATION],Doing transfornmation for parentData--->com.thortech.xl.gc.vo.designtime.AttributeWithSource@a82b22
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDER.TRANSFORMATION],field--->ATTRIBUTE9
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDER.TRANSFORMATION],transformParams--->{input=com.thortech.xl.gc.vo.designtime.SourceValue@a7e343}
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDER.TRANSFORMATION],key--->input
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDER.TRANSFORMATION],not literal--->
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDER.TRANSFORMATION],inputField--->ATTRIBUTE9
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDER.TRANSFORMATION],input--->{ATTRIBUTE9=, ATTRIBUTE8=, ATTRIBUTE7=, ATTRIBUTE6=, CREATED_DATE=, ATTRIBUTE5=, ATTRIBUTE4=, IS_QUOTE=, ATTRIBUTE3=, ATTRIBUTE2=, CREATE_BY=, ATTRIBUTE1=, UPDATED_DATE=, UPDATE_BY=, ATTRIBUTE10=, IS_ASK=, ORGANIZATION_ID=5, UPPER_ORGANIZATION_ID=, ORGANIZATION_NAME=淇℃伅璧勬簮閮?, ORGANIZATION_CODE=5}
    DEBUG,21 Jul 2010 10:31:27,228,[XELLERATE.GC.PROVIDER.TRANSFORMATION],sourceData--->TargetFields
    DEBUG,21 Jul 2010 10:31:27,229,[XELLERATE.GC.PROVIDER.TRANSFORMATION],inputFieldValue--->
    DEBUG,21 Jul 2010 10:31:27,229,[XELLERATE.GC.PROVIDER.TRANSFORMATION],transformationName--->OnetoOne
    DEBUG,21 Jul 2010 10:31:27,229,[XELLERATE.GC.PROVIDERREGISTRATION],transformType--->OnetoOne
    DEBUG,21 Jul 2010 10:31:27,229,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName......
    DEBUG,21 Jul 2010 10:31:27,229,[XELLERATE.GC.PROVIDERREGISTRATION],getProviderClassName--->
    DEBUG,21 Jul 2010 10:31:27,229,[XELLERATE.GC.PROVIDERREGISTRATION],transformationProviders[classname:com.thortech.xl.gc.impl.transform.OnetoOne, name:OnetoOne
    parameterList is following /nname: input, datatype: String, encrypted: false, type: Runtime.
    validValueList is following
    , classname:com.thortech.xl.gc.impl.transform.Translation, name:Translation
    parameterList is following /nname: input, datatype: String, encrypted: false, type: Runtime.
    validValueList is following
    name: lookup, datatype: String, encrypted: false, type: Runtime.
    validValueList is following
    , classname:com.thortech.xl.gc.impl.transform.Concatenation, name:Concatenation
    parameterList is following /nname: input1, datatype: String, encrypted: false, type: Runtime.
    validValueList is following
    name: input2, datatype: String, encrypted: false, type: Runtime.
    validValueList is following
    DEBUG,21 Jul 2010 10:31:27,229,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider......2
    DEBUG,21 Jul 2010 10:31:27,229,[XELLERATE.GC.PROVIDERREGISTRATION],transformProviderclassname:com.thortech.xl.gc.impl.transform.OnetoOne, name:OnetoOne
    parameterList is following /nname: input, datatype: String, encrypted: false, type: Runtime.
    validValueList is following
    DEBUG,21 Jul 2010 10:31:27,229,[XELLERATE.GC.PROVIDERREGISTRATION],nameOnetoOne
    DEBUG,21 Jul 2010 10:31:27,229,[XELLERATE.GC.PROVIDERREGISTRATION],come in transformationName.equalsIgnoreCase(name)
    DEBUG,21 Jul 2010 10:31:27,229,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName. ..found transformation provider.....
    DEBUG,21 Jul 2010 10:31:27,229,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName. ..found transformation provider.....
    DEBUG,21 Jul 2010 10:31:27,229,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName....provider class name = ..com.thortech.xl.gc.impl.transform.OnetoOne
    DEBUG,21 Jul 2010 10:31:27,229,[XELLERATE.GC.PROVIDERREGISTRATION], provider nameOnetoOne
    DEBUG,21 Jul 2010 10:31:27,229,[XELLERATE.GC.PROVIDERREGISTRATION], provider def attribnull
    DEBUG,21 Jul 2010 10:31:27,229,[XELLERATE.GC.PROVIDERREGISTRATION], provider parm, list[name: input, datatype: String, encrypted: false, type: Runtime.
    validValueList is following
    DEBUG,21 Jul 2010 10:31:27,229,[XELLERATE.GC.PROVIDERREGISTRATION], provider resp codes{ONETOONE_CLASS_CAST=Attempted to cast an object to a subclass of which it is not an instance, ONETOONE_INPUTSTR_MISSING=Input String is Missing}
    DEBUG,21 Jul 2010 10:31:27,229,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName. ..found transformation provider.....com.thortech.xl.gc.impl.transform.OnetoOne
    I

  • How to insert data into mysql database using GUI?

    HI there,
    I have created a GUI application using Netbeans 6.7.1 in which there are three jtextfields. Now from those text fields i have to insert data in the mysql database. I have already connected to mysql using drivers and URL which is used to connect to DB. So what code should i write in the source of these text fields. Please help me and give the code to it.
    I actually don't know what code to be written in the source of a text field.
    Thank You.

    Yo buddy i didn't mean that. I wanted to say that if you see my project then it will be easy for you to help me. okay have a look at this code and tell me i have just created my gui
    This is Main.java -->
    package bookdatabase2;
    import java.sql.*;
    import java.awt.*;
    import javax.swing.*;
    * @author Mohd Azeem
    public class Main {
    * @param args the command line arguments
    public static void main(String[] args)throws Exception {
    // TODO code application logic here
    Class.forName("com.mysql.jdbc.Driver");
    Connection con=DriverManager.getConnection("jdbc:mysql://localhost:3306/books","root","");
    //PreparedStatement state=con.prepareStatement("select * from titles");
    //ResultSet result=state.executeQuery();
    //while(result.next()){
    // System.out.println(result.getString(1)+" "+result.getString(2)+" "+result.getString(3)+" "+result.getString(4));
    This the gui i have created
    BookDatabase.java -->
    package my.bookdatabase;
    import java.sql.*;
    import javax.swing.*;
    public class BookDatabase extends javax.swing.JFrame {
    public BookDatabase()throws Exception {
    Class.forName("com.mysql.jdbc.Driver");
    Connection con=DriverManager.getConnection("jdbc:mysql://localhost:3306/books","root","");
    initComponents(); }
    private void jTextField1ActionPerformed(java.awt.event.ActionEvent evt) {                                           
    // TODO add your handling code here:
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                        
    // TODO add your handling code here:
    public static void main(String args[])throws Exception {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    try{
    new BookDatabase().setVisible(true);}
    catch(Exception e){}
    // Variables declaration - do not modify
    private javax.swing.JButton jButton1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JTextField jTextField2;
    private javax.swing.JTextField jTextField3;
    private javax.swing.JTextField jTextField4;
    private javax.swing.JTextField jTextField5;
    private javax.swing.JTextField jTextField6;
    private javax.swing.JTextField jTextField7;
    // End of variables declaration
    Now tell me what to do?
    i have only created the gui but unable to run it
    when i click on run only main.java is being executed
    but bookdatabase.java is not getting executed?
    what should i do please help?

  • Cannot insert data from local database into remote database using subquery

    I have two oracle databases on different host.
    One is version 8i in Host A and the other is 9i in Host B.
    First, I try to create a dblink in 8i to 9i, but it fail.
    Then, I create a dblink in 9i to 8i, it success.
    I have already tried some select statement in 9i to view the table in 8i, which is success and that means the dblink is really work.
    The sql statement is like
    Select * from table1@hostA
    Then I have tried running some INSERT statement in 9i, which is copy data from table 1 in 8i to table 2 in 8i, both tables are in 8i. The sql statement is like
    Insert INTO table2@hostA(field1, field2)
    select field1, field2
    from table1@hostA
    This also success.
    Also, I have tried to use the following INSERT statement
    Insert INTO table2@hostA(field1, field2) values ('XXX', 'XXX)
    This also success.
    However, when I try to insert data from table in 9i to table in 8i using the following INSERT statement, it failed.
    Insert INTO table2@hostA(field1, field2)
    select field1, field2
    from table1
    The statement can execute, but all the rows inserted with every field value equal to NULL. I have tried to run the select part, it can return the data. But when I run the INSERT statement above, the value inserted into table2 is all equal to NULL.
    One more thing, I discover that the databases are using different NLS_CHARACTERSET
    9i is AL32UTF8
    8i is WE8ISO8859P1
    Is this relevant to my problem?
    Does anyone know the solution about this problem?
    Thanks!!

    How is the best way to do this ?How much are you planning to send?
    You can use COPY command. Ensure that you have valid database link between two databases.
    Available options are:
    create - creates a new table. errors out if the destination table exists.
    replace - drop the destination table and re-creates with data.
    insert - inserts data if the destination table exists.
    append– appends data into an existing table.
    use set arraysize 5000 -The arraysize specifies the number of rows that SQL*Plus will retrieve from the database at one time.
    copy from scott/tiger@ORCL to scott/tiger@ORCL92 create new_emp using select * from emp;

  • Inserting data in remote database with remote procedure

    Hi,
    I have a problem concerning inserting data in a remote database (10g) by using a remote procedure.
    I call the procedure from a 11g database just by doing:
    begin
    getlocalfilecontent@remoteserv(param)
    commit;
    end;
    And it wouldn't insert the data into the remote table.
    While when I execute the same procedure locally on that remote database (10g)
    It does insert the data I want.
    What could be causing the problem here, am I overseeing something?
    Edited by: user7634309 on 14-Aug-2009 02:14

    Already thanks for the fast replies
    The dblink works perfectly. I can select data etc with this dblink.
    The procedure on the remote database is the same.
    One other thing, when I execute the remote procedure on local database 2nd time I get the
    ORA-ERR: ORA-02041: client database did not begin a transaction.
    This could be fixed by doing a commit or rollback but still no inserting in remote table.
    So to sum it up:
    What doesn't work:(no inserting)
    On 11g server that calls remotely the procedure
    begin
    getlocalfilecontent@remoteserv(parameter);
    commit;
    end;
    What works(does insert)
    On 10g server calling the procedure locally
    begin
    getlocalfilecontent(param);
    commit;
    end;
    So everything is the same except on the 11g server I add the dblink spec behiind the procedurecall

  • Error upon inserting data in sql Database using stream analytics job: Datatye error conversion

    I have a data passed into the Event Hubs, queried by stream analytic job inserting it into sql database. Upon running the job, it becomes idle a few seconds after since it has an error:
    Message: Conversion from 0 to System.Boolean failed. 0 was of type - System.Int64.
    Conversion from 0 to System.Boolean failed. 0 was of type - System.Int64. Exception message at level [1], exception number [0], parent exception number [0]: Conversion from 0 to System.Boolean failed. 0 was of type - System.Int64.
    The data type in one of my field(IsHistorical) is Boolean with a value of false. The data type of the column in the sql table where this is to be inserted is of type bit. In this case, it seems that stream analytics could not convert the value "false"
    into a bit data type when inserting in sql table.
    I'm wondering if you already have encountered this problem. Could you help me resolve this problem?
    Thank you.

    Azure Stream Analytics does not have Boolean type. On input we will convert JSON Boolean value to bigint.
    Here is the list of supported types and conversions:
    https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx 
    You  can fix this erro by changing column type from bit to int in SQL table schema.

  • Use Spry to insert data into a database?

    I'm new to Spry, so I have a question:
    Can I use Spry to insert data into a MySQL database without
    reloading the site?
    Reading data from XML file works fine, but I don't know if
    writing is possible..

    I don't get it... I tried this:
    <script type="text/javascript" src="spry/xpath.js"
    /></script>
    <script type="text/javascript" src="spry/SpryData.js"
    /></script>
    <script type="text/javascript">
    /* <![CDATA[ */
    function subscribe() {
    var subscribe;
    var info =
    document.getElementById("subscription_info").value;
    if (document.getElementsByName("subscription")[0].checked ==
    true) {
    subscribe = "ja";
    else {
    subscribe = "nein";
    var dsSubscribe = new
    Spry.Data.XMLDataSet("include/inc_subscribe.php?subscribe="+subscribe+"&info="+info+"&sit e=<?=$_GET['site'];?>",
    "subscription/ok");
    /* ]]> */
    </script>
    <div id="infos">
    <input type="radio" name="subscription" value="ja" />
    dabei
    <input type="radio" name="subscription" value="nein"
    /> nicht dabei
    <input type='text' class='text'
    id='subscription_info_text' />
    <input type='submit' id="subscription_submit"
    value='Eintragen' onClick="subscribe()" />
    </div>
    But the data isn't inserted into the mysql database. When I
    start the php script directly, it works, so I think it's not a php
    problem.

  • How to insert data in to database table depends on Indicator

    Hi All,
    I am working on Idoc to JDBC scenario. I am collecting & bundling(Using BPM) all the idocs and inserting the data in to the different database tables. Up to now my scenario is working fine. Now the problem is before inserting the data I have to check one of the Table field. If the field indicator is u201CYESu201D then only I have to insert data otherwise I have to wait up to the indicator field needs to be changed. Once indicator is u201CYESu201D then I have to insert all the collected idocs in to the database tables.
             Can you please let me know how can I achieve this?
    Thanks & Regards,
    Purushotham

    Hi,
    There are two ways you can achieve this.
    1. Instead of directly calling SQL statements write a stored procedure on database which will have first select query and then based on its result fire the insert query.For processing any logic like this stored procedure is the best approach. You can call SP from your jdbc receiver channel
    2. By using a BPM. In this case you have to first fire a select query in the database and based on the response from database, fire the insert statement from bpm only. basically you will be having 2 send steps to database. One with Select statement and another with insert statement. You need to handle your logic in BPOM in this case.
    Hope this answers your question.
    Thanks
    Amit

  • Inserting date in the database

    Hello!
    I am getting one error ie SQLException which says"Optional feature not implimented ",while inserting date in a table in a database using PreparedStatement.setDate() method.please help me because of this one error my entire project is not moving forward

    hello prathu4,
    cud be more specific about which database ur trying to save the records ... check whether the date ur trying to save is in the right format as reqd by the database.

  • Insert data to Logical Database

    Hi all,
    can i insert the data throught logical database ? how to insert ?
    regards,
    Luke

    Hi,
    Check the below link .
    Sample program for fetching data using LDB
    http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9be035c111d1829f0000e829fbfe/content.htm
    Regards,
    Maha

Maybe you are looking for

  • Error while  binding  data into Node which is Created  Dynamically.

    Hi  All We have a scenario , which is  to create the Context and its attribute dynamically at runtime. When I create the context with structure. Using the method  <b>‘create_nodeinfo_from_struct()’</b>.here the attributes under the created node is au

  • Number of Copies in Crystal Report Layout

    Hi all, Is it possible to show the number of copy in a Crystal Report layout? I mean: I am creating an invoice layout in Crystal Reports for SAP Business One 8.8. Customer wants to print always 3 copies, but with the word "Copy" in second and third d

  • DVD:  How to eliminate chapter, pause display

    I need to give a presentation on using a dvd. I want to skip to the next chapter and pause in certain areas, but do not want the audience to see the "Chapter 2" or pause sign that is usually on the top left corner of the screen. Is there a way to shu

  • Converted iVMP user...how to best catalog in Aperture

    version 1.5 got my attention. I have played around with it some, but am not 100% sure about it. I am currently using iView MP and like the very deep organization that is possible. Granted I sure don't need it. A bit about how I do things.... -Files a

  • MMPV for last month of year

    Hi Guru's I am going to open MM period through MMPV for jaunary 2010. i am puting period = 01 and Fiscal year 2010 and getting error message that " 2010 is not your current cleander year. so what is my fiscal year in this case?? seeking your help. Re