Auto refresh facility is there in ADF swings?

Suppose i am displaying data from the data base using updateable or read only view. If any record is updated or inserted on back end this should reflect on the front end. How achieve this in ADF swings.
Auto refresh facility is there in ADF swings?

Hi,
if the update is in the database then there is no notification to the Swing client to refresh. In JDeveloper 11 this will become possible with the new Oracle DB 11 JDBC driver. If you needed this functionality then you either need to frequently re-query or use other mechanisms like Adavanced Queueing in the database
Frank

Similar Messages

  • ADF Application gets auto refreshed

    Hi
    i have my ADF application deployed in one of the weblogic clustered server. There are four weblogic managed cluster.
    In my application i am reading a csv file and performing some user operation with OIM.
    It is taking much time around more than 5 min (i guess performance issue) and after that the application gets refreshed and back to home page is displayed where as in logs i am getting the debugs of file read.
    Its only the application page that gets auto refreshed....
    Please help !!!
    from where the application get refreshed? is this a weblogi clustered application issue??
    i tried the same application in another server where the application process the same file quickly(with less time) and no refresh of application happens.
    Regards
    Sudeep

    hi Ramandeep
    i just checked the web.xml... the session timeout is not set in my application... so for that is there any default value for the application to get timeout?
    and in my scenario i am not getting session time out message in my UI .... that session has been timedout please refresh or retry ...
    the page gets totally refreshed.
    i guess this is the problem of failure of HTTP sessions in clustered web logic where the connection in promary fails trys to connect secoundary cluster and if that fails the HTTP page gets refreshed....
    can u please suggest if i am getting the problem correct or not ??
    Regards
    Sudeep
    Edited by: SKD on Feb 14, 2012 1:05 PM

  • ADF 10.1.3 : getting error while auto refreshing the read only table

    Hi All,
    I have implemented auto refresh on ADF read only table +[auto refresh simply requeries table rows]+ but after say about 15 -20 refreshes, i start getting the warning:
    bq. "*Feb 10, 2009 3:21:17 PM oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage* \\ *     WARNING: JBO-35007: Row currency has changed since the user interface was rendered. The expected row key was oracle.jbo.Key*[ |http://forums.oracle.com/forums/]"
    and all the rows in the table disappear.
    I searched on Google and found that this error can be removed by disabling token validation in the page. But i have following queries:
    1. In my auto refresh code, i have added following lines to avoid this error but i am still getting the error, what could be the reason for this.
    bq. *" current_row_key = dciter.getCurrentRow().getKey();* \\ *     dciter.executeQuery();* \\ *     dciter.setCurrentRowWithKey(current_row_key.toStringFormat(true));"*
    2. Can disabling validation on my page lead to any issues?
    Regards
    Lokesh

    Any inputs on this ..

  • Oracle ADF - Check box auto refresh on first select.

    Hi,
    I am using ADF application for development. in my project.
    when select Check box for all record selection then all
    Check box auto refresh on first select. and also records get refreshed
    Pls suggest a solution for the same.
    Thanks
    Vinod

    Vinod,
    You need to give more information about your use case and the jdev version you are using.
    You question is not clear to me. Do you want to set an attribute in all rows when you select a "select all" check box?
    What do you mean by "Check box auto refresh on first select"?
    Timo

  • Hi there!  How can I disable auto refresh in Safari 4.0.4?

    I find the auto refresh of websites irritating.  Sites even refresh while viewing an imbedded video, forcing you to restart the vid.
    Some sites specifically: Drudgereport.com & Instapundit.com
    Thanks for any help  offered!
    Jim in Guam

    Sadly this did not fix the problem.  Also having turned JavaScript off, trying it out, and reverting to JavaScript back on, now videos don't play in Safari.  Also, I asked for info on Safari 4.0.4, which should have been 5.1.5.
    Thanks for the effort in any event!
    Jim

  • VO Auto Refresh error - Unsupported query for Continuous Query Notification

    I created a read only view object and set the auto refresh property to true. According to the documentation that was all that need to be done in order to enable auto-refresh for a view instance of a shared application module (which I am using to retrieve reference data). When I run a test, I get the following error:
    [371] DCBindingContainer.reportException :oracle.jbo.SQLStmtException
    [372] oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT
    CCIPO_REF_SENSITIVITY_LEVEL.SENSITIVITY_ID SENSITIVITY_ID,
    CCIPO_REF_SENSITIVITY_LEVEL.SENSITIVITY_DESC SENSITIVITY_DESC
    FROM
    CCIPO_REF_SENSITIVITY_LEVEL
         at oracle.jbo.server.BaseSQLBuilderImpl.processException(BaseSQLBuilderImpl.java:3721)
         at oracle.jbo.server.OracleSQLBuilderImpl.processException(OracleSQLBuilderImpl.java:4722)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1386)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:928)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:6968)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1183)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1037)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2774)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2751)
         at oracle.jbo.server.ViewRowSetIteratorImpl.first(ViewRowSetIteratorImpl.java:1580)
         at oracle.jbo.server.ViewRowSetImpl.first(ViewRowSetImpl.java:3500)
         at oracle.jbo.server.ViewObjectImpl.first(ViewObjectImpl.java:9943)
         at oracle.adf.model.binding.DCIteratorBinding.setupRSIstate(DCIteratorBinding.java:779)
         at oracle.adf.model.binding.DCIteratorBinding.refreshControl(DCIteratorBinding.java:679)
         at oracle.jbo.uicli.binding.JUIteratorBinding.refreshControl(JUIteratorBinding.java:474)
         at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4437)
         at oracle.adf.model.binding.DCExecutableBinding.refreshIfNeeded(DCExecutableBinding.java:347)
         at oracle.adf.model.binding.DCIteratorBinding.getRowSetIterator(DCIteratorBinding.java:1605)
         at oracle.jbo.jbotester.panel.BindingPanel.setBindingContext(BindingPanel.java:116)
         at oracle.jbo.jbotester.panel.BindingPanel.<init>(BindingPanel.java:88)
         at oracle.jbo.jbotester.panel.BindingPanel.<init>(BindingPanel.java:71)
         at oracle.jbo.jbotester.form.BindingForm.createMasterPanel(BindingForm.java:63)
         at oracle.jbo.jbotester.form.BindingForm.init(BindingForm.java:98)
         at oracle.jbo.jbotester.form.JTForm.<init>(JTForm.java:72)
         at oracle.jbo.jbotester.form.BindingForm.<init>(BindingForm.java:50)
         at oracle.jbo.jbotester.form.FormType$1.createForm(FormType.java:63)
         at oracle.jbo.jbotester.form.FormType.createForm(FormType.java:199)
         at oracle.jbo.jbotester.form.FormType.createTab(FormType.java:270)
         at oracle.jbo.jbotester.form.FormType.showForm(FormType.java:248)
         at oracle.jbo.jbotester.form.FormType.showForm(FormType.java:207)
         at oracle.jbo.jbotester.form.FormType.showForm(FormType.java:203)
         at oracle.jbo.jbotester.tree.ObjTreeNode.showForm(ObjTreeNode.java:140)
         at oracle.jbo.jbotester.tree.ObjTreeNode.showForm(ObjTreeNode.java:123)
         at oracle.jbo.jbotester.tree.Tree.processTreeMouseClicked(Tree.java:728)
         at oracle.jbo.jbotester.tree.Tree.access$100(Tree.java:96)
         at oracle.jbo.jbotester.tree.Tree$TreeMouseListener.mouseClicked(Tree.java:141)
         at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
         at java.awt.Component.processMouseEvent(Component.java:6292)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6054)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4652)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4247)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
         at java.awt.EventQueue.access$000(EventQueue.java:85)
         at java.awt.EventQueue$1.run(EventQueue.java:603)
         at java.awt.EventQueue$1.run(EventQueue.java:601)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
         at java.awt.EventQueue$2.run(EventQueue.java:617)
         at java.awt.EventQueue$2.run(EventQueue.java:615)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.sql.SQLException: ORA-29983: Unsupported query for Continuous Query Notification
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1262)
         ... 65 more
    The query is selecting two varchar2 columns and according to the criteria in the documentation is valid to be registered for QRCN in Guaranteed Mode. Any thoughts?
    JDev version: JDeveloper 11.1.1.5.0.

    Well, could be a DB bug. I seem to remember that there was a bug in that area in an older version of 11g.
    Or you could use jnettrace to trace the calls made by the driver to the DB. That should show you what's going wrong.
    Sascha

  • Tree Component with incremental auto-refresh?

    Is there a free (preferably) or commercial JSF tree component with a general AJAX-based incremental auto-refresh?
    Essentially when dealing with a tree of data which can lose or add nodes at any time, it would be nice to have an optional polling mechanism built into the tree that would check the server for tree insertion and removal events and handle any such events whenever they're found via incremental AJAX-based modifications to the tree -- not a full refresh. The same is true for tree node change events.
    To be clear this is not a substitute for handling client events -- the tree data is indicative of shared state and changes independently from user actions.

    I was following instructions from [http://niallcblogs.blogspot.nl/2009/06/auto-refreshing-adf-chart-objects-in.html]
    But I got it to work the way you say.
    But setting refresh="always" generates exceptions in even simple cases. Is it because I am using MySQL which does not have event notification support?

  • Auto refresh of data in Cube

    Hi,
    I created a cube and deployed with data, also viewed. I changed data in oracle table, from which the cube was prepared, but the change in the data did not appear in cube. Is there a property (auto refresh or auto update) associated with cube / App / database in EAS which can be turned on?
    Kindly advice.
    Thanks and regards,
    Veeranna Ronad.
    Edited by: Ronad on Feb 17, 2010 10:46 AM

    Can we connect to Oracle database using MaxL commands?^^^As Srinivas pointed out, you need to use the MaxL command "import" to load data into Essbase.
    See http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_techref/maxl_imp_data.htm for more detail on how to do this. You'll see that it can load from SQL -- you will need to use a data load rule. See http://download.oracle.com/docs/cd/E12825_01/epm.111/eashelp/loading.htm and http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_dbag/ddlintro.htm for more information on data load rules.
    Importing a large table data on certain interval makes system and application very slow.^^^Do you have to reload all of the data? Can you just load the differences?
    How many records are you loading?
    Regards,
    Cameron Lackpour

  • Deploying a BC4/ADF Swing Application to a JAR File

    Hello,
    what do I exactly have to do, to deploy an ADF/Swing/Business Components-
    Project-Application to a JAR File. I can not start it outside the JDevloper IDE,
    but I created a deployment profile and deployed it to a JAR.
    There is always the error "Could not find the main class", when starting the
    JAR. In the JDeveloper IDE the application is running, and I also defined a "main class" there.
    Could anybody help me please?
    Greetings.

    You need the ADF runtime libraries in your classpath or as part of your JAR.
    Have a look at the command that JDeveloper is using to run your project (it is in the log window) and copy the classpath defenition provided there to the command line you use.

  • Problem with "find" mode in adf/swing application

    Hi all,
    I'm working on ADF Swing application which uses MS SQL Server 2005 (JDeveloper 10g 10.1.3)
    I think that my issue might be well-known…sorry if it has been already discussed somewhere else…
    I have a problem with the “find” mode for a detail panel in a master-detail form…(To make it clear the “find” mode is switched on when clicking on the special button on a navigation panel).
    So this mode works well in a master panel, but it demonstrates strange behavior on a detail panel, i.e. it takes me two attempts to find the necessary child object and it doesn’t switch back in a simple way from this mode to the normal mode….say if we are in the department 10 (Dept is a master form) we can’t simply find KING employee (Emp is a detail form)…is there any workaround for this?
    Thanks in advance. Alex.

    Hi Frank, please look this issue

  • Broadcasting of workbooks, auto-refresh and other questions

    Hello Reporting gurus.
    Our users run BEX Analyser queries but this is evolving towards more automation and fancy things. A lot of threads exist on the subject but I have not been able to find clear answers. We are on BI 7.
    1) How do we use the broadcaster to refresh workbooks and output the results to a network share drive.
    2) Queries being part of the workbooks work with user input variables. Do I have to change all queries (or create new ones identical) with user exits variables to fill in the fields for auto-refreshing w(ith let say the current year and current fiscal period etc...) ?
    3) Is it possible to create a parameter input screen to pass on variables values to the broadcaster before the auto-refresh takes place so that I don't have to create user exit variables ?
    4) How can we view workbooks with the BEX WEB Analyser ? Or do we have to create an application with WAD ?
    Thanks

    Hi Yves,
    in Analyzer you have an menu entry publish with BI broadcaster, then a broadcaster will appear. there you can create a setting. inside that setting you can use a variant and with SPS 13 also variable sets. There you can define the users who should receive the updated workbook by mail. It is not possible to save to file system, but you can save in Portal.Web Analyzer is only to use with WAD and is not able to process Workbooks.
    best regards,
    kai

  • Using Excel 2007 to display and auto-refresh planning.

    Hi all,
    a customer wants to display a simple planning screen on a 24" monitor.
    We're using an old domain pc, with domain user (planning) logged on to display the planning file.
    We've configured the worksheet so that multiple users can edit it.
    I've also found the settings which auto-update the file. I was amazed that this is standard functionality.
    Although, it doesn't work as we expected. It goes well, but when too much users work in the file, some users still get the error message: 'can't open file because it's already in use'.
    This does NOT happen when the file is not constantly opened by the 'planning user'.
    So that's one issue, probably caused by the 'planning user', having the file opened 24/7.
    Another issue is that the file stops auto-refreshing after a while. I didn't find any pattern in that.
    So basically, what the customer needs is:
    Display Excel worksheet
    Auto-refresh
    I've found some nice articles about SharePoint and Excel services, but unfortunately they're running SharePoint 2010 Foundation, which does not include Excel services...
    Is there any other way or tool to achieve this, without using the Excel-built-in options?
    Or maybe there's a fix for that problem?
    Thanks in advance.

    Hi LunAds,
    I'm afraid you have just discovered how bad these features are implemented in Excel: they just don't work properly and I always advise against using them for any serious long-term solution.
    If you do not have Excel services, then editing the document on the server (which would prevent lots of problems) is out of the question indeed.
    Alternatives depend a lot on your needs.
    For example, you could use sharepoint lists that the users can edit and then import those lists into Excel for reporting purposes.
    But if this is relational data (parent-child tables, which is very often the case) then a database solution is probably the best route to take.
    Regards, Jan Karel Pieterse|Excel MVP|http://www.jkp-ads.com

  • OM: Disable auto refresh check box in Quick Sales Order Form

    hi,everyone
    In screen [Quick Sales Order Form],
    we want to let the auto refresh check box always be checked and can not be updated with Form personalize.
    I didn't find the item in this form,
    and i konw that there is a value which defined in the Profile : [OM: Quick Sales Order Form: Auto Refresh](ONT_QUICK_OE_AUTO_REFRESH).
    Can anyone give me some suggestions?
    thx for ur help.

    hi,Pradeep
    Thanks for your reply.
    Actualy,the profile "OM: Quick Sales Order Form: Auto Refresh" has been setted into 'Line' firstly as we want to auto-refresh order lines.
    So the 'auto refesh' checkbox is checked with default value in the screen,
    but the order line would not be auto-refreshed when user uncheck the checkbox manually.
    So we want to disable or invisible the 'auto refesh' item in the screen with form personalize,
    the problem is i can not find the item or the block in the form.
    Or is there any suggestions to archive this?
    Can you please help me?
    Thanks,
    Leno
    Edited by: Leno Sun on 2013/05/07 19:35

  • Formated Search: Auto refresh with two conditions.

    Hi,
    I've created a Formated Search in one of my column.
    I defined my formated search as :
    - Auto refresh "When Exiting Altered Column" Item No.
    - Display Saved Values.
    Now how can I make it Auto refresh with two conditions?
    - Auto refresh "When Exiting Altered Column" Item No.
    And
    - Auto refresh "When Field Changes" Customers/Vendor Code.
    - Display Saved Values.
    Is there any way to make it work?
    Thanks In Advance.
    Bruce.

    Hi Bruce,
    You could try this trick.
    You need to execute SELECT1 in Col1 when Item No. column is altered or the Customer code is changed.
    Then, in the Item No. column asign a new Formatted Search which selects the Item No. column value (Its value) when the Customer code is changed.
    And in the Col1 asign a formatted search that acts when the Item No. column is altered.
    I think this should do the trick.
    Let us know if works.
    Regards,
    Ibai Peñ

  • UDF at header level will not auto refresh before & after adding the invoice.

    Hi All,
    I have a FMS query in the UDF at AR Invoice header level. I have set the FMS query to auto refresh when tax rate field changes but the UDF doesn't auto refresh when there is a tax code in the document.
    I will need to add the invoice first then open the added invoice and press shift+F2 to get the calculated amount in the UDF to update the invoice.
    How to get the UDF to auto refresh whenever the tax code has changed? Or after the invoice has added?
    The FMS query:
    SELECT sum(T0.[TotalSumSy]) FROM INV1 T0 inner join OINV t1 on t1.docentry = t0.docentry WHERE T0.VatGroup in ('SR','DS','AJS') and t1.docentry = $[OINV.docentry]
    Thanks & BR,
    Leng

    Hi,
    I solved the problem following the steps in SAP note 633285 - Printing the total Vat amounts in each Vat group, https://websmp130.sap-ag.de/sap/support/notes/0000633285
    In order to print  in the  order  the Vat amount  in each vat group Please perform  the followed stages:
    Go to Tools (in the SBO tool bar ) and chose Manage User Field
    In Marketing Documents (Rows) add new fields according to the Num of the vat groups that you are using in Orders (e.g. A1, A2 ,A4) The type : Units and Totals  - the Structure: sum in the order each column will represent the vat amounts in the line but only for certain  Vat Group
    in order that each column will display the vat amount in the line only if it belong to certain Vat group we attach a query to each column: (e.g. we have 3 columns : A1, A2, A4) .the queries are;
    SELECT $[$38.82.NUMBER]  WHERE $[$38.18.0] = 'A1' FOR BROWSE  SELECT $[$38.82.NUMBER]  WHERE $[$38.18.0] = 'A2' FOR BROWSE SELECT $[$38.82.NUMBER]  WHERE $[$38.18.0] = 'A4' FOR BROWSE Now each column will display the vat amount only if it in the relevant vat group
    in the order document printing template you need to add those Vat column in our example we add 3  data fields : the file: Order - Rows , the Field: A1/A2/A4 - you can hide (un visible ) this columns as needed
    in the Repetitive Area Footer add a calculation field for each vat groupthe Type: Column Total , the Column: Order; A1/A2/A4 in each calculate field you will get the sum amount of the vat in the relevant Vat group. (in  addition you can add text fields with a relevant description for the calculation fields)
    Thanks & BR,
    Leng

