Lov iterator refresh issue

HI friends!
I'm using JDeveloper 11g
I've got a problem with a lov attribute in my application.
I need to implement the following scenario:
I have an adf table Licence in my jsf page. One of the table columns includes a lov attribute which values must be selected from a list box (a list data source is LicenceProducer lov view object).
If there is no required licence producer in the drop down list we can trigger a pop up dilaog (kind of lov dialog) and create a new one row in the data source iterator.
Then the required attribute value of the newly created row must be passed to the list in the source jsf page and become a currently selected value for the lov attribute of the Licence VO.
SO i've have implemented almost the whole scenario:
1. created an appropriate lov attribute in Licence VO with LicenceProducer VO as a list data source
2. created a bounded adf task flow which is resonsible for displaying the pop up lov dialog with all insert/commit/return new value functionallity.
Everything works just greate except that the lov iterator is never refreshed after returning from the pop up dialog.
The updated content of the list box is only seen after reloading the source jsf page. Setting partial page rendering (for the Licence adf table) on returning from the pop up dialog does't work.
I saw a number of posts on this issue but never found any good solutions.
I think that i must somehow get an access to the lov iterator (data source vo) wich is not the same as the base LicenceProducer view object and refresh it programmatically.
PS. if i brought my issue in a not sufficiently clear way. please answer the quite simplier question. Is it possible somehow to add a lov functionallity with the possibility to add new rows into lov iterator?
Thanks in advance. Alex.

Thanks friends.
It is so greate to see somebody notice your question and even have the similar problem.
First to Paul
1. Yes I have a model driven LOV, i.e. i defined the lov functionalty for the attribute in a VO.
2. I'm using JDeveloper 11g as you might be using.
3. Actually i'm afraid i have not fully understood your approach with a row impl class. AS i could notice there were no worthy changes added into the row impl class after i had redefined VO's attribute to use a lov view object.
it would be greatly appreciated if you let me know more detail about your solution.
By the way i have noticed one interesting thing as I was experimenting with my issue. It turned out that the lov iterator refreshes just excellent on returning from a pop up "manually created lov dialog" after i click a rollback button of the data control
where the VO iterator containing the attribute with the lov functionalty exists. Give it a try and you'll see, no other standard operation button gives the same effect!!!!! I realized it accidentially myself.
To Hasim
if i understand you right your assumption is to refresh a row iterator which is the basis for the lov attribute and then refresh a page element where the lov attribute has been dropped?
If so than i've tried it because this is the first thing comes into mind. But it doesn't work, i think that this basis iterator we select for the list of values of the required attribute in VO is not the same as a real list Datasource iterator...
If i understood you wrong please give me know and explain please your approach. Your opinion is interesting for me.
I address our experts ones again with a rather simplier question. Is it possible to create a model driven lov attribute where it would be possible to insert new rows into the list of values during the ongoing user session?
Alex.

