How to use the database change notification event with an AppModule Child ?

hi,
I try to do the same stuff that this "How To" : [http://niallcblogs.blogspot.com/2009/06/auto-refreshing-adf-chart-objects-in.html].
This example works fine, but I want an Application Module Root which contains the Application Module which contains the VO where there is the method processDatabaseChangeNotification.
I have trying all the configuration possible of AppModuleRoot and AppModuleChild: Shared/Local, Local/Shared and even Local/Local ... but nothing works ...
Can you tell me if possible, and if so ... how?
thanks !
(I use jdev11g)

I don't find my reponse in the documentation....
I have an AM Child in an AM Root like that :
<AppModuleUsage
Name="AppModuleChild"
FullName="model.AppModuleChild"
ConfigurationName="model.AppModuleChildShared"
SharedScope="2" />
My AM Root is Shared in the file "DataBinding.cpx" :
<BC4JDataControl id="AppModuleRootDataControl" Package="model"
FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
SupportsTransactions="true" SupportsFindMode="true"
SupportsRangesize="true" SupportsResetState="true"
SupportsSortCollection="true"
Configuration="AppModuleRootShared" syncMode="Immediate"
xmlns="http://xmlns.oracle.com/adfm/datacontrol"/>
... and the database change event notification don't work... I don't understand !

Similar Messages

  • How to use the Eudora e-mail program with new ports

    For those of you that still use Eudora as your mail program. Here is how I made the required changes for the new port settings
    1) Open Eudora and from the "Tools" drop down menu select "Personalities"
    2) In the "Personalities" pane - right click the account you want to change and select "Properties"
    3) In the "Generic Properties" pane change the following
       a) Change the SMTP server to    smtp.verizon.net      and leave the "Authentication Allowed" box checked
       b) In the"Secure Sockets When Sending" selection box pick "Required,Alternate Port" . This both turns on SSL
           and makes the port  number 465 as required by Verizon
    4) Click the "Incoming Mail" tab at the top and then make the following changes
       a) Change the POP server to     pop.verizon.net
       b) In the"Secure Sockets When Sending"  selection box pick "Required,Alternate Port" . This both turns on SSL
            and makes this port  number 995 as required by Verizon
    Thats it . It should work for you now. You need to do this for each "Personality" (Sub account) you have

    Eudora users may also need to make changes to Eudora's Options (Tools > Options) "Getting Started", "Checking Mail" and "Sending Mail" in addition to the changes for each Eudora Personality. I outlined those changes in the "Eudora & server changes" thread--note there is a typo ("smpt" rather than "smtp") in the first post (couldn't edit that post to make the correction) in the thread so make sure to check the entire thread as a later post shows the correct entry.
    I had problems with Eudora sending mail (I didn't have problem with incoming mail because I don't use Verizon's servers for that) until I made changes to both Personality accounts and to the Option/suboptions noted above.
    Did you get things to work properly without having to make changes in Options?

  • How to use the calendar to add events and reminders?

    Since updating to the most current software, I am unable to add events or reminders to my iphone calendar.  Does anyone know how to use it now?  I really miss my calendar!
    Thanks in advance

    randers4, you saved my life!!  At least my social calendar life, including all my appointments and important dates.  After the last update, my + sign went away, but turning it on in the iCloud settings did the trick.  Thanks for your help!!

  • How to use the database connection bean??

    hi,
    i was created a database connection class. can teach me how to call the class at JSP.
    thanx...
    <jsp:useBean id ="dat" class ="Database" scope ="request"/>
         String sql = "INSERT INTO  table"
               "(standard,col )" +
               " VALUES " +
                                                "('a','kk')";
         public static Connection getConnection()
             throws ClassNotFoundException, SQLException
              // Load Sun's JDBC-ODBC Bridge
              Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
              // Make a connection to JDBC-ODBC Bridge drive with
              // the connection URL, jdbc:odbc:DSN
              String url =  "jdbc:odbc:miniproj";
              return(DriverManager.getConnection(url, "anonymous", "guest"));
         public static int executeUpdate(String nonSelectQuery)
             throws ClassNotFoundException, SQLException
              return(executeUpdate(getConnection(), nonSelectQuery));
         public static int executeUpdate(Connection conn, String nonSelectQuery)
             throws ClassNotFoundException, SQLException
              return(conn.createStatement().executeUpdate(nonSelectQuery));
         }

    NOTE that you should always have your classes inside packages. Some versions of Tomcat won't use them correctly otherwise.

  • How to use the Dynamic register of events in X-controls

    Is it possible to handle dynamic events triggering using the X-control and if possible how to handle that option

    Yes, it is tricky.  I have an idea on the Idea Exchange suggesting that this behaviour is added to XControls - go and give kudos if you agree.
    http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Trigger-XControls-for-Dynamic-Events/idi-p/1411062

  • How to know the database changes between different releases

    Where can I get the information of database changes, like for example new columns new tables, etc, between different releases?
    My goal to try to determine the current version, or is there a better way?
    Thank you

    For JD Edwards World or for JD Edwards EnterpriseOne - you can go to upgradejde.com Once this screen comes up, pick Resources. You will then have an option to take JD Edwards EnterpriseOne or JD Edwards World. On the next screen, you can select the tab Compare Releases. This will allow you to enter the release that you are currently on and enter the latest GA release of software. You will then see all the differences between your current release and the release you should upgrade to. You can also format this into a printed report.

  • How to use the JRun Custom tag library with Weblogic 5.1?

    Hello,
              is it possible to use the JRUN Tag Library with Bea Weblogic 5.1? We
              got an error message like:
              weblogic.servlet.jsp.JspException: (line -1): Error in tag library at:
              'jrun': T
              here is no setter method for property 'code', for Tag class
              'allaire.taglib.Serv
              letTag'
              Thank you for any info!
              Stefan
              

    Hi Joe,
    I don't know, however someone that follows the JSP newsgroup [1] may be
    able to help. Could you try your post there.
    Thanks,
    Bruce
    [1]
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.jsp
    Joe Kamenar wrote:
    >
    I have a question. I need to do a sort on news articles in our database, sorting
    by the date they were posted. I then want to take only the top 6 articles. We
    are using Weblogic 5.1. When I use the following statement, 6 articles are taken
    from the database, then sorted, which ends up leaving out the most recent articles:
    <cm:select contentHome="com.beasys.commerce.axiom.document.Document" query="<%=contentQuery%>"
    sortby = "creationDate DESC, headlineDate DESC" max="6" id="contentList" />
    I need to get ALL the articles for the sort, then just take the most recent 6.
    So, I know that I can use the following code and monitor the counter variable,
    "i". But, how do i do this to only display the top 6 items?
    <es:foreachinarray id="content" array="contentList" type="com.beasys.commerce.axiom.content.Content"
    counterId="i">
    <% myStr=content.getIdentifier(); %>
    <% if (i<6) {
    %>
    <div class="marginText">
    <cm:printproperty id="content" name="title" encode="html" />  
    <a href="<%=new String(news_display.jsp?id="+myStr)%">">more</a>
    </div>
    <% } %>
    </es:foreachinarray>
    However, when I run this, no results show up. What is the correct way to do this?
    - Joe</a>

  • How to use the discrete unit delay block with the waveform as the input data type?

    Hi,
    I'm using LabView 2011 to implement a design system. I want to first downsample the input signal and then go through the discrete unit delay function. However, after the unit delay function, i don't get the right output, is there a way to fix that?
    The input is fixed to be the simulate signal since i'm using it for other implementation as well and i don;t want to change it.
    plz see the attachment , thx!
    Attachments:
    test2.vi ‏355 KB

    Hi Tim,
    Thanks for replying!
    What u did is exactly what I want except that I want to downsample the simulate signal first before I put it into a delay block.
    I tried what u said, however, it only works for very small frequency such as 0.01 Hz. When I set the input to 10 Hz, the delay block doesn't work at all. For the diagram u have, what is the input frequency u set to the simulate signal?
    The reason I'm use the Express VI is because I use it as the input of the frequency estimation block. So basicly what I'm doing is :
    sine wave ->downsample it->delay the downsampled signal and do some numerical calculation(adding,multipling) ->estimate the frequency of the output signal -> this frequency is used to determin the sample factor in the downsampling process.
    I attached the VI with the downsamped involved
    I can't copy the downsample.vi because I use the evaluation version 30 days for that toolkit .
    I attached the VI for frequency  estimation as well.
    Thanks so much!
    Ivy
    Attachments:
    Testing.vi ‏238 KB
    Frequency Estimation.vi ‏61 KB

  • How to use the discrete unit delay function with the simulate signal as the input?

    Hi there,
    I want to use the simulate signal as the input. First, i downsample the input with the downsampler.vi. Then I want to feed the output of the downsampled signal to the discrete unit delay block and display the delayed signal on the graph.
    Somehow I can't use the delay block properly, do anyone know how to fix that?T_T
    thanks!!!!
    Ivy
    please see the attachment
    Attachments:
    test.vi ‏164 KB

    Hi nozombie,
    In your VI the Delay VI only delays the measurment for one interation of your simulation loop.  What are the results that you hope to see?
    Regards,
    Mike Altmann
    LabVIEW Platform PSE
    National Instruments

  • How to use the Optical in on 002r with Logic Studio?

    Hi there
    i'm trying to figure out a problem that i really can't find a solution,i'm using Logic studio 8 whith Digi 002rack and 7.4 core audio version,my question is how to select in logic the optical IN of the 002r that in my case is connected to my triton rack synth?
    i can use the spdif in of the 002 but i can't find a way to use the optical in.
    thanks all

    I dont know if you will be able to connect other device like PS3 or Wii.
    As far as I know only the Xbox 360 could be connected to a Qosmio and could be used with the Windows MCE.
    I presume this is possible due to connection of Microsoft products; MCE and Xbox360
    To be honest; why you dont take a look into the user manual if this notebook is new to you?
    All details are mentioned in the user manual which is already preinstalled on the notebook.

  • Can anyone tell me how to use the loops and backing tracks with a single guitar input? I can't seem to figure out how to set this up

    I am trying to configure Mainstage to input my own guitar and add a backing track from the library or a loop but, I can figure out how to open or add the tracks I've downloaded. Any help would be great

    did you try the PlayBack preset/template?
    once you open the PlayBack plug-in you just load the tracks from the plug-in's menu.

  • HT1688 I am trying to find answers about how to use the earphones that came with my new iPhone 4s. Does this work similarly as a Bluetooth or do I need to still buy one. The printing in the manual is SOOO small, it is too hard to read!

    Does anyone know how to use the earphones( plugs) that come with iPhones?
    Mine is still fairly new and I am just learning how to use certain things.

    They're pretty straightforward. You plug them into the headset jack (the hole on the top left of your phone). You put the buds in your ears. All sounds, except for the phone ringing will now come through the earbuds.

  • Using Database Change Notification instead of After Insert Trigger

    Hello guys! I have an after insert trigger that calls a procedure, which in turn is doing an update or insert on another table. Due to mutating table errors I declared the trigger and procedure as autonomously transactional. The problem is, that old values of my main tables are inserted into the subtable since the after insert/update trigger is fired before the commit.
    My question is how can I solve that and how could I use the change notification package to call my procedure? I now that this notification is only started after a DML/DDL action has been commited on a table.
    If you could show me how to carry out the following code with a Database Change Notification I'd be delighted. Furthermore I need to know if it suffices to set up this notification only once or for each client seperately?
    Many thanks for your help and expertise!
    Regards,
    Sebastian
    declare
    cnumber number (6);
    begin
    select count(*) into cnumber from (
    select case when (select date_datum
        from
          (select f.date_datum,
            row_number() over (order by f.objectid desc) rn
          from borki.fangzahlen f
          where lng_falle      = :new.lng_falle
          and int_fallennummer = :new.int_fallennummer
          and lng_schaedling   = :new.lng_schaedling
          and date_datum       > '31.03.2010'
        where rn=1) < (select date_datum
        from
          (select f.date_datum,
            row_number() over (order by f.objectid desc) rn
          from borki.fangzahlen f
          where lng_falle      = :new.lng_falle
          and int_fallennummer = :new.int_fallennummer
          and lng_schaedling   = :new.lng_schaedling
          and date_datum       > '31.03.2010'
        where rn=2) then 1 end as action from borki.fangzahlen
            where lng_falle      = :new.lng_falle
            and int_fallennummer = :new.int_fallennummer
            and lng_schaedling   = :new.lng_schaedling
            and date_datum       > '31.03.2010') where action = 1;
    if cnumber != 0 then
    delete from borki.tbl_test where lng_falle = :new.lng_falle
    and int_fallennummer = :new.int_fallennummer
    and lng_schaedling   = :new.lng_schaedling
    and date_datum       > '31.03.2010';
    commit;     
    pr_fangzahlen_tw_sync_sk(:new.lng_falle, :new.int_fallennummer, :new.lng_schaedling);

    It looks like you have an error in line 37 of your code. Once you fix that the problem should be resolved.

  • How to use the table maintenance events for validating the input entries..?

    Hi,
    I have created a Z table with 6 fields in which all are KEY fields. All are of CHAR type. I have created the Table Maintenance Generator for the same. While maintaining the entries in the table, even though I maintain a blank entry for a field it is saving the entry. But, I don't want that way. All the fields are mandatory in my table. One should enter all the fields. Otherwise it should not allow to save the entry. So, I think it can be done using the Table Maintenance Events. can someone tell me how to use the Table Maintenance Events. and which event to use for my reuqirement and what is the logic to be written.
    Or Is there any other way to solve my problem.
    Please share your inputs. Thanks in advance.
    Best regards,
    paddu.

    In the table maintenance generator, Environment --> Modifications --> Events then a screen will be appear here,we need to create the Events.In the EVENTS screen, press new Entries, there give 01(Before Saving the Data in the Database) and give a name(This will become a PERFORM), then click the Editor pushbutton, this will be there at the right side of the entry, then a popup will be appear, you can create an include program, there inside of the include program write ur code.
    Here is documentation for Event 01(Before Saving the Data in the Database )
    Event 01: Before Saving the Data in the Database
    Use
    This event occurs before new, changed or deleted entries are written to the database. Other activities can be performed, for example:
    hidden entry processing
    fill hidden fields
    flag data to be written to hidden tables after the database change.
    To have the changes saved by the central maintenance dialog routines, SY-SUBRC must be set to 0 at the end of the routine.
    Realization
    This event has no standard routine. The following global data is available for the realization of the user routine:
    internal table TOTAL
    field symbols
    field symbols <ACTION> and <ACTION_TEXT>
    <STATUS>-UPD_FLAG
    If internal table data are to be changed before saving, t he changes should be made in both the internal table TOTAL and in the internal table EXTRACT.
    FORM abc.
    DATA: F_INDEX LIKE SY-TABIX. "Index to note the lines found
    LOOP AT TOTAL.
    IF <ACTION> = desired constant.
    READ TABLE EXTRACT WITH KEY <vim_xtotal_key>.
    IF SY-SUBRC EQ 0.
    F_INDEX = SY-TABIX.
    ELSE.
    CLEAR F_INDX.
    ENDIF.
    (make desired changes to the line TOTAL)
    MODIFY TOTAL.
    CHECK F_INDX GT 0.
    EXTRACT = TOTAL.
    MODIFY EXTRACT INDEX F_INDX.
    ENDIF.
    ENDLOOP.
    SY-SUBRC = 0.
    ENDFORM.
    Regards,
    Joy.

  • How to deal with the situation when the database change into ms-sqlserver ?

    Hi,dear all,
    How to deal with the situation when the database change into ms-sqlserver or other database?
    Now, i want to build a j2ee project with ORACLE ADF bc,but this project may be used in several diffrent databases for example oracle db,ms db,mysql and so on.however,if i have developer this project in jdeveloper and this project connection was config as a oracle database,and then,can this project be reused for other databases espasially including the model codes? if yes,how should i do?
    all who know how to resolve this,tell me pls,thanks.
    bruce Li,
    China
    Message was edited by:
    user526724

    Hi Paulbin,
    Do you want to supply a function-pointer to a DLL so it can call[back] your VI?  Here's how it can be done with .NET, though, that solution requires a C compiler.   A single "VI_to_function-reference" utility could handle all cases where the callback passes no parameters.  Maybe someday somebody will share that dll.
    Did you know that LabVIEW can use Events for some COM-signals change?  See pic.  (Note: DTR is not listed - - )
    Another question is another function's prototype is WORD SetTestType(WORD comHandle, bool type1, bool type2, bool type3),   I tried to use a boolean control and a Boolean to (0,1) node in labVIEW to pass parameters to CLF, I config the bool input value as U8(according to C++ bool type) and U32(according to WIN32 BOOL type), it dose not help, when I execute the VI, LabVIEW will be disappeare, it seems to be closed, I must start it again.
    Could someone has similar experience on this points?
    It's easy to crash LabVIEW misusing CLF - maybe there's another reason for the crash besides bool mis-match(?)  Do you know which "Calling convention" is required?  What type is comHandle? (where does comHandle come from?) 
    Cheers!
    Message Edited by tbd on 03-23-2007 09:34 PM
    Message Edited by tbd on 03-23-2007 09:35 PM
    "Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
    Attachments:
    evt.jpg ‏7 KB

Maybe you are looking for

  • Tiger no longer recognizes my Combo Drive

    While watching a DVD, my laptop had a bad crash. I was able to restart the computer, but since then, the OS no longer recognizes my Combo Drive. When I start the DVD Player app, it gives me the message "There was an initialization error. A valid DVD

  • @EJB injection

    Hi, I've seen this asked before, but there was never enough information, so I'm going to ask this again. I am trying a simple test with WebLogic 10.0 MP1. I have created an EAR file with 3 modules inside: 1. A JAR file containing a stateless EJB. 2.

  • Use of strategy 51

    Hi, We have a scenario where the finished material (GA_FINISH) is assembled as per the customer requirement A level below that we can produce & maintain in stock (GA_ASSLY) Process planned as follows GA_FINISH (use strategy 51) Create PIR for GA_FINI

  • Do you have a problem selecting text in Indesign CC?

    It seem to take three clicks to select text. Have I got preferences set up wrong? To be frank, it's driving me nuts, is it difficult to go back to CS6? Thanks in advance. PS. It's probably my fault.

  • Need to show frm-40400 message

    Hi, I would like to show this FRM-40400 message for non database field update to another table . Message should display in the status bar as "Frm-40400 Transaction Complete. 1 record applied and saved" Please tell me how can i handle this issue. Than