Creating metering data graph

Hi all,
I am trying to create quite a simple BI Beans Graph presenting metering data, but I can't seem to be able to figure out how to do this with ViewObject(s) as a data source.
Data would consist of two tables, propably two ViewObjects also. First table holds general information about the metering, such as name and unit of measurement. The other table holds the actual measurement values and timestamp for these.
Graph should be simple line graph where one axis shows the measurement values and the other timestamps. Legend should hold the names of meterings. There should be possible to select several meterings to be shown at the same time.
Can someone guide me how to do this. I've managed to do this somehow with one metering like this:
graph.setDataRowShownAsASeries(false);
JUSingleTableGraphBinding model =
JUSingleTableGraphBinding.getInstance, panelBinding,
graph,JUSingleTableGraphBinding.VERTICAL_ABSOLUTE_LINE,
"MeteringDataView", null,"MeteringDataViewIter",
new String[] { "Value","Value"},"ValueStartTime",
new String[] {"","Metering"});
graph.setDataSource(model);
This isn't just enough so I really appreciate your help.
Janne

Are you using OLAP data in the context of JDeveloper? If so, you should not need to use a ViewObject as the datasource. You can do a query specifically for the graph. If you want the graph to share the query with a crosstab you need to get the query object from the crosstab and set it on the graph.