Similar Messages

  • LOV Auto Refresh Issue - OAF Page

    Hi,
    Currently we are facing one issue with one OAF page.
    We have one LOV in the page. Currently it is fetching the details as per the VO SELECT query associated with it and no issues in the query part.
    But, if you try to update the tables which are associated to the above VO query, the updated results are not showing in the LOV even after re-login also.
    One interesing thing is, we are able to get the updated results in the LOV once the server is bounced. Can any one pls let me know how to get this resolved and we are expecting this updated results needs to picked by LOV without bouncing the server.
    Best Regards,
    Hari

    Hi Ankul,
    We have already tried the approach which you have suggested. But still that did not worked.
    Best Regards,
    Hari

  • Iterator refresh issue : best approach?

    Hi,
    I have a java based bean data control which has a list to be displayed as a table.
    I also have a method called addObject() which actually adds to the list.
    Now to get the newly added row one of the ways was to call the "Execute" opetation binding in the action listener which i want to avoid.
    We may have to do this in quite a few places.
    Finally i found a declarative way using contextual events to achieve this.
    I raise a contextual event from the button which executes the addObject() method.
    Added a subscriber to this event with the standard "Execute" operation available for the list model as the handler.
    The table gets refreshed fine now.
    Will this approach have any issues like performance or anything else?
    Cheers,
    Raj

    As I understand, you are refreshing a simple table on addObject button click. Why not use PPR on table to listen to addObject button click by setting partialTrigger property of the table component to the button..? In my opinion, contextual events comes handy when you are trying to communicate across different page fragments/regions(task-flow).
    Did I miss something in your usecase..?
    regards,
    ~Krithika

  • Iterator Refresh Issue

    Hi,
    I'm seeing a weired behaviour when working with Iterator.
    Here are the thing what i have done & the problem that im facing with Iterator.
    Things what i have done
    ===============
    1.I have a DTO and a java class named ServiceDelegate in my model. And i have defined a method inside ServiceDelegate with the return type of DTO.
    2.And exposed this ServiceDelegate as Data Control.
    3.Using this DataControl, dragged the return type of the method(which is nothing but DTO) as a Search Form with a Submit button on to a jsff.
    4.Now, when the user enters the data for first time...the DTO is getting populated and able to retrieve the information which has been entered by the user into ServiceDelgate properly.
    5.This is fine.
    6.Now,if user tries to modify the data which was already entered .... and clicks submit button. This time, the modified data is not coming into the ServiceDelegate.
    Finally, i'm able to get the data from the Iterator(DTO) only for the first time. It is not working for the second time and further. If you open the page once again as fresh, it works fine.
    Does any one of you have any idea about this, why it is behaving so.
    Here is the code from my page Def.
    <methodIterator id="*borrowerDetailIterator*" Binds="editBorrowerDemographics.result" DataControl="BorrowerServiceDelegate" RangeSize="25"
    BeanClass="org.tgslc.defaultmanagement.domain.Borrower"/>
    <accessorIterator MasterBinding="*borrowerDetailIterator*" Binds="person"
    RangeSize="25" DataControl="BorrowerServiceDelegate"
    BeanClass="org.tgslc.defaultmanagement.domain.Person"
    id="personIterator"/>
    <accessorIterator MasterBinding="*borrowerDetailIterator*" Binds="address"
    RangeSize="25" DataControl="BorrowerServiceDelegate"
    BeanClass="org.tgslc.defaultmanagement.domain.PersonAddress"
    id="addressIterator"/>
    <accessorIterator MasterBinding="*borrowerDetailIterator*" Binds="phone1"
    RangeSize="25" DataControl="BorrowerServiceDelegate"
    BeanClass="org.tgslc.defaultmanagement.domain.PersonPhone"
    id="phone1Iterator"/>
    <accessorIterator MasterBinding="*borrowerDetailIterator*" Binds="phone2"
    RangeSize="25" DataControl="BorrowerServiceDelegate"
    BeanClass="org.tgslc.defaultmanagement.domain.PersonPhone"
    id="phone2Iterator"/>
    <accessorIterator MasterBinding="*borrowerDetailIterator*" Binds="email1"
    RangeSize="25" DataControl="BorrowerServiceDelegate"
    BeanClass="org.tgslc.defaultmanagement.domain.PersonEmail"
    id="email1Iterator"/>
    <accessorIterator MasterBinding="*borrowerDetailIterator*" Binds="email2"
    RangeSize="25" DataControl="BorrowerServiceDelegate"
    BeanClass="org.tgslc.defaultmanagement.domain.PersonEmail"
    id="email2Iterator"/>
    Regards,
    Kiran Konjeti

    Hi Amit,
    Thanks for the post. But you are too late. :) . I already tried that and it was working fine as expected. Anyhow, would like to mark your answer as Correct, because your post it correct.
    Thanks again.
    Regards,
    Kiran Konjeti

  • Problem with refresh issue in Table Overflow Area for LOV in edit mode

    Hi Friends,
    I am facing a problem with LOV if i keep this in Table Overflow area,
    When i select a Employee name from the List of Value clicking on select button it will not refresh the lov to display the currently selected Employee Name, but if i click on show and hide link of Table overflow the selected employee name will be displayed.
    But the if move the same lov item from Table Overflow area to Table layout it works fine.
    I tried my best to look into this but i could not, can any one suggest me what i need to do for this refresh issue.
    Regards,
    Rahul

    Hello Rahul,
    Strange, it's working for me.
    I assume you added Employees as reference entity to your updatable entity in your ViewObject.
    Did you uncheck "Key attribute" in EmployeeId of your reference entity?
    Anything in the log?
    Groeten,
    HJH

  • ADF Table: LOV Iterator Issue

    I have an editable ADF Table, with a column that contains an LOV (Select One Choice). This LOV gets it's data from another View Object. We have an LOV Maintenance screen that populates the LOV's View Object with data.
    My problem is when you insert new data into the LOV's View Object, then go to the Editable ADF Table which contains the LOV Column, the new LOV Data does not show up in the Select One Choice. However, if I open up a new browser window and open the application, I see the new LOV data. Also the new LOV Data shows in the database. This is telling me the LOV's iterator is not updating properly.
    However, since i have an ADF Table, the LOV along with all other columns are bunched into a Tree Binding and respectively the ADF Table's Iterator (In the page bindings). Thus I don't know how i can directly access the LOV's iterator and refresh it.
    How do I refresh the LOV iterator?
    Currently we're on ADF 11.1.1.3.

    Another Edit:
    Okay I got this workaround functioning properly... It was a combination of settings that need to occur. I'm not crazy about it because it seems inefficient -  but it works.
    1.) I exposed the View Row Imp Class of my ADF Edit Table View Object (and Included Accessors). Included Accessors so I had programatic access to my LOV's View Accessors. I had two Accesors so i could have a switching LOV on my LOV Attribute.
    2.) Then in the RowImpl class, I went to the LOV Accessor getter methods, i did this below, so we refresh the View Accessor.
         * Gets the view accessor <code>RowSet</code> ActiveSmsModules.
        public RowSet getActiveSmsModules() {
          RowSet rs = (RowSet)getAttributeInternal(ACTIVESMSMODULES);
          rs.executeQuery();
          return rs;
            //return (RowSet)getAttributeInternal(ACTIVESMSMODULES);
         * Gets the view accessor <code>RowSet</code> AllSmsModules.
        public RowSet getAllSmsModules() {
          RowSet rs = (RowSet)getAttributeInternal(ALLSMSMODULES);
          rs.executeQuery();
          return rs;
            //return (RowSet)getAttributeInternal(ALLSMSMODULES);
    3.): After that, I had to go to my ADF Edit Table's Iterator (In the bindings), set Refresh to Always. I'm not sure why but it didnt work without this setting.
    4.) Then in my ADF Page Backing Bean, which holds the ADF Editable Table, i had to run this code once when the ADF Table gets rendered. Basically, re-execute the ADF Edit Table's iterator query. Then refresh the LOV UI Component. The LOV object was bound with a getter and setter in my backing bean.
            BindingContainer bindings = getBindings();
            DCIteratorBinding iterator = (DCIteratorBinding)bindings.get("UnvPracSmtView1Iterator");
            iterator.executeQuery();
            AdfFacesContext.getCurrentInstance().addPartialTarget(getSmtSmsCode());
    It would be easier to be able to simply access the LOV's iterator through the ADF Table's Tree Bindings, but there doesn't seem to be a straight forward way to do this. If anyone has any other solution to this, please let me know!

  • Refresh Issue in Oracle ADF In JDeveloper

    Hi all,
    My ADF Application is having around 350 Forms. Application size is 700MB. I am facing a refresh issue in this application. whenever i am modifying any queries in view objects or lookups it is not reflecting immediately. Say : i modified one query. Then i deployed the application means the query is taking the old query. to take the modified query i have to rebuilt the view object. Every time i am facing this same problem. Some times within 2-3 deployments the query is modified by itself(without rebuild) and working fine. Sometime after 10 times also it is taking the old query only. Every time i have to rebuilt to fix this issue. Please help me to fix this issue. I am using oralce 11g.

    Try to invoke  Clean All Operation before you deploy the application.
    From Main Menu -- >Build -->  Clean All

  • Scrollbar refresh issue in ADF Table

    Hello, All
    We have an issue regarding the ADF Tables. Please let me know if it is a Oracle bug. All of us know that 'ExecuteQuery' operation refreshes the cache in View Objects.
    But, based on our testing results, there might be a table refresh issue on vertical scrollbars after this opertion is executed.
    Settings:
    In the attached example project, we have a ADF RichTable included in a PanelCollection.
    In addition, We set 'AutoHeightRows' property on this ADF RichTable in order to show scrollbars on the PanelCollection.
    Furthremore, a standard CommandButton is created on the toolbar to execute queries.
    Experimental Steps:
    1. Use your mouse to move the vertical scrollbar to around the center of its range. This behavior causes the scrollbar scrolling vertically.
    2. Click on any row showing in the table right now, make it to be the active row.
    3. Press the 'ExecuteQuery' button, waiting for the table refresh.
    Results:
    1. Active row moves to the first row in the rowset.
    2. Vertical scrollbar stay in the center of its range without moving to the first row.
    3. The first row is hidden from end users. The user can not see the active row in this case.
    FYI:
    The attached project can be accessed from the following link:
    http://www.4shared.com/zip/Xn4Ki0DP/Application3.html
    In this project, we tried to set 'partialTriggers' on RichTable and its surrounding PanelCollection separately. But, the refreshing issue still exists.
    Regards,
    David He

    Welcome David to forums.
    Always mention your exact Jdev version. For more information read this: https://forums.oracle.com/forums/ann.jspa?annID=56
    I too faced the similar kind of issue in one of my application.
    As you have not mentioned the exact jdev version, I will tell you what I did in my application which was developed using Jdev 11.1.2.0
    After the VO is executed, you can write the below line of code to show the first rows in the table.
    applicationsRichTable.setDisplayRow(applicationsRichTable.DISPLAY_ROW_FIRST);
    //applicationRichTable is the binding for the RichTable in managed beanHope it helps.

  • 5.1.0 sp11 Connection pool refresh issue, revisited....again...!!!

    "Hello,
    From reading of these newsgroups I've seen many different manifestations
    of what seems to be the same root cause with connection pools and
    connections which are refreshed/replaced when found broken. In our
    case weblogic server hangs.
    Kit: 2xWeblogic 5.1.0 sp11 (not clusterd), Solaris 8,
    java 1.3.1_01, 1xoracle 8.1.6, latest JDBC 2.0 drivers from oracle. Each weblogic instance and oracle have their own machines.
    We do indeed have a firewall employed to run our subnets, and hence
    our weblogic servers and oracle databses are in different DMZ's, but are
    allowed to communicate to each other via rules set up on the firewall and
    inspection of the logs show no such connections being dropped.
    As far as the db is concerned, lookups (no writes) never take more than a few
    hundred milliseconds and are then closed and given back to the connection pool
    immediately from within the 'finally' block of code, hence hard to see when,if ever, the db is
    is closing them due to excessive idle time.
    weblogic.jdbc.connectionPool.RecipeDBPool=\
    url=jdbc:oracle:thin:@foo:1521:BAA,\
    driver=oracle.jdbc.driver.OracleDriver,\
    loginDelaySecs=1,\
    initialCapacity=30,\
    maxCapacity=50,\
    capacityIncrement=1,\

    Alkesh wrote:
    Hi Joe,
    The fix you suggested has been implemented and has been running fine
    now for the past 3 days. I'm delighted with the result,Great. Glad to help.
    but am concerned as to why this problem wasnt highlighted during our
    load-testing phases...It's a possibility that your load-testing didn't present the same sort
    of load that your actual runtime does.
    Thanks for your time on this.Well sure. We want you successful.
    Joe
    Alkesh
    At 01:52 PM 2/22/2002 +0000, you wrote:
    Hi Joe,
    Thanks for your reply
    Please find attached a copy of the jvm thread dump we got from thelast time
    that weblogic blocked upon trying to refresh a broken connection.
    We have turned off JIT with the environment settingJAVA_COMPILER=NONE.
    FYI hotspot is enabled with '-hotspot', these settings can be foundin the
    attached 'startWeblogic.sh'.Hi. I found a serious problem by reading the thread dump:
    "ExecuteThread-11" daemon prio=5 tid=0x179d40 nid=0x19 waiting for
    monitor entry
    [0xeee80000..0xeee819e0]
    at java.sql.DriverManager.getConnection(DriverManager.java:144)
    - waiting to lock <f8e77ad0> (a java.lang.Class)
    at com.akqa.sainsburys.jv_recipe.ejb.session.RecipeBean.getConnection(Re
    cipeBean.java:759)
    It is important to never call DriverManager methods in a multithreaded
    application
    such as Weblogic, because these JVM methods are alloverly synchronized
    at
    the class level. One such method, DriverManager.println(), is called
    continuously
    by all JDBC drivers as well as the SQLException constructor. If one
    server thread
    makes a long-lasting or hanging call to DriverManager.getConnection(),
    it can halt
    all JDBC in the whole JVM including work on other open driver
    connections.
    Please show me the code for RecipeBean.java, and I will send you an
    altered version
    that should solve this problem. In fact, I can infer from the thread
    dump what is needed.
    Change the one method getConnection() to this:
    // Make once and re-use a driver instance directly, avoiding
    DriverManager
    Driver d = (Driver)class.forName("weblogic.jdbc.jts.Driver").newInstance();
    public Connection getConnection()
    return d.connect("jdbc:weblogic:jts:yourPoolNameHere", null );
    Also, change your pool definition. I assume you have
    testConnsOnReserve set to true.
    (You should). Also, you should change your refresh minutes to
    something huge, like
    9999999. The refresh is interfering with your online performance and
    is unnecessary
    if you have testConnsOnReserve set. I recommend:
    weblogic.jdbc.connectionPool.RecipeDBPool=\
    url=jdbc:oracle:thin:@foo:1521:BAA,\
    driver=oracle.jdbc.driver.OracleDriver,\
    loginDelaySecs=1,\
    initialCapacity=50,\ <------ note that this should be the
    same as max, so all cons are made at startup
    maxCapacity=50,\
    testTable=dual,\
    testConnsOnReserve=true,\
    refreshTestMinutes=9999999,\
    etc.
    Joe
    I've also attached some firewall logs around the time of weblogicblocking
    (12.09). I could only get screen dumps for you, this may or maynot be
    useful.
    For the firewall logs use the following legend :-
    195.110.64.205 - DNS
    172.16.160.195 - host webserver 1 (i.e. what our licenses are boundto)
    172.16.160.196 - host webserver 2
    172.16.160.220 - website 1
    172.16.160.230 - website 2
    Thanks
    Alkesh
    -----Original Message-----
    From: Joe [mailto:[email protected]]
    Sent: 20 February 2002 22:09
    To: [email protected]
    Subject: Re: 5.1.0 sp11 Connection pool refresh issue,
    revisited....again...!!!
    At 02:47 PM 2/20/2002 +0000, you wrote:
    Hi Joe,
    Please find attached a copy of our thread dumps for the most recentoccasion
    that weblogic server has stopped.
    Apologies for any misunderstandings with my previous post, it appears to
    have been cropped. Full posting below (yes we do have testConnOnReserve and
    testTable properties set).
    Thanks for your time.sure, but first let's get you running OK. These dumps seem to be
    very cryptic, as if you're running a highly optimized JVM that
    loses almost all of the Java class references I'd normally see.
    Can you run again with a more basic JVM? I am beginning to suspect
    the JIT JVM...
    Joe
    Alkesh
    Joseph Weinstein wrote:
    Hello,
    From reading of these newsgroups I've seen many
    different manifestations of what seems to be the sameroot cause with connection pools and connections
    which are refreshed/replaced when found broken. In our
    case weblogic server hangs.
    Kit: Weblogic 5.1.0 sp11 (not clusterd),
    Solaris 8, java 1.3.1_01, oracle 8.1.6,
    latest JDBC 2.0 drivers from oracle.
    We do indeed have a firewall employed to run our subnets,
    and hence our weblogic servers and oracle databses are
    in different DMZ's, but are allowed to communicate to each
    other via rules set up on the firewall and inspection of
    the logs show no such connections being dropped.
    As far as the db is concerned, lookups (no writes) never
    take more than a few hundred milliseconds and are then
    closed and given back to the connection pool immediately
    from within the 'finally' block of code, hence hard to
    see when,if ever, the db is is closing them due to excessive idle time.
    weblogic.jdbc.connectionPool.RecipeDBPool=\
    url=jdbc:oracle:thin:@foo:1521:BAA,\
    driver=oracle.jdbc.driver.OracleDriver,\
    loginDelaySecs=1,\
    initialCapacity=30,\
    maxCapacity=50,\
    capacityIncrement=1,\
    allowShrinking=false,\
    testTable=dual,\
    testConnsOnReserve=true,\
    shrinkPeriodMins=1,\
    refreshTestMinutes=10,\ // has been 1 and 5 but 10 'more' stable.
    Fequently however, connections are found to be broken
    (either by periodical refresh - refreshTestMinutes or
    testing connection before granting it to the
    application - testConnsOnReserve=true), this has been
    confirmed by viewing JDBC.log .
    When this is so, weblogic attempts to replace these
    broken connections with new ones and then proceeds
    to grant it to the application. Once in a while however
    (and by no means 'x' refreshes later), weblogic will not
    come back.
    One of 2 errors occur in our deployment which cuase weblogic
    to refresh a connection.
    <JDBC Pool RecipeDBPool> java.sql.SQLException: No more data to read fromsocket
    and
    <JDBC Pool RecipeDBPool> java.sql.SQLException: Io exception: Broken pipe
    I believe these settings to all be correct, JDBC drivers
    in the correct point BEFORE weblogic.aux in classpath, yet
    still have the issue of broken connections.
    Any ideas ? I've been reading a lot into this probelm
    on various postings now, and i'm completely stumped.
    Thanks for your time.
    Alkesh

  • Long posts in I.E. 8 refresh issue

    Recently I've had to upgrade to I.E. 8 on some PCs I work with, and posting from them, I've noted the that editing long posts have refresh issues. I type and the cursor returns to the beginning of the post, and I have to keep scrolling back down. Is this a known bug? Or is there a workaround with I.E. 8?

    Hi Dave,
    I'm obviously far too tolerant of bugs. I'm running IE8 both at home and at work, but this has only ever happened on my work machine. I've meant to look into the cause before now, but I only notice when I'm in the middle of a large post and by the time I've got that out of the way it's usually time to deal with other matters. I've often just put up with the text snapping up and down the screen as I type, but occasionaly have started composing in Notepad or switched browsers. I've just implemented the fix so hopefully I won't need to worry again.
    Many thanks,
    tt2

  • Refresh issues

    I wish to know if there are any refresh issues in the following scenario.
    Consider the same application running in 2 distinct VM, jvm1 and jvm2 in a
    simple
    configuration without L2 cache.
    In jvm1 I have:
    PersistenceManager pm = pmf.getPersistenceManager();
    pm.currentTransaction().begin();
    Object oid = xxx;
    Object o = pm.getObjectById(oid)
    System.err.println(o.xxxx);
    pm.currentTransaction().commit();
    pm.close():
    Then in jvm2:
    PersistenceManager pm = pmf.getPersistenceManager();
    pm.currentTransaction().begin();
    Object oid = xxx;
    Object o = pm.getObjectById(oid)
    o.setSomeAttribute(xxxx);
    pm.currentTransaction().commit();
    pm.close():
    Now if I execute in jvm1 the first code fragment, do I see the modification
    applied in
    jvm2 ?
    Thanks in advance,
    Guido Anzuoni.
    BTW, are you going to include oid (and hopefully, class) keyword in
    projection in kodo3 ?

    Guido,
    Yes, you will see the modification in the next PM. The only "stale data"
    issues you might see are when you get object ID X in JVM1, modify and
    commit object ID X in JVM2, and then continue to reference it in JVM1
    (without any closing or refreshing): you will continue to see the cached
    version of object ID X.
    When this situation is intolerable, you can use pessimistic
    transactions: that will guarantee up-to-date views of the object, at the
    cost of keeping database locks on the rows open.
    In article <[email protected]>, Guido Anzuoni wrote:
    No, no, just for confirmation. I have read some posts on this topic and I
    have only shown my tipical usage.
    Is this behaviour somehow dependent on optimistic settings ?
    What if the DB schema is a preexisting one and there is no column for
    optimistic locking check ?
    Thanks again,
    Guido.
    "Stephen Kim" <[email protected]> ha scritto nel messaggio
    news:[email protected]...
    Yes. Are you not seeing this behavior?
    As for oid and class keywords, I'm not sure if the feature has been
    resolved one way or another yet.
    Guido Anzuoni wrote:
    I wish to know if there are any refresh issues in the following
    scenario.
    Consider the same application running in 2 distinct VM, jvm1 and jvm2 ina
    simple
    configuration without L2 cache.
    In jvm1 I have:
    PersistenceManager pm = pmf.getPersistenceManager();
    pm.currentTransaction().begin();
    Object oid = xxx;
    Object o = pm.getObjectById(oid)
    System.err.println(o.xxxx);
    pm.currentTransaction().commit();
    pm.close():
    Then in jvm2:
    PersistenceManager pm = pmf.getPersistenceManager();
    pm.currentTransaction().begin();
    Object oid = xxx;
    Object o = pm.getObjectById(oid)
    o.setSomeAttribute(xxxx);
    pm.currentTransaction().commit();
    pm.close():
    Now if I execute in jvm1 the first code fragment, do I see themodification
    applied in
    jvm2 ?
    Thanks in advance,
    Guido Anzuoni.
    BTW, are you going to include oid (and hopefully, class) keyword in
    projection in kodo3 ?
    Stephen Kim
    [email protected]
    SolarMetric, Inc.
    http://www.solarmetric.com
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Calendar Refresh Issues

    Here's a strange refresh issue with the Apex Calendar. None of the built-in buttons (Monthly, Weekly, Daily, Previous, or Next) are refreshing the calendar with any entries at all when I first load the page. The grid and labels will be updated correctly but the data is not there.
    The weird thing is that after a page refreshes, everything suddenly works. I've tried apex.widget.calendar.ajax_calendar('M','same'); etc to no avail. Any help on this would be most appreciated.
    Thanks.
    mwt

    Same thing happening on my iMac.  Can't do much on the computer.

  • Screen refresh issue with SQL Developer 1.5.5 on Vista 64 bit

    I am using the latest version of SQL Developer.
    I have screen refresh issues in sql developer. On scrolling up and down the display gets jumbled, some time screen do not display at all. Its making working with SQL Developer very difficult. I don't have such an issue with any of my other editors.
    Is this something specific to Vista? Is there any know solution to this issue.
    Thanks
    Edited by: user5899685 on Sep 1, 2009 11:14 AM

    Specific? Not really, but judging from the posts here Vista is more prone. It usually indicates incompatibility between Java and video drivers.
    If updating your JDK or video driver doesn't work or isn't an option, just disabling DirectDraw in \sqldeveloper\bin\sqldeveloper.conf usually works too:
    AddVMOption -Dsun.java2d.noddraw=trueHope that helps,
    K.

  • Refreshing issue - Adobe forms!!

    Hello,
    We are facing a Refreshing issue - Adobe forms, whenever we open the adobe form through open processes, the window doesn't open fully, so again when we refresh it, the size is maximised but the abode forms doesn't open to the full size & we see a small scroll bar on the right hand side.
    Please help!
    Regards,
    Poornima Saligram

    Updates: Just found out that this issue rises only to the clients using Wyse terminals. Has anyone had any issue using Adobe forms and Wyse terminals?

  • CUE 2.1 script refresh issues

    At times I am not able to upload new scripts to CUE 2.1 (2.1.0). It gives a script refresh error. Also is there any difference between the script editors for versin 2.1.3, 2.2.2 2.1.1 etc..?? Can I use a script edited using 2.1.3 in version 2.1.0 ?

    The scripts are only forward compatible... I.e. you can use a script created with an older version of script editor in a newer version of CUE, but NOT vice-versa. The reason (among other things) is that occasionally there are newer steps added that aren't supported in the older versions. In some cases it'll work, in others it won't work at all; and in some you'll get weird things, such as the date/time steps won't work right.
    The bottom line is that you want to use the script editor that matches the oldest version of CUE that you plan on deploying with.
    There weren't any real changes in the 2.1 editors. 2.1 added steps like Extension To User. Version 2.3 will add a few more things, as well (and it'll also include a debugger for scripts, which is nice).
    About the refresh issue. I recall there were some problems in 2.1.1 and earlier where one could get a refresh issue. For one instance, it was something that would work if you would upload the script via the CLI (from an FTP server) instead of the GUI to work around the problem. For another issue (there's a bug ID...would have to check the release notes to be sure) that was fixed--I believe in 2.1.3--which also had symptoms like that. Basically once you'd get the error there was no way around it until you'd reload CUE. It was a fairly rare event (but annoying nonetheless). One thing that I do remember was that it was so rare that it was basically unreproducible. We found a potential problem, fixed it and then so far haven't heard anyone report such an issue since; but since it was rare to begin with, there's still a slight chance that there's something else causing the problem.

Maybe you are looking for

  • How to install itunes and docusign in ios simulator for monodevelop

    Hi All, Can anyone tell me on how to install iTunes and other applications like Docusign in ios simulator that is run on Mac(monodevelop). Thanks

  • RFC to XI to File (FTP) Scenario ? Need your help

    Hi XI Experts, currently I am into one the problem where I am doing one scenario which has the case of executing RFC on the SAP RFC side and based on which I will be getting the output table which will converted to XML by SAP XI and then we get that

  • JSP & Crystal Reports Database Problem

    Hi all, I hava problem with refreshing the crystal report web viewer if the report retrieves data from DB. If I don't refresh the report, it shows the report with default parameters. But when I refresh the report (I mean viewer.refresh()) it gives an

  • Dropped ipod black

    hi, this is what happen... i was having a bbq... i know, i know, bbq in fall, hey i love bbq... anyways i have logitech mm50 and i was playing music on it... put it on the table, my nephew knock it down... first that fell is my black 60gb ipod video.

  • Lead Addresses in IS-Media

    I need to validate postal addresses entered into SAP IS-Media (industry solution for media). According to the product manager: ...IS-M has its own address management which is independant from the one used in the SAP business partner. We are updating