Union clause in Informix JDBC

Hello for all
I'm using informix JDBC driver and when I make a select with union it returns the error messages:
java.sql.SQLException: Corresponding column types must be compatible for each UNION statement.
java.sql.SQLException: Must have the same number of selected columns in each UNION element.
Please, help me
Thanks

this is a problem in your SQL-statement:
there should be equal number of columns and they should be all of the same type:
select id, description, url from table1
union
select description from table2is wrong....
select id, description, url from table1
union
select number,name, address from table2is right, because the number of columns is equal and the type is equal...
Consider this: you are appending the output of one query with another.... it all should match in order for it to be 1 table....
hth,
SurfMan

Similar Messages

  • Re: adding Union clause to existing seeded VO

    Hi all,
    we have a requirement to add union clause to existing VO which is standard one.. please help me if it is possible...
    regards,
    Raghava.

    Hi,
    Following is the error stack for the code i wrote above....
    we have a standard EO based VO and we need to add union clause to the VO query.. is there any approach to achieve this except extending VO?
    The VO query is...
    SELECT pca.COST_ALLOCATION_ID,
    pca.EFFECTIVE_START_DATE,
    pca.EFFECTIVE_END_DATE,
    pca.BUSINESS_GROUP_ID,
    pca.COST_ALLOCATION_KEYFLEX_ID,
    pca.ASSIGNMENT_ID,
    pca.PROPORTION as proportion,
    pca.REQUEST_ID,
    pca.PROGRAM_APPLICATION_ID,
    pca.PROGRAM_ID,
    pca.PROGRAM_UPDATE_DATE,
    pca.LAST_UPDATE_DATE,
    pca.LAST_UPDATED_BY,
    pca.LAST_UPDATE_LOGIN,
    pca.CREATED_BY,
    pca.CREATION_DATE,
    pca.OBJECT_VERSION_NUMBER,
    pca.ROWID
    FROM PAY_COST_ALLOCATIONS_F pca
    WHERE to_date(:1,'YYYY-MM-DD') between effective_start_date and effective_end_date and :2 = assignment_id
    The Union Clause needed is
    and 1 = 2
    union
    (select cost_allocation_flex_id,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null from test_table)
    I tried it thru CO as below...
    OAApplicationModule oa =(OAApplicationModule) oapagecontext.getApplicationModule(oawebbean);
    OAViewObject vo = (OAViewObject)oa.findViewObject("CostingEntryDetailVO");
    String whereclause ="COST_ALLOCATION_KEYFLEX_ID=6217) " +
    " AND 1=2 " +
    " union (( select cost_allocation_flex_id,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null from test_table )";
    if (vo!=null)
    vo.setWhereClause(whereclause);
    vo.executeQuery();
    The error stack is:
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT pca.COST_ALLOCATION_ID,
    pca.EFFECTIVE_START_DATE,
    pca.EFFECTIVE_END_DATE,
    pca.BUSINESS_GROUP_ID,
    pca.COST_ALLOCATION_KEYFLEX_ID,
    pca.ASSIGNMENT_ID,
    pca.PROPORTION as proportion,
    pca.REQUEST_ID,
    pca.PROGRAM_APPLICATION_ID,
    pca.PROGRAM_ID,
    pca.PROGRAM_UPDATE_DATE,
    pca.LAST_UPDATE_DATE,
    pca.LAST_UPDATED_BY,
    pca.LAST_UPDATE_LOGIN,
    pca.CREATED_BY,
    pca.CREATION_DATE,
    pca.OBJECT_VERSION_NUMBER,
    pca.ROWID
    FROM PAY_COST_ALLOCATIONS_F pca
    WHERE to_date(:1,'YYYY-MM-DD') between effective_start_date and effective_end_date and :2 = assignment_id) QRSLT WHERE (nullCOST_ALLOCATION_KEYFLEX_ID=6217 AND 1=2 union (( select cost_allocation_flex_id,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null from test_table )) ORDER BY effective_start_date
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:612)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2513)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1894)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    ## Detail 0 ##
    java.sql.SQLSyntaxErrorException: ORA-00907: missing right parenthesis
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
         at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1189)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3431)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:860)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4559)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:892)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:806)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:800)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3643)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
         at genus.oracle.apps.pay.selfservice.assignmentcosting.webui.xxxAssignmentCostingEntryCO.processRequest(xxxAssignmentCostingEntryCO.java:80)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:596)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2513)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1894)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    java.sql.SQLSyntaxErrorException: ORA-00907: missing right parenthesis
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
         at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1189)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3431)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:860)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4559)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:892)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:806)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:800)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3643)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
         at genus.oracle.apps.pay.selfservice.assignmentcosting.webui.xxxAssignmentCostingEntryCO.processRequest(xxxAssignmentCostingEntryCO.java:80)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:596)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2513)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1894)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)

  • Select query with UNION clause in database adapter

    Friends,
    I have got a SQL query with two UNION clause withing it. like
    select a,b,c
    from a
    union
    select a,b,c
    from b
    The schema generated is like below in sequence
    <element>a</element>
    <element>b</element>
    <element>c</element>
    <element>a</element>
    <element>b</element>
    <element>c</element>
    So, the columns from different select queries joined with UNION clause are all appeared in schema instead of the distinct columns.
    Is there any way around to solve this issue ? or will need to with DB function/procedure.

    I think I know what you are saying but your example doesn't make sense, your SQL should produce something like
    I had to change a, b, c with elementA, elementB, elementC as a and b are reserved html tags.
    <elementA>DateA</elementA>
    <elementB>DataB</elementB>
    <elementC>DataC</elementC>
    ...What is the result of the query when you run it in SQLPlus? Is it what you expect?
    cheers
    James

  • SQL statement with union clause

    Hi,
    I have a scenario where i need to generate a sql statement with UNION .
    Eg:
    SELECT B.YY_ID,
    FROM XXXX.YY B
    WHERE (B.YY_TY= 'as')
    UNION
    SELECT B.YY_ID
    FROM XXXX.YY_ALT_NAME A, XXXX.YY B
    WHERE (A.YY_TY= 'zx'
    AND (B.YY_ID=A.YY_ID)"
    I tried ns1:table1() union ns3:table2() in XQuery.
    But it is pushdown as 2 seperate sqls.
    Is it possible to create XQuery that pushdown as SINGLE SQL statement with union clause ?
    Thanks

    No. See 3.1.1.5 in the document I referenced in your previous post.

  • UCCX 8 access db_cra from script add informix jdbc driver

    Hi,
    I want to use the db_cra database for the last agent routing from the call flow script.
    I will run a query which serach wihtin the last 24 hours which agent talked to the customer the last time.
    The problem is, that I'm not able to add the informix db into the uccx database subsystems.
    I can only select these driver classes:
    net.sourceforge.jtds.idbc.driver
    com.ibm.db2.jcc.DB2Driver
    oracle.jdbc.driver.OrcaleDriver
    com.sybase.jdbc2.jdbc.SybDriver
    But for the Informix Db I think I would need  the driver class:
    com.informix.jdbc.IfxDriver.
    Has anyone a idea how to add a driver class or how to access the db_cra from the script?
    I know that it is possible to use a differnt database (like MSSQL) and write each time a agent gets a call the data to this db and access this one for last agent routing functions. But I want to use the db_cra for this.
    thanks
    Markus

    Hi,
    there is no way to do it that way.
    You can't access the Informix DB directly from UCCX script.
    But you can use a SQL server as a middleware. So you have to setup a SQL server and add the Informix db as a linked server.
    Now you should be able to access the SQL server from the UCCX script.
    Kind regards
    Markus
    CONET Solutions GmbH
    Markus Schweitzer,
    Theodor-Heuss-Allee 19, 53773 Hennef
    Tel.: +49 2242 939-676, Fax: +49 2242 939-393
    Mobil: +49 173 5486337
    Internet: http://www.conet.de, mailto: [email protected]

  • Union clause cut off decimal places?

    Dear all,
    I am trying to create a query with "union" clause (to join 3 parts of records).
    If I run them separately, I got the figures in Qty field (of Bill of Material) with 3 decimal places.
    However, I only got 2 decimal places, when I combined the 3 sub-queries.
    Any idea please?
    Many thanks
    Yang
    Edited by: Y on Jul 10, 2009 4:16 PM

    Dear all,
    I just tried to create a view in the database for the "union" query, and I can see it is a 6 decimal numeric field from the SQL sever management studio, as all data are displayed fine.
    Unfortunately, I queried this view in SAP query manager, and it is still showing only 2 decimals ... 
    I am very keen to know if there is a solution.
    However, for now, I have let the view join the ITT1 table again in SAP to use the qantities figures.
    It seems that SAP only shows 2 digit for numeric fields, unless it is getting data from a generic data table?
    Cheers
    Yang

  • Informix JDBC Problem

    Hi!
    We're using Informix 7 + WL6sp1 + Informix JDBC Driver v2.2. We have a connection
    pool and connect to the pool using:
    Driver myDriver = (Driver) Class.forName("weblogic.jdbc.pool.Driver").newInstance();
    con = DriverManager.getConnection("jdbc:weblogic:pool:poolname");
    The problem is as follows:
    Every time we modify a stored procedure (DROP ... CREATE ...) our app fails when
    trying to use that stored procedure. We have to shut down the server and restart
    it in order to keep going.
    The stack trace:
    java.sql.SQLException: SPL routine(disponibilidad_hot) is no longer valid.
    at com.informix.jdbc.IfxSqli.addException(IfxSqli.java, Compiled Code)
    at com.informix.jdbc.IfxSqli.receiveError(IfxSqli.java, Compiled Code)
    at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java, Compiled Code)
    at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java, Compiled Code)
    at com.informix.jdbc.IfxSqli.sendStatementQuery(IfxSqli.java, Compiled
    Code)
    at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java, Compiled
    Code)
    at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java, Compiled
    Code)
    at com.informix.jdbc.IfxResultSet.executeQuery(IfxResultSet.java, Compiled
    Code)
    at com.informix.jdbc.IfxStatement.executeQueryImpl(IfxStatement.java,
    Compiled Code)
    at com.informix.jdbc.IfxPreparedStatement.executeQuery(IfxPreparedStatement.java,
    Compiled Code)
    at weblogic.jdbc.pool.PreparedStatement.executeQuery(PreparedStatement.java,
    Compiled Code)
    at es.gesfor.bd.ObtenerDatos.ejecutar(ObtenerDatos.java, Compiled Code)
    at es.gesfor.servlets.FiltrosServlet.obtenerHoteles(FiltrosServlet.java,
    Compiled Code)
    at es.gesfor.servlets.FiltrosServlet.doPost(FiltrosServlet.java, Compiled
    Code)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
    Compiled Code)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java,
    Compiled Code)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java,
    Compiled Code)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, Compiled
    Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)

    Hi Federico,
    It happens because weblogic caches prepred statements.
    Though the name of the stored procedure remains the same,
    it's a different object from the database point of view, which is
    why a mismatch between cache and database occurs.
    You may consider setting size of the prepared statement
    cache to zero. That should solve the problem. Later, when
    the SP code is stabilized, you will be able to turn in on back.
    Regards,
    Slava Imeshev
    "Federico Dios" <[email protected]> wrote in message
    news:[email protected]...
    >
    Hi!
    We're using Informix 7 + WL6sp1 + Informix JDBC Driver v2.2. We have aconnection
    pool and connect to the pool using:
    Driver myDriver = (Driver)Class.forName("weblogic.jdbc.pool.Driver").newInstance();
    con = DriverManager.getConnection("jdbc:weblogic:pool:poolname");
    The problem is as follows:
    Every time we modify a stored procedure (DROP ... CREATE ...) our appfails when
    trying to use that stored procedure. We have to shut down the server andrestart
    it in order to keep going.
    The stack trace:
    java.sql.SQLException: SPL routine(disponibilidad_hot) is no longer valid.
    at com.informix.jdbc.IfxSqli.addException(IfxSqli.java, CompiledCode)
    at com.informix.jdbc.IfxSqli.receiveError(IfxSqli.java, CompiledCode)
    at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java, CompiledCode)
    at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java, CompiledCode)
    at com.informix.jdbc.IfxSqli.sendStatementQuery(IfxSqli.java,Compiled
    Code)
    at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java,Compiled
    Code)
    at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java,Compiled
    Code)
    at com.informix.jdbc.IfxResultSet.executeQuery(IfxResultSet.java,Compiled
    Code)
    atcom.informix.jdbc.IfxStatement.executeQueryImpl(IfxStatement.java,
    Compiled Code)
    atcom.informix.jdbc.IfxPreparedStatement.executeQuery(IfxPreparedStatement.jav
    a,
    Compiled Code)
    atweblogic.jdbc.pool.PreparedStatement.executeQuery(PreparedStatement.java,
    Compiled Code)
    at es.gesfor.bd.ObtenerDatos.ejecutar(ObtenerDatos.java, CompiledCode)
    ates.gesfor.servlets.FiltrosServlet.obtenerHoteles(FiltrosServlet.java,
    Compiled Code)
    at es.gesfor.servlets.FiltrosServlet.doPost(FiltrosServlet.java,Compiled
    Code)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java,Compiled Code)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java,Compiled Code)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    Compiled Code)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java,
    Compiled Code)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    Compiled Code)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java,Compiled
    Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, CompiledCode)

  • Implement a UNION clause

    Hi All,
    My requirement is simple.
    I want a Z table which combines the distinct Cost Center and Employee Pernr combination from two tables into one ztable.
    e.g.
    table 1..................................
    Cost Center         Pernr
    A                         emp1
    A                         emp2
    A                         emp3
    B                         emp1
    C                         emp3
    table 2.................................
    Cost Center         Pernr
    A                         emp3
    B                         emp1
    B                         emp2
    B                         emp3
    Resultant ZTable.................
    Cost Center         Pernr
    A                         emp1
    A                         emp2
    A                         emp3
    B                         emp1
    B                         emp2
    B                         emp3
    C                         emp3
    In SQL a simple UNION clause will do the trick, but in ABAP i am not able to achieve it.
    Please advise.

    Hi Saqi....
    types : begin of ty_tab,
          cc type string,
          emp type string,
         end of ty_tab.
    data : it_tab1 type table of ty_tab.
    data : it_tab2 type table of ty_tab.
    data : it_result type table of ty_tab.
    data : wa_tab type ty_tab.
    clear wa_tab.
    wa_tab-cc = 'A'.
    wa_tab-emp = 'emp1'.
    append wa_tab to it_tab1.
    clear wa_tab.
    wa_tab-cc = 'A'.
    wa_tab-emp = 'emp2'.
    append wa_tab to it_tab1.
    clear wa_tab.
    wa_tab-cc = 'A'.
    wa_tab-emp = 'emp3'.
    append wa_tab to it_tab1.
    clear wa_tab.
    wa_tab-cc = 'B'.
    wa_tab-emp = 'emp1'.
    append wa_tab to it_tab1.
    clear wa_tab.
    wa_tab-cc = 'C'.
    wa_tab-emp = 'emp3'.
    append wa_tab to it_tab1.
    clear wa_tab.
    wa_tab-cc = 'A'.
    wa_tab-emp = 'emp3'.
    append wa_tab to it_tab2.
    clear wa_tab.
    wa_tab-cc = 'B'.
    wa_tab-emp = 'emp1'.
    append wa_tab to it_tab2.
    clear wa_tab.
    wa_tab-cc = 'B'.
    wa_tab-emp = 'emp2'.
    append wa_tab to it_tab2.
    clear wa_tab.
    wa_tab-cc = 'B'.
    wa_tab-emp = 'emp3'.
    append wa_tab to it_tab2.
    clear wa_tab.
    loop at it_tab1 into wa_tab.
      append wa_tab to it_result.
      clear wa_tab.
      endloop.
    clear wa_tab.
    loop at it_tab2 into wa_tab.
      append wa_tab to it_result.
      clear wa_tab.
      endloop.
      sort it_result by cc emp.
      delete adjacent duplicates from it_result comparing cc emp.
      clear wa_tab.
    loop at it_result into wa_tab.
      write : wa_tab-cc.
      write : wa_tab-emp.
      clear wa_tab.
      endloop.
    Hope this above code helps you...
    It is able to create a union of the two tables...
    Please revert back in case of any issues...

  • Concurrent Query through Informix JDBC

    Hi,
    I am using Informix Jdbc in my JSP ( Driver Downloaded from IBM Site). In case of concurrent calls to that Jsp , I am getting mixed result in the client site. It's written in the Informix JDBC Spec that "The Same statement or resultset instance cannot be accessed concurrently accross the threads". But what is the alternative way? Anybody found any solution....Any help appriciated.

    Hi k_dey,
    I don't use Informix JDBC driver, but looking through the Informix JDBC Driver Programmer's Guide UNIX and Windows Environments, V2.21, it appears that statement caching is enabled by setting the STMT_CACHE environment variable to 1 (one). Unfortunately, I couldn't find anything in the guide on how to disable statement caching, so I searched the archives of the "comp.databases.informix" newsgroup (for the word 'STMT_CACHE') and it seems that if you set it to 0 (zero), it disables statement caching.
    The guide says that you can set these environment variables through JDBC by either including NAME=VALUE pairs in the database connection URL, or supplying a "java.util.Properties" object as a parameter to the "getConnection()" method (in class "java.sql.DriverManager").
    According to the guide, this is the format for the URL:
    jdbc:informix-sqli://[{ip-address|host-name}:port-number][dbname]:
    INFORMIXSERVER=server-name;[user=user;password=password]
    [;name=value[;name=value]...]
    So I guess you just need to write:
    ;STMT_CACHE=0instead of
    ;name=valueAnd here is some slightly modified code, also taken from the guide:
    Properties pr = new Properties();
    pr.put("STMT_CACHE","0");
    conn = DriverManager.getConnection(newUrl, pr);The guide says that you must use only one of the above two methods, i.e. either set the environment variable in the URL, or use the "Properties" parameter.
    Hope this helps.
    Good Luck,
    Avi.

  • Informix JDBC Connection

    I am using WebLogic 6.1sp2 and am trying to configure a JDBC connection to an Informix Database. How do I need to configure the database in order for the WebLogic JDBC drivers to be able to connect to it?

    InformixPool(NonXA):
    <JDBCConnectionPool
    DriverName="com.informix.jdbc.IfxDriver"
    InitialCapacity="3"
    LoginDelaySeconds="1"
    MaxCapacity="10"
    Name="ifxPool"
    Password="{3DES}EcGd4vppW7ClP0kGgLIm3A=="
    Properties="user=informix;url=jdbc:informix-sqli://172.18.41.85:1543/syutils:informixserver=lcsol15;password=informix;dataSourceName=infPool;portNumber=1543;databaseName=sysutils;serverName=lcsol15;ifxIFXHOST=172.18.41.85"
    Targets="myserver"
    URL="jdbc:informix-sqli://172.18.41.85:1543/sysutils:informixserver=lcsol15"/>
    InformixDataSource(NonXA):
    <JDBCDataSource JNDIName="infPool1" Name="infPool1"
    PoolName="ifxPool" Targets="myserver"/>
    InformixXAConnectionPool:
    <JDBCConnectionPool CapacityIncrement="1"
    DriverName="com.informix.jdbcx.IfxXADataSource"
    InitialCapacity="5"
    MaxCapacity="10"
    Name="infPool"
    Properties="user=informix;url=jdbc:informix-sqli://172.18.41.85:1543/sys
    utils:informixserver=lcsol15;password=informix;dataSourceName=infPool;portNumber
    =1543;databaseName=sysutils;serverName=lcsol15;ifxIFXHOST=172.18.41.85"
    RefreshMinutes="10"
    SupportsLocalTransaction="true"
    Targets="myserver"
    TestConnectionsOnReserve="true"
    TestTableName="emp"/>
    InformixXADataSource:
    <JDBCTxDataSource JNDIName="infPool" Name="infPool"
    PoolName="infPool" Targets="myserver"/>
    use similar configuration in config.xml for creating informix connection pool using weblogic in 610sp2.
    Thanks,
    Mitesh
    Jonathan Mason wrote:
    I am using WebLogic 6.1sp2 and am trying to configure a JDBC connection to an Informix Database. How do I need to configure the database in order for the WebLogic JDBC drivers to be able to connect to it?

  • Informix JDBC driver

    Hi,
    I am connecting to Informix server using JDBC in a stand alone application. After every 20 or 25 connections being made to database, before issuing a new connection, JVM takes about 3 to 4 minutes between issuing or getting the connections. if I use the verbose option, this is what it seems to loop at before proceding, any clue on what might be happening.
    [Signaling in VM: java/lang/reflect/InvocationTargetException, message: ]
         at java.lang.reflect.Constructor.newInstance(Native Method)
         at com.informix.jdbc.IfxDriver.connect(IfxDriver.java:249)
         at java.sql.DriverManager.getConnection(DriverManager.java:543)
         at java.sql.DriverManager.getConnection(DriverManager.java:163)
         at com.walmart.javaapps.DBInformix.doIt(DBInformix.java:3829)
         at com.walmart.javaapps.DBInformix.main(DBInformix.java:3803)

    I tried, you have better chance of finding something
    on google than IBM site.
    We have escalated the issue to IBM, we are waiting for
    response from them, and waiting to find out what they
    have to say about it.
    If i hear somethign ,I will post it here.sorry to hear that.
    do you have source for the driver? because i'd take a look at line 249 of com.informix.jdbc.IfxDriver and see what the heck's it's doing.

  • WebLogic Informix JDBC driver query

    We are developing an application with WL6.1 Express. One of the databases
    we need to connect to is Informix 7.2. Since WL's jDriver can work with
    Informix, I'd assume we do not need to buy any additional drivers from IBM.
    1) Is my assumption correct?
    2) Not having worked with Informix before, what needs to be done on the
    Informix server to enable this connection?
    3) Is the WL jDriver for Informix reliable or are we better off buying the
    Informix JDBC driver?
    Appreciate any advice on the matter, thanks.

    Kai wrote:
    >
    We are developing an application with WL6.1 Express. One of the databases
    we need to connect to is Informix 7.2. Since WL's jDriver can work with
    Informix, I'd assume we do not need to buy any additional drivers from IBM.
    1) Is my assumption correct?yes.
    2) Not having worked with Informix before, what needs to be done on the
    Informix server to enable this connection?that should be documented in our stuff.
    3) Is the WL jDriver for Informix reliable or are we better off buying the
    Informix JDBC driver?The one from Informix is better. Last time I checked, Informix's driver was free.
    Unless it is expensive, I recommend it.
    Joe Weinstein
    >
    Appreciate any advice on the matter, thanks.--
    B.E.A. is now hiring! (12/14/01) If interested send a resume to [email protected]
    DIRECTOR OF PRODUCT PLANS AND STRATEGY San Francisco, CA
    E-SALES BUSINESS DEVELOPMENT REPRESENTATIVE Dallas, TX
    SOFTWARE ENGINEER (DBA) Liberty Corner, NJ
    SENIOR WEB DEVELOPER San Jose, CA
    SOFTWARE ENGINEER (ALL LEVELS), CARY, NORTH CAROLINA San Jose, CA
    SR. PRODUCT MANAGER Bellevue, WA
    SR. WEB DESIGNER San Jose, CA
    Channel Marketing Manager - EMEA Region London, GBR
    DIRECTOR OF MARKETING STRATEGY, APPLICATION SERVERS San Jose, CA
    SENIOR SOFTWARE ENGINEER (PLATFORM) San Jose, CA
    E-COMMERCE INTEGRATION ARCHITECT San Jose, CA
    QUALITY ASSURANCE ENGINEER Redmond, WA
    Services Development Manager (Business Development Manager - Services) Paris, FRA; Munich, DEU
    SENIOR SOFTWARE ENGINEER (PLATFORM) Redmond, WA
    E-Marketing Programs Specialist EMEA London, GBR
    BUSINESS DEVELOPMENT DIRECTOR - E COMMERCE INTEGRATION San Jose, CA
    MANAGER, E-SALES Plano, TX

  • Order By clause in Receiver JDBC adapter

    Hello All,
    Is it possible to construct a select statement that uses an Order by clause in JDBC receiver adapter?
    ex : I would like the JDBC adapter to from a query as follows:
    <b>Select * from EMP where sal = 10000 order by empid</b>
    We are able to construct the select statement without order by clause but not with it.
    Can any one suggest me how to do it. This is bit urgent for us.
    Thanks
    Abinash

    hi,
    did you try with
    SQL_DML
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    Regards,
    michal

  • INFORMIX JDBC Connectivity

    Hi,
    I try to connect to INFORMIX SE 7.25 Machine using con url:
    jdbc:informix-sqli://hostIP:port/dbname:INFORMIXSERVER=servername;user=abc;password=xyz
    The problem is that my database is not in the users' assigned space in the server. Instead it is in a different location/directory in the same server.
    Is there a way I can point or use the full path of my database. How and where do I do that.
    If I do:
    sqli://hostIP:port/data/dbname:INFORMIXSERVER=servername;user=abc;password=xyz
    I get error.
    '/data' is the directory on the Linux server where the database is residing.
    If some one knows Informix DBase well, will the DBPATH env variable will resolve this.
    any help will be appreciated
    cheers
    Hassan

    I've got it sorted.
    If anyone is interested, here it is how.
    Use javax.sql.DataSource connections as that API is more flexible and allow you to specify the full path of the Database.
    Hassan

  • Informix JDBC logging fails at WLS startup

    Hi,
    I am trying to find out how to see how many db queries I'm doing
    for a CMP finder. I am using the Informix driver I downloaded
    from BEA. When I start up WebLogic, I get the following in the
    jdbc.log file:
    DriverManager.initialize: jdbc.drivers = null
    JDBC DriverManager initialized
    registerDriver:
    driver className=weblogic.jdbc.informix4.Driver,weblogic.jdbc.informix4.Driver@20e990]
    SQLException: SQLState() vendor code(-255)
    weblogic.jdbcbase.informix4.InformixException: Informix error: -255 minor code=[0]
    [ at processUpdate <Error> ] See Informix error codes for explanation
    The Informix error manual says -255 means this was not in a
    transaction. It seems to imply that WLS, in trying to start
    logging, was ending a transaction.
    The rest of the stacktrace shows:
    at weblogic.jdbcbase.informix4.Statement.processError Statement.java:1579)
         at weblogic.jdbcbase.informix4.Statement.processUpdate(Statement.java:1344)
         at weblogic.jdbcbase.informix4.Statement.getMoreResults(Statement.java:1100)
         at weblogic.jdbcbase.informix4.Statement.execute(Statement.java:243)
         at weblogic.jdbcbase.informix4.Connection.findDBType(Connection.java:173)
         at weblogic.jdbc.informix4.Driver.newConnection(Driver.java:45)
         at weblogic.jdbcbase.informix4.BaseDriver.connect(BaseDriver.java:96)
         at

    Hi,
    I am trying to find out how to see how many db queries I'm doing
    for a CMP finder. I am using the Informix driver I downloaded
    from BEA. When I start up WebLogic, I get the following in the
    jdbc.log file:
    DriverManager.initialize: jdbc.drivers = null
    JDBC DriverManager initialized
    registerDriver:
    driver className=weblogic.jdbc.informix4.Driver,weblogic.jdbc.informix4.Driver@20e990]
    SQLException: SQLState() vendor code(-255)
    weblogic.jdbcbase.informix4.InformixException: Informix error: -255 minor code=[0]
    [ at processUpdate <Error> ] See Informix error codes for explanation
    The Informix error manual says -255 means this was not in a
    transaction. It seems to imply that WLS, in trying to start
    logging, was ending a transaction.
    The rest of the stacktrace shows:
    at weblogic.jdbcbase.informix4.Statement.processError Statement.java:1579)
         at weblogic.jdbcbase.informix4.Statement.processUpdate(Statement.java:1344)
         at weblogic.jdbcbase.informix4.Statement.getMoreResults(Statement.java:1100)
         at weblogic.jdbcbase.informix4.Statement.execute(Statement.java:243)
         at weblogic.jdbcbase.informix4.Connection.findDBType(Connection.java:173)
         at weblogic.jdbc.informix4.Driver.newConnection(Driver.java:45)
         at weblogic.jdbcbase.informix4.BaseDriver.connect(BaseDriver.java:96)
         at

