How can i refresh all CMP cache?

Hi,
In my application i need to delete many rows from DB using direct mySql commands. after i do that, my application server is still using the cached entity beans from before the deletion, and this might cause problems.
How can i refresh all the entity beans cache completely?

In my application i need to delete many rows from DB
using direct mySql commands. after i do that, my
application server is still using the cached entity
beans from before the deletion, and this might cause
problems.
How can i refresh all the entity beans cache
completely?Maybe if you were really using EJB you would know the answer. Describe the problems this is causing and explain what you don't respond to your forum post. Do you know how to write a SQL statement? Do you know what CMP stands for? Would you like to know how to create software programs?

Similar Messages

  • F4IF_INT_TABLE_VALUE_REQUEST - how can I return all values from the line?

    Hi,
    I'm using FM F4IF_INT_TABLE_VALUE_REQUEST to show a pop-up with my internal table values.  The internal table has 3 fields, ATINN, ATZHL and a description field ATWTB.  ATINN and ATZHL are needed to complete the unique table key, however this FM will only return the value of one field in any line I select.
    How can I see all the values in the line I select in the return table?
    My code is as follows:
      DATA: tbl_cawnt LIKE cawnt OCCURS 0,
            wa_cawnt LIKE cawnt,
            BEGIN OF tbl_list OCCURS 0,
              atinn LIKE cawnt-atinn,
              atzhl LIKE cawnt-atzhl,
              atwtb LIKE cawnt-atwtb,
            END OF tbl_list,
            wa_list LIKE tbl_list,
            tbl_return LIKE ddshretval OCCURS 0,
            wa_return LIKE ddshretval,
            tbl_fields LIKE dfies OCCURS 0,
            tbl_dynp LIKE dselc OCCURS 0.
      REFRESH: tbl_list, tbl_cawnt.
      SELECT atinn atzhl atwtb
        FROM cawnt
        INTO CORRESPONDING FIELDS OF TABLE tbl_cawnt
        WHERE spras EQ sy-langu.
      LOOP AT tbl_cawnt INTO wa_cawnt.
        CLEAR wa_list.
        MOVE: wa_cawnt-atwtb TO wa_list-atwtb,
              wa_cawnt-atinn TO wa_list-atinn,
              wa_cawnt-atzhl TO wa_list-atzhl.
        APPEND wa_list TO tbl_list.
      ENDLOOP.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'ATWTB'
          dynpprog        = sy-repid
          dynpnr          = sy-dynnr
          value_org       = 'S'
        TABLES
          value_tab       = tbl_list
          return_tab      = tbl_return
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Thanks!

    Hi,
      Use the structure DYNPFLD_MAPPING
    With this internal table you can easily define that you want to return
    other columns of the hit list in addition to field RETFIELD to the
    screen.
    In this IT you can MAP the screen fields to the serch help screen fields this has three fields
    FLDNAME this is the field anme from the search help
    FLDINH This has to be blank which would be field with the field value that you want to map
    DYFLDNAME THis is the screen field name.
    So here you can get the values for the other fields that you want which are on the search help just populate the name of the fields in FLDNAME.
    Regards,
    Himanshu

  • How can I "refresh" my iTunes Library?

    How can I "refresh" my iTunes Library? I recently moved my library to an external and made the source folder change in preferences. My library now shows all exclamations asking me to locate the files. What is the quick fix to locate or "refresh" all?

    Michael,
    Your response here seems exaclty like the answer that I need.  My logic board broke and I had to get a new one.  Sent to Apple and all is working again.  I didn't have an super recent time machine back up....my last one was 2 months old.  I was able to salvage my music from the computer before sending in for repair and when I got it back, I reloaded my music file onto my machine.  I use iTunes match so maybe that kept many of my files/playlists etc in order.  But my iTunes is asking me to download many songs that are showing in iTunes and are in a folder in iTunes.  These are songs I downloaded during that 2 month break between time machine backups.  I think a refresh will fix this issue.  But when I follow your steps above, I not certain what file to choose.  I tried to go to my itunes ---> itunes media ---> music but that doesn't work.  Do I need to choose the "iTuens Library.itl" file?  I use my playlists for my job so I don't want to just guess here and lose everything.  I did do a backup of my playlists so hopefully I'm protected if something happens but just want a bit more guidance on this.  Thank you for your help and your time and let me know if you have any questions. 
    Best,
    Kirk

  • How can i get all values from jtable with out selecting?

    i have one input table and two output tables (name it as output1, output2). Selected rows from input table are displayed in output1 table. The data in output1 table is temporary(means the dat wont store in database just for display purpose).
    Actually what i want is how can i get all values from output1 table to output2 table with out selecting the data in output1 table?
    thanks in advance.
    raja

    You could set the table's data model to be the same:
    output2.setModel( output1.getModel() );

  • How can I get ALL of my Google Calendars to show on the iCal on my iPhone? I see all of my Google Calendars on the iCal on my Mac, but I do not see them in the iCal on my iPhone. I only see one Google Cal, but not the others.

    How can I get ALL of my Google Calendars to show on the iCal on my iPhone?
    I see all of my Google Calendars on the iCal on my Mac, but I do not see them in the iCal on my iPhone. I only see one Google Cal, but not the others.

    https://www.google.com/calendar/iphoneselect

  • I want to transfer my entire itunes account to another computer. how can i get all of the music i put on my computer on a new computer?

    So my family had a computer that kept all of the songs and videos on it for itunes. how can i transfer all of that data to another computer and put that new computer as our home computer for the home itunes computer? please help me. i have been trying to figure this out for 2 months now.

    open itunes on the new computer and go to the itunes store
    make sure you are signed in with the apple id of whoever purchased all of music from the itunes store
    on the right hand side of the itunes store home page, under quick links click 'purchased'
    you will be able to download anything you have previously purchased for free
    let me know if that works for you.

  • When importing songs of a same album but different artist iTunes will separate the artists. How can I bring all together in the same album?

    When importing songs of a same album but different artist iTunes will separate the artists. How can I bring all together in the same album?

    Generally setting a common Album Artist will fix things. For deeper problems see Grouping tracks into albums.
    tt2

  • How can i print all the contect of the code in sapscript window ? ?

    how can i print all the contect of the code in sapscript window ? ?

    Hi,
    Do you mean that you want to print the ABAP code to SAPscrip form ?
    Svetlin

  • How can i print all the tab pages not just the first page (tab)

    how can i print all the tab pages not just the first page (tab)

    You would need to do this programmatically. Here's one way:
    Attachments:
    Example_VI_BD6.png ‏3 KB

  • My old computer, and external that I had everything backed up on broke. Majority of my music I got from burning CD's that I no longer have. How can I get all my music on my iPod onto my new iTunes?

    Like I said, my back up broke and I can't get all of my music back by transfering purchases because I burned a lot of CD's I had collected from the past. I don't have any of those CD's anymore, so how can I get all of my music onto my new iTunes? Or am I just S.O.L.?

    Phone to Mac,this app lets you easily copy, transfer the music, videos and playlists from any iPod or iPhone directly into iTunes on any Mac.

  • I am running out of memory on my hard drive and need to delete files. How can I see all the files/applications on my hard drive so I can see what is taking up a lot of room?

    I am running out of memory on my hard drive and need to delete files. How can I see all the files/applications on my hard drive so I can see what is taking up a lot of room?
    Thanks!
    David

    Either of these should help.
    http://grandperspectiv.sourceforge.net/
    http://www.whatsizemac.com/
    Or search 'disk size' in the App Store.
    Be carefull with what you delete & have a backup BEFORE you start, you may also want to reboot to try to free any memory that may have been written to disk.

  • How can I transfer all my data including SMS to my mac/windows computer?

    My friend has asked me to help her transfer all the data from her iPhone 3GS to a computer then to a hard drive. She has several folders with pictures in but image capture on mac is only picking up the one. I have an iPhone 4S and iPad 3 installed already on iTunes so don't want to accidentally erase her phone.
    She also needs some of the SMS messages taking off of her phone and saving either as they are or in some form of text file so they are readable in the future.
    How can I retrieve all this data including the messages without losing anything and can it be done for free?
    If you need anymore info please just ask and I'll try and pass it on to the best of my (limited) knowledge.
    Thanks in advance!

    http://www.iphonebackupextractor.com/
    SHe can also do a backup of her phone and it will save the text message, but she won't be able to view the text unless she restores to the backup.

  • How can i clear all events in ical

    how can i clear all events in ical

    Try typing "." without the exclamation points in the iCal search window. Then simply highlight all the entries > Edit/Delete

  • My computer with my original library has crashed, how can i keep all the songs on my iphone, but still add new songs from my new library?

    My computer has died and will not be working ever again. Problem is, i have all of my songs on that computer in my itunes library as well as on my phone. Now i want to add some songs to my phone from some new cds and it tells me i will loose all my songs on my phone right now when i perform the sync. How can i keep all of the songs on my iphone because now i do not have copies of these songs anymore except on my iphone?????? From what i have read, itunes is a joke because it only goes one way apparently. Not happy with itunes right now, more then a bit of a joke

    It has always been very basic to always maintain a backup copy of your computer for this very occasion.  Use your backup copy of your computer to put everything on the new one.
    If for some reason you have failed to backup, big mistake, then you can transfer itunes purchases from the iphone to the computer:  File>Transfer Purchases
    You may be able to buy a 3rd party program to get any other music off of the iphone ( not supported by Apple).
    When you sync the iphone, it will erase the current content and replace with content form the new computer.
    "Not happy with itunes right now, more then a bit of a joke"
    Not itunes fault that you did not do the very basics and maintain a backup copy.

  • I have to re-install itunes, how can I get all my songs, apps etc back, with no access to my old itunes??

    Itines was deleted from my computer and I need to re-install it but dont want to lose all my songs, apps etc. How can I get all this back onto itunes with no access to my old itunes??

    Itunes was deleted?  Or your itunes library was deleted?
    If it was just itunes, then your music should still be there.  Just reinstall itunes.
    Otherwise just use your backup copy of your comuter to put everything back.

Maybe you are looking for