Similar Messages

  • I would like to know how i can create a bell graph with out using sub VIs, the data that i created consists in 500 readings with values of 0 to 100, i calculated the mean value and standard diviation. I hope some one can help me

    I would like to know how i can create a bell graph with out using sub VIs, the data that i created consists in 500 readings with values of 0 to 100, i calculated the mean value and standard diviation. I hope some one can help me

    Here's a quick example I threw together that generates a sort-of-bell-curve shaped data distribution, then performs the binning and plotting.
    -Kevin P.
    Message Edited by Kevin Price on 12-01-2006 02:42 PM
    Attachments:
    Binning example.vi ‏51 KB
    Binning example.png ‏12 KB

  • How to create a pie graph in 10g or 9i forms using beans??

    Hi..
    Please can anyone show me how to use pie graphs in oracle 10g or 9i forms using bean?
    i also want to know how to put data in pie graph.. as u know in column graph for example we have an x-axis and y-axis,and in pie there is no x-axis and y-axis.. so how i can put the same data in pie graph.. and also i may need more than one value for the x-axis or the y-axis to use in pie graph so how can i do it??
    i use set_custom_property to call properties in beans.
    I would so thankful for how can answer me.. please its urgent
    Thanks.

    there are some other posts to this topic - How to create a pie graph in 10g or 9i forms using beans?? and so on.
    use the search function of this forum. this may the fastest way for your urgent question

  • Creating multiple Line Graph having common values..

    Hi...
    I've created one application process for creating Multiple Line Graph.
    And i've integreted two tables in this graph, where values may be common for both the tables. In this case, for common values, instead of getting overlapped I'm getting scattered graph(its totally abnormal). Please help me if you 've any idea about this issue.....?
    Please go through the App Process and the output of the SQL query.
    In output of the query, in the NAME column "Feb-2010" is common.
    This is the SQL query OUTPUT:_
    TABLE 1
    NAME VALUE
    Sept-2009 100
    Oct-2009 95
    Nov-2009 98
    Feb-2010 97
    TABLE 2
    NAME VALUE
    Jan-2010 93
    Feb-2010 100
    Mar-2010 98
    Application Process :_
    DECLARE
    BEGIN
    OWA_UTIL.mime_header ('text/xml', FALSE);
    OWA_UTIL.http_header_close;
    HTP.p ('<?xml version = "1.0" encoding="utf-8" standalone = "yes"?>');
    HTP.p ('<anychart>');
    HTP.p ('<settings>');
    HTP.p ('<animation enabled="True"/>');
    HTP.p ('</settings>');
    HTP.p ('<charts>');
    HTP.p ('<chart plot_type="CategorizedVertical">');
    HTP.p ('<data_plot_settings default_series_type="Line">');
    HTP.p ('<line_series>');
    HTP.p ('<marker_settings>');
    HTP.p ('<marker type="None" />');
    HTP.p ('<states>');
    HTP.p ('<hover>');
    HTP.p ('<marker type="Diamond" />');
    HTP.p ('</hover>');
    HTP.p ('</states>');
    HTP.p ('</marker_settings>');
    HTP.p ('<tooltip_settings enabled="True">');
    HTP.p ('<format>Year {%Name}{enabled:false} {%SeriesName} - {%Value}{numDecimals:0}%</format>');
    HTP.p ('</tooltip_settings>');
    HTP.p ('<effects enabled="True">');
    HTP.p ('<drop_shadow enabled="False" />');
    HTP.p ('<bevel enabled="true" distance="1" blur_x="2" blur_y="2" />');
    HTP.p ('</effects>');
    HTP.p ('<line_style>');
    HTP.p ('<line thickness="3" /> ');
    HTP.p ('</line_style>');
    HTP.p ('</line_series>');
    HTP.p ('</data_plot_settings>');
    HTP.p ('<chart_settings>');
    HTP.p ('<title enabled="true">');
    HTP.p ('<text>Avg. %App. Uptime per month </text>');
    HTP.p ('</title>');
    HTP.p ('<axes>');
    HTP.p ('<y_axis>');
    HTP.p ('<title>');
    HTP.p ('<text>Value</text> ');
    HTP.p ('</title>');
    HTP.p ('<scale minimum="90" maximum="101" major_interval="1" />');
    HTP.p ('<labels>');
    HTP.p ('<format>${%Value}{numDecimals:0}</format>');
    HTP.p ('</labels>');
    HTP.p ('<axis_markers>');
    HTP.p ('</axis_markers>');
    HTP.p ('</y_axis>');
    HTP.p ('<x_axis tickmarks_placement="Center">');
    HTP.p ('<title enabled="False" /> ');
    HTP.p ('</x_axis>');
    HTP.p (' </axes>');
    HTP.p ('</chart_settings>');
    HTP.p ('<data>');
    FOR ObjRecord IN (select DISTINCT(K_OBJECT.OBJECT_ID) as OBJECT_ID,name from K_OBJECT, K_OBJ_TYPE_ASP_REL where K_OBJECT.OBJECT_ID=K_OBJ_TYPE_ASP_REL.OBJECT_ID and K_OBJ_TYPE_ASP_REL.OBJECT_TYPE_ID=1)
    LOOP
    HTP.p ('<series name="'|| ObjRecord.name ||'">');
    FOR MonthlyValueRecord IN (select NAME,VALUE
    from K_REPORT_RUN,K_ASPECT_VALUES,K_ASP_TIM_RPT_REL
    where K_REPORT_RUN.RUN_ID=K_ASP_TIM_RPT_REL.RUN_ID
    and
    K_ASPECT_VALUES.ASPECT_VALUE_ID=K_ASP_TIM_RPT_REL.ASPECT_VALUE_ID
    and
    K_ASP_TIM_RPT_REL.ASPECT_ID=1
    and
    K_ASP_TIM_RPT_REL.OBJECT_ID=ObjRecord.OBJECT_ID
    order by K_REPORT_RUN.STARTTIME)
    LOOP
    HTP.p ('<point name="'|| MonthlyValueRecord.name ||'" y="'|| MonthlyValueRecord.value ||'" />');
    END LOOP;
    HTP.p ('</series>');
    END LOOP;
    HTP.p ('</data>');
    HTP.p ('</chart>');
    HTP.p ('</charts>');
    HTP.p ('</anychart>');
    htmldb_application.g_unrecoverable_error := true;
    END;
    Edited by: user12873839 on Apr 9, 2010 3:58 AM
    Edited by: user12873839 on Apr 9, 2010 4:02 AM
    Edited by: user12873839 on Apr 9, 2010 8:00 AM

    >
    Help Needed Urgent.....
    >
    That is one surefire way to not get any help and certainly not urgently. I suggest that you amend the title of your post to something that reflects the actual issue. This will also help anyone with similar issues to find the thread.
    When posting code please put {noformat}{noformat} (with the curly brackets and the word code in lower case) above and below it to preserve formatting like this...
    {noformat}{noformat}
    SELECT *
    FROM emp
    {noformat}{noformat}
    This will be displayed on the forum like this...SELECT *
    FROM emp
    Cheers
    Ben                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Is it possible to create an interactive graph/chart using Report Builder 3.0?

    Hi All,
    I am using Report Builder for the first time. Here is what I am trying to accomplish. The data I plan to use in Report Builder is coming from SQL Server and in the Report Builder I want to create an interactive graph(chart).
    For example, The table in SQL Server consists of Hospital Name, Measure name, and Scores for each measures for different quarters.
    The idea is to create a graph that will allow the user to pick the measure name(from a drop down list or something similar) and Hospital name, then the graph will display the measure scores for different quarters and corresponding target scores for that
    particular Hospital.
     The data in SQL server looks like this :
    measure
    MC_NM
         q112
        q212
       q312
    XXY
    TARGET
    0.9
    0.9
    0.9
    XXY
    REGION
    0.832879
    0.848934
    0.865714
    XXY
    Hospital 1
    0.875
    0.916084
    0.92
    XXY
    Hospital 2
    0.833333
    0.876923
    0.905797
    ZZZ
    TARGET
    0.979167
    0.952381
    0.955556
    ZZZ
    REGION
    0.942029
    0.945205
    0.983871
    ZZZ
    Hospital 1
    0.22
    0.270833
    0.372549
    ZZZ
    Hospital 2
    0.990291
    0.989583
    0.98913
    YYY
    TARGET
    0.928934
    0.9
    0.891429
    YYY
    REGION
    0.590909
    0.655172
    0.703704
    YYY
    Hospital 1
    1
    1
    1
    YYY
    Hospital 2
    0.788462
    0.82
    0.836735
    Is this is possible to do in Report Builder 3.0? Please share your thoughts.

    Thanks a lot for your response.
    I was able to create the parameters and now able to select the measure and facility and display that data in the table and chart.
    Now I am trying to see if I can add a line(target values) on top of the column chart to show the whether the scores of each measures, for each quarters are how far from the target values.
    Please let me know if this is possible.

  • How do I create a 3d graph

    Hi all,
    I am trying to create a 3d graph in labview, would this be a waveform?
    Would I then need to use a waveform data type for the 3D array I will use to store my data?
    Regards

    HI,
    I have used the 3D graphs and they can be tricky.  My best recommendation is to look at the examples in the example finder.  I did not use wave from data types, just arrays of numbers, FWIW.
    Mark
    Mark Ramsdale

  • Problems creating physical data service to relational table

    Good morning.
    I am running AquaLogic Data Services Platform 3.2 on WebLogic 10.0 in a JRockit 1.5 Java VM on my PC (and it is not a clustered environment) under Windows XP SP3.
    I am trying to create access functionality to a table in a MS SQL 2005 database, but I am having trouble with the update map functionality. I can create and test the read function with no problems. When I try to edit the return structure, it gives me the following warning message
    Cannot narrow remote object ClusterableRemoteRef(-10913774038965890074S :127.0.0.1 :7102,7102,-1,-1,-1,-1,-1*:ESBDSP:AdminServer [(-10913774038965890074S :127.0.0.1 :*7102,7102,-1,-1,-1,-1,-1]:ESBDSP:AdminServer/320*)/320 to com.bea.dsp.ejb.ServerHome*
    (ESBDSP is the server domain, AdminServer is the WL server name, 7102 is the port)
    When I then try to alter a value and Submit, it gives me the following error message
    java.lang.NullPointerException
    ** at com.bea.dsp.ide.xquery.views.test.QueryExecutor.invokeUpdate(QueryExecutor.java:191)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel.submitChanges(ResultPanel.java:1313)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel.access$300(ResultPanel.java:111)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel$2.run(ResultPanel.java:1203)**
    ** at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)**
    ** at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)**
    ** at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479)**
    ** at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:265)**
    ** at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:1107)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel.doSubmitImpl(ResultPanel.java:1210)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel.access$200(ResultPanel.java:111)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel$1.run(ResultPanel.java:1189)**
    ** at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel.doSubmit(ResultPanel.java:1193)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel.widgetSelected(ResultPanel.java:2779)**
    ** at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)**
    ** at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)**
    ** at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)**
    ** at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)**
    ** at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)**
    ** at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)**
    ** at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)**
    ** at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)**
    ** at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)**
    ** at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)**
    ** at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)**
    ** at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)**
    ** at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)**
    ** at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)**
    ** at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)**
    ** 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.eclipse.core.launcher.Main.invokeFramework(Main.java:339)**
    ** at org.eclipse.core.launcher.Main.basicRun(Main.java:283)**
    ** at org.eclipse.core.launcher.Main.run(Main.java:984)**
    ** at org.eclipse.core.launcher.Main.eclipse_main(Main.java:959)**
    ** 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 com.m7.installer.util.NitroxMain$1.run(NitroxMain.java:39)**
    ** at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)**
    ** at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)**
    ** at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)**
    ** at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)**
    ** at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)**
    ** at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)**
    ** at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)**
    I have also tried to test the update function using the following data graph
    *&lt;sdo:datagraph xmlns:sdo="commonj.sdo"&gt;*
    *&lt;changeSummary&gt;*
    * &lt;per:Persistance sdo:ref="#/sdo:datagraph/per:Persistance" xmlns:per="http://www.example.org/Persistance"&gt;*
    * &lt;per:Value&gt;a different value&lt;/per:Value&gt;*
    * &lt;/per:Persistance&gt;*
    * &lt;/changeSummary&gt;*
    * &lt;per:Persistance xmlns:per="http://www.example.org/Persistance"&gt;*
    * &lt;per:ID&gt;1&lt;/per:ID&gt;*
    * &lt;/per:Persistance&gt;*
    *&lt;/sdo:datagraph&gt;*
    The error message I receive is the following
    *&lt;Error&gt; &lt;ALDSP&gt; &lt;PW130131&gt; &lt;AdminServer&gt; &lt;ACTIVE ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'&gt; &lt;weblogic&gt; &lt;&gt; &lt;&gt; &lt;1229102443940&gt; &lt;BEA-000000&gt; &lt;Test&gt; &lt;System error while executing the query: {ld:Physical/Persistance}updatePersistance:1*
    *weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_2d641b85a027a9ba:43f1e2cd:11e2800892f:-7fd2): com.bea.dsp.wrappers.rdb.exceptions.RDBWrapperException: {bea-err}RDBW0025: esb: [UPDATE "ESBdev"."dbo"."Persistance"*
    *SET "Value" = ?*
    *WHERE (("ID" = ?) AND ("Value" = ?))]: [NULL, 1, a different value|http://forums.oracle.com/forums/]: Optimistic locking failure. Update count returned by database is 0, expected 1*
    at com.bea.ld.server.update.recovery.SagaRecovery.process(SagaRecovery.java:102)
    at com.bea.ld.server.update.recovery.DSPSagaManager.processSagaFailure(DSPSagaManager.java:219)
    at weblogic.xml.query.update.recovery.SagaState$2.afterCompletion(SagaState.java:83)
    at weblogic.xml.query.transaction.TransactionManager.afterCompletion(TransactionManager.java:133)
    at weblogic.transaction.internal.ServerSCInfo.doAfterCompletion(ServerSCInfo.java:1032)
    at weblogic.transaction.internal.ServerSCInfo.callAfterCompletions(ServerSCInfo.java:1011)
    at weblogic.transaction.internal.ServerTransactionImpl.callAfterCompletions(ServerTransactionImpl.java:2946)
    at weblogic.transaction.internal.ServerTransactionImpl.afterRolledBackStateHousekeeping(ServerTransactionImpl.java:2827)
    at weblogic.transaction.internal.ServerTransactionImpl.setRolledBack(ServerTransactionImpl.java:2803)
    at weblogic.transaction.internal.ServerTransactionImpl.globalRetryRollback(ServerTransactionImpl.java:3043)
    at weblogic.transaction.internal.ServerTransactionImpl.globalRollback(ServerTransactionImpl.java:2793)
    at weblogic.transaction.internal.ServerTransactionImpl.internalRollback(ServerTransactionImpl.java:397)
    at weblogic.transaction.internal.ServerTransactionImpl.rollback(ServerTransactionImpl.java:375)
    at weblogic.xml.query.transaction.TransactionHelper.rollback(TransactionHelper.java:102)
    at weblogic.xml.query.transaction.TransactionManager.teardownOnFailure(TransactionManager.java:262)
    at com.bea.ld.EJBRequestHandler.handleThrowable(EJBRequestHandler.java:810)
    at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:311)
    at com.bea.ld.ServerBean.executeOperationStreaming(ServerBean.java:84)
    at com.bea.ld.Server_ydm4ie_EOImpl.executeOperationStreaming(Server_ydm4ie_EOImpl.java:354)
    at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)
    at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)
    at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    *com.bea.dsp.wrappers.rdb.exceptions.RDBWrapperException: {bea-err}RDBW0025: esb: [UPDATE "ESBdev"."dbo"."Persistance"*
    *SET "Value" = ?*
    *WHERE (("ID" = ?) AND ("Value" = ?))]: [NULL, 1, a different value|http://forums.oracle.com/forums/]: Optimistic locking failure. Update count returned by database is 0, expected 1*
    at com.bea.dsp.wrappers.rdb.exceptions.RDBWrapperException.create(RDBWrapperException.java:87)
    at weblogic.xml.query.exceptions.XQueryException.create(XQueryException.java:128)
    at weblogic.xml.query.exceptions.XQueryException.create(XQueryException.java:88)
    at weblogic.xml.query.exceptions.XQueryException.create(XQueryException.java:202)
    at weblogic.xml.query.exceptions.XQueryException.create(XQueryException.java:188)
    at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLUpdateInternal.raiseUpdateFailureException(ExecuteSQLUpdateInternal.java:19)
    at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLUpdateDeleteBase.executeSQL(ExecuteSQLUpdateDeleteBase.java:31)
    at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.prepareAndExecuteQuery(ExecuteSQLRuntimeBase.java:170)
    at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLModificationBase.prepareAndExecuteQuery(ExecuteSQLModificationBase.java:77)
    at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.fetchNext(ExecuteSQLRuntimeBase.java:95)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)
    at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)
    at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)
    at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)
    at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)
    at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)
    at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)
    at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)
    at weblogic.xml.query.update.runtime.ExecuteRelational.fetchNext(ExecuteRelational.java:52)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)
    at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)
    at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)
    at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)
    at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)
    at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)
    at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)
    at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)
    at weblogic.xml.query.update.recovery.SagaInterpreter.run(SagaInterpreter.java:54)
    at weblogic.xml.query.update.runtime.UVMRewritingEvaluatorImpl.run(UVMRewritingEvaluatorImpl.java:33)
    at weblogic.xml.query.xdbcimpl.XQSEStatementImpl.execute(XQSEStatementImpl.java:100)
    at com.bea.ld.server.XQueryInvocation.execute(XQueryInvocation.java:731)
    at com.bea.ld.EJBRequestHandler.invokeQueryInternal(EJBRequestHandler.java:611)
    at com.bea.ld.EJBRequestHandler.invokeOperationInternal(EJBRequestHandler.java:466)
    at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:308)
    at com.bea.ld.ServerBean.executeOperationStreaming(ServerBean.java:84)
    at com.bea.ld.Server_ydm4ie_EOImpl.executeOperationStreaming(Server_ydm4ie_EOImpl.java:354)
    at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)
    at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)
    at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    One of the things I don't understand is why the SQL update seems to have the parameter values reversed and why it is using the Value column for it's wehere clause i.e
    *[UPDATE "ESBdev"."dbo"."Persistance"*
    *SET "Value" = ?*
    *WHERE (("ID" = ?) AND ("Value" = ?))]: *[NULL, 1, a different value]
    when it should really be
    *[UPDATE "ESBdev"."dbo"."Persistance"*
    *SET "Value" = ?*
    *WHERE ("ID" = ?)]: *[a different value, 1
    I hope someone has an idea as to what is going on.
    Edited by: MarcP on Dec 12, 2008 12:30 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

    Thanks Mike, I changed the graph the way you explained and the update works.
    I still have a problem with the create function.
    The XSD for the table looks like this
    *&lt;xs:schema targetNamespace="ld:Physical/Persistance2" xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;*
    * &lt;xs:element name="Persistance"&gt;*
    *&lt;xs:complexType&gt;*
    * &lt;xs:sequence&gt;*
    * &lt;xs:element name="ID" type="xs:int"/&gt;*
    * &lt;xs:element name="Project" type="xs:string"/&gt;*
    * &lt;xs:element name="Property" type="xs:string"/&gt;*
    * &lt;xs:element name="Value" type="xs:string" minOccurs="0"/&gt;*
    * &lt;xs:element name="TS" type="xs:hexBinary"/&gt;*
    * &lt;/xs:sequence&gt;*
    * &lt;/xs:complexType&gt;*
    * &lt;/xs:element&gt;*
    *&lt;/xs:schema&gt;*
    In the table, ID is an IDENTITY column, and TS is a timestamp column (therefore they should only be modified by the DB engine). How do I tell DSP to take these constraints into account when wuing the create function?
    When I test it with the following,
    *&lt;per:Persistance2 xmlns:per="ld:Physical/Persistance2"&gt;*
    * &lt;ID&gt;0&lt;/ID&gt;*
    *&lt;Project&gt;def&lt;/Project&gt;*
    *&lt;Property&gt;ghi&lt;/Property&gt;*
    *&lt;Value&gt;new string&lt;/Value&gt;*
    * &lt;TS&gt;0000000000000000&lt;/TS&gt;*
    *&lt;/per:Persistance2&gt;*
    it gives the follwiing error
    *&lt;Error&gt; &lt;ALDSP&gt; &lt;xxxxxxx&gt; &lt;AdminServer&gt; &lt;[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'&gt; &lt;weblogic&gt; &lt;&gt; &lt;&gt; &lt;1229106812568&gt; &lt;BEA-000000&gt; &lt;Test&gt; &lt;System error while executing the query: {ld:Physical/Persistance2}createPersistance2:1*
    *weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_2d641b85a027a9ba:43f1e2cd:11e2800892f:-7fcd): com.bea.dsp.wrappers.rdb.exceptions.RDBWrapperException: {bea-err}RDBW0004: [esb]: [INSERT INTO "ESBdev"."dbo"."Persistance" ("ID", "Project", "Property", "Value", "TS")*
    *VALUES (?, ?, ?, ?, ?)]: [0, def, ghi, new string, 0000000000000000]: Error executing SQL query: [BEA][SQLServer JDBC Driver][SQLServer]Cannot insert an explicit value into a timestamp column. Use INSERT with a column list to exclude the timestamp column, or insert a DEFAULT into the timestamp column.*
    * at com.bea.ld.server.update.recovery.SagaRecovery.process(SagaRecovery.java:102)*
    * at com.bea.ld.server.update.recovery.DSPSagaManager.processSagaFailure(DSPSagaManager.java:219)*
    * at weblogic.xml.query.update.recovery.SagaState$2.afterCompletion(SagaState.java:83)*
    * at weblogic.xml.query.transaction.TransactionManager.afterCompletion(TransactionManager.java:133)*
    * at weblogic.transaction.internal.ServerSCInfo.doAfterCompletion(ServerSCInfo.java:1032)*
    * at weblogic.transaction.internal.ServerSCInfo.callAfterCompletions(ServerSCInfo.java:1011)*
    * at weblogic.transaction.internal.ServerTransactionImpl.callAfterCompletions(ServerTransactionImpl.java:2946)*
    * at weblogic.transaction.internal.ServerTransactionImpl.afterRolledBackStateHousekeeping(ServerTransactionImpl.java:2827)*
    * at weblogic.transaction.internal.ServerTransactionImpl.setRolledBack(ServerTransactionImpl.java:2803)*
    * at weblogic.transaction.internal.ServerTransactionImpl.globalRetryRollback(ServerTransactionImpl.java:3043)*
    * at weblogic.transaction.internal.ServerTransactionImpl.globalRollback(ServerTransactionImpl.java:2793)*
    * at weblogic.transaction.internal.ServerTransactionImpl.internalRollback(ServerTransactionImpl.java:397)*
    * at weblogic.transaction.internal.ServerTransactionImpl.rollback(ServerTransactionImpl.java:375)*
    * at weblogic.xml.query.transaction.TransactionHelper.rollback(TransactionHelper.java:102)*
    * at weblogic.xml.query.transaction.TransactionManager.teardownOnFailure(TransactionManager.java:262)*
    * at com.bea.ld.EJBRequestHandler.handleThrowable(EJBRequestHandler.java:810)*
    * at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:311)*
    * at com.bea.ld.ServerBean.executeOperationStreaming(ServerBean.java:84)*
    * at com.bea.ld.Server_ydm4ie_EOImpl.executeOperationStreaming(Server_ydm4ie_EOImpl.java:354)*
    * at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)*
    * at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)*
    * at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)*
    * at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)*
    * at weblogic.security.service.SecurityManager.runAs(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)*
    * at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)*
    * at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)*
    * at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)*
    * at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)*
    *com.bea.dsp.wrappers.rdb.exceptions.RDBWrapperException: {bea-err}RDBW0004: [esb]: [INSERT INTO "ESBdev"."dbo"."Persistance" ("ID", "Project", "Property", "Value", "TS")*
    *VALUES (?, ?, ?, ?, ?)]: [0, def, ghi, new string, 0000000000000000]: Error executing SQL query: [BEA][SQLServer JDBC Driver][SQLServer]Cannot insert an explicit value into a timestamp column. Use INSERT with a column list to exclude the timestamp column, or insert a DEFAULT into the timestamp column.*
    * at com.bea.dsp.wrappers.rdb.exceptions.RDBWrapperException.create(RDBWrapperException.java:87)*
    * at weblogic.xml.query.exceptions.XQueryException.create(XQueryException.java:128)*
    * at weblogic.xml.query.exceptions.XQueryException.create(XQueryException.java:176)*
    * at weblogic.xml.query.exceptions.XQueryException.create(XQueryException.java:163)*
    * at com.bea.dsp.wrappers.rdb.runtime.DBSession.executeUpdate(DBSession.java:151)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLInsertInternal.executeSQL(ExecuteSQLInsertInternal.java:110)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.prepareAndExecuteQuery(ExecuteSQLRuntimeBase.java:170)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLModificationBase.prepareAndExecuteQuery(ExecuteSQLModificationBase.java:77)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.fetchNext(ExecuteSQLRuntimeBase.java:95)*
    * at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)*
    * at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)*
    * at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)*
    * at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)*
    * at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)*
    * at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)*
    * at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)*
    * at weblogic.xml.query.update.runtime.ExecuteRelational.fetchNext(ExecuteRelational.java:52)*
    * at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)*
    * at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)*
    * at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)*
    * at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)*
    * at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)*
    * at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)*
    * at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter.run(SagaInterpreter.java:54)*
    * at weblogic.xml.query.update.runtime.UVMRewritingEvaluatorImpl.run(UVMRewritingEvaluatorImpl.java:33)*
    * at weblogic.xml.query.xdbcimpl.XQSEStatementImpl.execute(XQSEStatementImpl.java:100)*
    * at com.bea.ld.server.XQueryInvocation.execute(XQueryInvocation.java:731)*
    * at com.bea.ld.EJBRequestHandler.invokeQueryInternal(EJBRequestHandler.java:611)*
    * at com.bea.ld.EJBRequestHandler.invokeOperationInternal(EJBRequestHandler.java:466)*
    * at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:308)*
    * at com.bea.ld.ServerBean.executeOperationStreaming(ServerBean.java:84)*
    * at com.bea.ld.Server_ydm4ie_EOImpl.executeOperationStreaming(Server_ydm4ie_EOImpl.java:354)*
    * at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)*
    * at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)*
    * at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)*
    * at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)*
    * at weblogic.security.service.SecurityManager.runAs(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)*
    * at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)*
    * at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)*
    * at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)*
    * at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)*
    *java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Cannot insert an explicit value into a timestamp column. Use INSERT with a column list to exclude the timestamp column, or insert a DEFAULT into the timestamp column.*
    * at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)*
    * at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)*
    * at weblogic.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.postImplExecute(Unknown Source)*
    * at weblogic.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.commonExecute(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)*
    * at weblogic.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)*
    * at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:125)*
    * at com.bea.dsp.wrappers.rdb.runtime.DBSession.executeUpdate(DBSession.java:144)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLInsertInternal.executeSQL(ExecuteSQLInsertInternal.java:110)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.prepareAndExecuteQuery(ExecuteSQLRuntimeBase.java:170)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLModificationBase.prepareAndExecuteQuery(ExecuteSQLModificationBase.java:77)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.fetchNext(ExecuteSQLRuntimeBase.java:95)*
    * at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)*
    * at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)*
    * at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)*
    * at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)*
    * at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)*
    * at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)*
    * at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)*
    * at weblogic.xml.query.update.runtime.ExecuteRelational.fetchNext(ExecuteRelational.java:52)*
    * at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)*
    * at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)*
    * at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)*
    * at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)*
    * at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)*
    * at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)*
    * at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter.run(SagaInterpreter.java:54)*
    * at weblogic.xml.query.update.runtime.UVMRewritingEvaluatorImpl.run(UVMRewritingEvaluatorImpl.java:33)*
    * at weblogic.xml.query.xdbcimpl.XQSEStatementImpl.execute(XQSEStatementImpl.java:100)*
    * at com.bea.ld.server.XQueryInvocation.execute(XQueryInvocation.java:731)*
    * at com.bea.ld.EJBRequestHandler.invokeQueryInternal(EJBRequestHandler.java:611)*
    * at com.bea.ld.EJBRequestHandler.invokeOperationInternal(EJBRequestHandler.java:466)*
    * at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:308)*
    * at com.bea.ld.ServerBean.executeOperationStreaming(ServerBean.java:84)*
    * at com.bea.ld.Server_ydm4ie_EOImpl.executeOperationStreaming(Server_ydm4ie_EOImpl.java:354)*
    * at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)*
    * at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)*
    * at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)*
    * at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)*
    * at weblogic.security.service.SecurityManager.runAs(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)*
    * at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)*
    * at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)*
    * at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)*
    * at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)*
    *java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Statement(s) could not be prepared.*
    * at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)*
    * at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)*
    * at weblogic.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.postImplExecute(Unknown Source)*
    * at weblogic.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.commonExecute(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)*
    * at weblogic.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)*
    * at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:125)*
    * at com.bea.dsp.wrappers.rdb.runtime.DBSession.executeUpdate(DBSession.java:144)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLInsertInternal.executeSQL(ExecuteSQLInsertInternal.java:110)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.prepareAndExecuteQuery(ExecuteSQLRuntimeBase.java:170)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLModificationBase.prepareAndExecuteQuery(ExecuteSQLModificationBase.java:77)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.fetchNext(ExecuteSQLRuntimeBase.java:95)*
    * at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)*
    * at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)*
    * at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)*
    * at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)*
    * at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)*
    * at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)*
    * at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)*
    * at weblogic.xml.query.update.runtime.ExecuteRelational.fetchNext(ExecuteRelational.java:52)*
    * at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)*
    * at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)*
    * at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)*
    * at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)*
    * at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)*
    * at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)*
    * at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter.run(SagaInterpreter.java:54)*
    * at weblogic.xml.query.update.runtime.UVMRewritingEvaluatorImpl.run(UVMRewritingEvaluatorImpl.java:33)*
    * at weblogic.xml.query.xdbcimpl.XQSEStatementImpl.execute(XQSEStatementImpl.java:100)*
    * at com.bea.ld.server.XQueryInvocation.execute(XQueryInvocation.java:731)*
    * at com.bea.ld.EJBRequestHandler.invokeQueryInternal(EJBRequestHandler.java:611)*
    * at com.bea.ld.EJBRequestHandler.invokeOperationInternal(EJBRequestHandler.java:466)*
    * at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:308)*
    * at com.bea.ld.ServerBean.executeOperationStreaming(ServerBean.java:84)*
    * at com.bea.ld.Server_ydm4ie_EOImpl.executeOperationStreaming(Server_ydm4ie_EOImpl.java:354)*
    * at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)*
    * at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)*
    * at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)*
    * at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)*
    * at weblogic.security.service.SecurityManager.runAs(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)*
    * at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)*
    * at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)*
    * at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)*
    * at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)*

  • Creating an XY graph with history

    Hello,
    I'm looking to create an XY graph in LabView 2013 that keeps a history of points visually on the graph. I created a simple VI to do a simple export to excel data log but it would be helpful to be able to see the point that I am saving in a graph format as well as with indicators. I have the indicator part well oiled but the graph is giving me a problem.
    Idealy I would like to be able to just run a wire from Signal A to an X axis and a wire from signal B to a Y axis (from DAQ assist select signal function), with the ability to keep all previous points through the entire test. All the examples I have come across do not use DAQ Assist, which makes me wonder if this graph is even possible. Being a novice in labview I would love a solution that just uses signals from DAQ assist.
    The points I am recording should be linear(ish) in nature
    Thanks.
    mtgeotech

    Use a shift register, or feed back node to keep a history which you build.  But be aware that you need an upper limit.  You can't let your array reach infinite size, because we don't have infinite memory.  Have it check the size and then if it is greater than some size, get a subset.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Create a line graph on EP 7.0

    We are trying to create a complex line graph in the portal which will pull data from SAP ISU. What is the best approach to developing this graph? Is SAP Chart Design suitable for creating a complex graph from scratch?
    Any help would be appreciate.

    U can open any one of this as per ur like and edit.
    Well, you cannot edit the standard delivered themes. You will need to make a copy of the standard one and edit that custom copy.
    Besides the theme editor in the portal, there is a tool called Eclipse theme editor which can come in handy to create/modify a theme. You can download this tool and the corresponding guide at the following location:
    http://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/136dd890-0201-0010-1b9d-bd09a0d3b1d8
    Thanks,
    Shanti

  • Need help to Create LIS data source

    Hi friends,
    I Have a requirement where i am suppose to create LIS data sources so please give me the step by step procedure to create LIS Data source,
    I Need to create some data sources like,
    2LIS_03_S831,S832
    2LIS_07_S515,S763,S516
    Kindly let me know how to proceede to create the above LIS data Sources and till we replicate them in BW Box.
    Thanks
    Jag

    Hi,
    You need to sum for specific elements ( Male,Female in this case).
    Try :
    chart:
    <Graph graphType = "BAR_VERT_CLUST" maxBarWidth = "30000" >
    <LegendArea visible="true"/>
    <SeriesItems>
    <Series id="0" color="#ffcc00"/>
    <Series id="1" color="#ff6600"/>
    </SeriesItems>
    <Title text="" visible="true" horizontalAlignment="CENTER"/>
    <O1Title text="Salary grade" visible="true"/>
    <Y1MajorTick visible ="true"/>
    <O1MajorTick visible ="false"/>
    <LocalGridData colCount="{count(xdoxslt:group(.//SALARY_SCALE, 'SALGRADE'))}" rowCount="2">
    <RowLabels>
    <Label>Male</Label>
    <Label>Female</Label>
    </RowLabels>
    <ColLabels>
    <xsl:for-each-group select=".//SALARY_SCALE" group-by="SALGRADE" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <Label>
    <xsl:value-of select="current-group()/SALGRADE" />
    </Label>
    </xsl:for-each-group>
    </ColLabels>
    <DataValues>
    <RowData>
    <xsl:for-each-group select=".//SALARY_SCALE" group-by="SALGRADE" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <Cell>
    <xsl:value-of select="sum(current-group()[GENDER='Male']/COUNT)" />
    </Cell>
    </xsl:for-each-group>
    </RowData>
    <RowData>
    <xsl:for-each-group select=".//SALARY_SCALE" group-by="SALGRADE" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <Cell>
    <xsl:value-of select="sum(current-group()[GENDER='Female']/COUNT)" />
    </Cell>
    </xsl:for-each-group>
    </RowData>
    </xsl:for-each-group>
    </DataValues>
    </LocalGridData>
    </Graph> Regards,
    Colectionaru

  • Creating new Data Source Error - Database connection Failed

    Successfully installed and configured 11.1.1.3.0. Planning and Essbase dev.
    Went to Workspace > Administer > Classing Planning Administration > Manage Data Sources > Create Data Source.
    Entered all info about the application database , etc. Getting error "The database connection failed" (I was able to connect with no problem during the install)
    SQL server 2005 is on the same physical server.
    The diagnostic tool shows database connection passed for planning. A new database was created for the new application.
    The server event viewer shows these errors.
    "Login failed for user 'xxx-hyperion'. The user is not associated with a trusted SQL Server connection."
    Group Policy Error "The client-side extension could not apply computer policy settings for 'Default Domain Policy {xxx}' because it failed with error code '0x80070003 The system cannot find the path specified.' See trace file for more details. "
    The Group Policy client-side extension Group Policy Services failed to execute. Please look for any errors reported earlier by that extension.
    Any help is appreciated.

    Datasource for the application.
    I have created a sql db for this planning application (my datasource). See my first message for more details.
    When you create a new planning application, you need to associate it with a data source. Since this is a new install, I don't have any data sources available yet.
    So, "To create, edit or delete data sources, click Manage Data Source."
    This page lets you validate your connection to the database and essbase server. My essbase server connection validates! The database connection does not validate after I enter all the relevant information.
    SCREEN INFO BELOW
    Fields displayed with an asterisk (*) are mandatory.
    Data Source Name *:
    Data Source Description:
    Select Database Platform
    Microsoft SQL Server
    Application Database
    Server * :
    Port * :
    Database *:
    User *:
    Password *:
    Click "Validate Database Connection"
    ERROR ---> Database connection failed.
    So it does not let me create a data source for my new planning application, so I cannot create a new planning application.
    Thanks in advance.

  • Fields missing while creating the data source

    Hi All
    I am using a third party system to pull data in to BI...Actually there was one table where from the other end they had added 2 fields recently...when i checked in development i was able to create the data source for the table along with the new fields..but when i check it in production those newly added 2 fields are missing .. though i am able to see  the old fields in the data source the newly added fields are missing..so is there any problem with the refreshment of the table or should we reastart the connection?
    Can any one  please  let me know a solution for this...
    Regards
    Shilpa

    HI,
    Are you having connectivity like this
    BI Dev
    BI QA         ---> All Three connected to same 3 rd party system
    BI Prod
    If yes, If it is R3 replicate datasource will help.
    Incase of third party system you need to regenerate the datasource.
    if it is DB Connect try to go to the source system and connect to database table from BI side and at the top you will have
    generate datasource. use that option you will be able to solve.
    Else
    BI Dev - 3rd party dev
    BI prod - 3rd party prod
    Try to add 2 new fields in the 3rd party system and generate the datasource as told above.
    Thanks
    Arun
    Edited by: Arunkumar Ramasamy on Sep 14, 2009 9:12 AM

  • How to create a data load file from Excel !!!

    Hi All,
    I'm new to HFM and would like to load data into an HFM application. As I have an Excel file with all the data. When I'm directly loading the data it throws an error saying "No section has been specified to determine if this is data, description or line item detail". How can I convert this excel file into proper format (.dat) file understandable by HFM ?

    There are several ways to get this data into HFM.
    1) FDM - best option if you have it
    2) Webforms/Data Grids
    3) HsSetValue formulas in Excel
    4) DAT file loads
    5) JVs, etc
    If you wish to use DAT files created via Excel, you will likely want to use Excel VBA macros to create your DAT file to load. We do this on occasion for special projects and it works quite well. What you can do is set up an Excel file with your data inputs to look however you want, then link your POV members and amounts to another tab (we commonly call this the Export tab and it is set up in an HFM-friendly format).
    Create a macro to write a DAT file to a specified location using data from the Export tab. The DAT file will need to be formatted as below. For a specific sample, you can extract data from your HFM app and see the format.
    !Data
    Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
    Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
    Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
    Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
    Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
    Brush up on Replace, Merge, or Accumulate load options in the HFM Admin and User Guides, then upload your new DAT file.

  • How to create a date range in Web Application Designer

    I am using 3.1 version of Web App Designer.  I need to create a report with date ranges.  I can get one date to work but not two (I need a start date and end Date).  My Query has 0CALMONTH with a variable for Interval.  When I select it as a dropdown (??) in Web App Designer, I only get one date prompt in web app designer.
    Any suggestions??
    Thanks
    Kristen

    Hi Kristen,
    I'm sorry i'm not coming to solve your problem,but for the trouble I have had,and I want to create a date picker in Web Application Designer,so if you have solved the problem ,please email to me? [email protected] ,thx very much!
    best regards
    zegion chan

  • I have created a data module in s1000d application of framemaker 10.While publishing it in publication module it says"File does not exist".

    1- I have created a data module in s1000d application of framemaker 10.While publishing it in publication module it says”File does not exist”.
    2- Does FrameMaker 10 supports s1000d 4.1 ?

    See Lorna...it's almost second nature to you now,
    editing those js files! I TOLD you you could do it!
    Mark, it's EERIE that you should say this to me today because this is exactly what I have been thinking! I can put a song on a page with one eye shut now, and I can zip around those files pretty well (except for the recent fiasco where I didn't even look at the right folder). I also notice that the level of my writing is sounding more technical and familiar with digital world jargon. I remember how you told me I could do it, and you were right. You all were right and I feel more knowledgeable and at a point where I suspect that I can take steps on my own. HTML is a strange land, but just being able to edit that .js file and FIND it by navigating for it in Text Edit has made me feel much more competent.
    Before iWeb I didn't realize what Text Edit was for. I used it to take quick fast short notes. I never understood that concept of "opening something up in so and so application." The first time I clicked OPEN in Text Edit, and I saw all those danged files staring at me with beady eyes, I wanted to throw a white hanky and run for the hills. Not any more!
    Lorna in Southern California