Maybe you are looking for

  • How to include user_sequences in a dbms_datapump procedure

    how to include user_sequences in a dbms_datapump procedure hi, i have a procedure to move all tables from MYSCHEMA_1 to MYSCHEMA_2 over a db_link using dbms_datapump ; That works fine but i need to copy the user_ sequences too. a detail if my procedu

  • How to add a button on ALV in webdynrpro ABAP  ?

    Hi Friends, i have come across one scenario in my project.   we use SALV_WD_TABLE class to generate ALV component in Webdynrpro and it contains two defalut buttons ' PRINT VERSION ' & ' EXPORT '. i have copied SALV_WD_TABLE into ZSALV_WD_TABLE. my qu

  • How do I block unwanted 'sponsored' emails? Was ok until new Mozilla Firefox installed yesterday!

    Ad blocker is already ticked. But since Mozilla updated yesterday I keep on getting 'sponsored' emails that I don't want. I cannot mark these as spam because that option is not available. I can only open them (which I don't want to do). However if I

  • PKCS#11 pin initialization

    How to initialize smartcard's pin number using Sun PKCS#11 implementation ? How to personalize smartcard (generate keys and load certificate) using Sun PKCS#11 implementation ?

  • AD 2008 NPS Radius WLC

    hello, Does anyone know where I might find a document spacific to 2008 / NPS / WLC intergration? thanks very much for your time, greg Message was edited by: GREGORY WHYNOTT