Maybe you are looking for

  • File process - some files missing in processing

    Hi, I am using the below code to create drives on network. This exe file is used by ILM as part batch job. The job will pick input files from local drive. Query: While executing this job some input files are missing so for them drive is not created.

  • Debugging  of Tuxedo Service in C/C++

    Hi All, I am trying to debug tuxedo service (C code on HP-UNIX 11.00) in the following ways : shprod25 48: gdb csbfp001 -> csbfp001 is the application service exe (gdb) b GetRecircRow -> GetRecircRow is the function name (gdb) r Starting program: /ap

  • Converting XML doc to TreeNode object

    Hi, I am trying to build a Tree in Workshop 8.1 using netui:tree tag (for data in an XML file). The BEA docs say that we have to assign the TreeNode object to the 'tree' attribute in the netui:tree tag. What is the best way to translate the XML doc i

  • How to apply patch on Kernal for ECC 5.0?

    Hi, I have installed a new SAP ECC 5.0 system. The release verion shows the current Release as 6.4 and Patch Level 43. Now I want to apply the latest patch on Kernal. Can any one please provide me the steps for 1). How to proceed with the Kernal upga

  • Improve the performance of the data activation on DSO.

    Hi, I would like to improve the performance of the data activation on DSO. 1000 records should be uploaded by 10 minutes. Now it takes 10 minutes to activate data in DSO. And it is strange that it takes long time ( about 9 minutes) before starting ac