Maybe you are looking for

  • Xorg 1.5.3, nvidia twinview won't use samsung monitor

    I've had a dual head setup going for sometime with no issues, but just got a new monitor that I can not get working with X. I'm currently using nvida drivers version 180.22 I have a laptop docked with the laptop screen and a second monitor as my dual

  • Recent update on PS elements 12, I can no longer drag and drop from one photo to the other.

    Hello I hope someone can help, I am using Adobe photoshop elements 12, I am using a PC with windows 8.1. any ways I recently was prompted that I had a update for PE12, as i always do i followed the exact instructions after the restart as prompted. I

  • Iphoto photostream not importing correctly

    i use photostream from 2 iphones and an ipad, then manually import from my CF card using a canon EOs DSLR.  the manual imports are fine and all devices show the consolidated group of iphoto pics.  However when in iphoto i highlight a particular event

  • Apple remote with Netflix

    Am I able to use my apple remote through my Mac book pro to control Netflix or hulu?

  • OBE : TotalComp Expression : NullPointerException

    hi The tutorial "Examining ADF Business Components New Features " at http://www.oracle.com/technology/obe/obe11jdev/11/adfbc_new_features/adfbc.html says, in its "Creating Calculated Attributes " section, to enter "(Salary!=null?Salary:0)+(Salary*(Co