Do I have to write the cachestore implementation class??

Hi gurus,
     Do I have to write the java class that implement the cachestore interface in order to cache
     data for database? or is there any such class that have been included with the product.

The CacheStore interface defines a mapping between an object and a back-end data source. This mapping needs to be defined somehow, in most cases via an OR/M product like Hibernate or TopLink, but in some cases manually by implementing JDBC calls directly inside the CacheStore implementation.
     If you already have this metadata defined in an OR/M product, then you can use one of the prepackaged CacheStore implementations (JPA, TopLink Essentials or Hibernate).
     Otherwise, you will need to provide a CacheStore implementation.
     Jon Purdy
     Oracle Corporation

Similar Messages

  • I have to write the apple-id password every time i download something

    I have to write the apple-id password every time i download something from the applestore, even if it's just a few seconds between two downloads. Can i stop this or do i have to live with it? How?

    Go to Settings>General>Restrictions and see if the Restrictions on requiring PW everytime is set.
    iOS: Understanding Restrictions (parental controls) - Apple Support
    You can also adjust the time necessary before a password is required to purchase content

  • The time when the BADI implementation class really initialize.

    when I debug the cl_exithanler=>get_instance, I found that it returns the class name as: CL_IM_EX..., not the implementation class name begin with: ZCL_IM... which is created by me. So when does the BADI implementation class really initialize?

    It's not a macro, as Uwe showed you. Inside your Constructor method just enter the following code:
    break sy-uname
    Because of the '.' in your name you cannot use
    break yuan.gan.
    I am suprised to see that as a user name like that though.

  • Getting the Entity Implementation class on Table Selection Event...

    Hi to all !. I made an ADF application where I have two entities... "User" and "Products"... One user have many products... I would like to know what code to use in order that, when the user of my application selects a row, I can get the Java Class Implementation of my Entity Object "User" so that I can access his products !... Hope I can get help... Thankx 1

    Hello User,
    I think you're using business components, Am I right? This link could help you to understand the concepts:
    http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/adfbc_new_features/adfbc.html
    Regards,

  • ClassCastException in CacheStore implementation

    I have been trying to determine the way Coherence uses backing maps with limited success.
         I'm struggling with two problems.
         One is the configuration of a cache in the config files. I have declared a distributed cache scheme, which references a read write backing map scheme.
         The read write backing map scheme has an internal cache with a reference to a local cache scheme.
         The local cache scheme has a cache store scheme that specifies my CacheStore implementation class.
         Why do I need to specify an internal cache for the backing map? Can't I just configure the distributed cache to use a backing map or even straight to a Cache Store?
         My second problem is that I have miraculously got the cache to connect to my CacheStore (given my problems with the above, I wasn't expecting to get that far!).
         But the cache store is receiving com.tangosol.util.Binary objects as the key and value objects in the methods.
         Any clues or pointers would be gratefully received.

    Thanks Rob,
         the example helped me out to understand and simplify my configuration, and the store is now working well.
         It brought up another architecure issue though. Is it normal to create separate caches for each type of object stored and have one specific cache store on each cache, or is it common to have a store that is more of a facade and will delegate the persistence to other stores depending on the class of the object?
         In other words, what is the best practice? One cache per class or one cache for a multitude of classes with a store that will delegate the persitence according to the class?
         I'd welcome people's opinions based on their experiences.
         Cheers
         Mike

  • User exit function module include how to write the code

    hi all,
    i am creating user exit  for ME22N  using this enhance  MM06E005 .
    in this i created subscreen and set some fields .
    that data has to be stoe in EKPO.
    inside the include i have to write the logic plz guide me how to follow .
    once i enter it will store on wish internal table and wish internal table to shall i move to EKPO .
    If Tcode is ME23N how to display data in disable mode.
    Regards,
    Hari.

    This is the code inside the function module .
    once i enter data in custom field the below wish table it will store.
    FUNCTION EXIT_SAPMM06E_016.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(I_EKPO) LIKE  EKPO STRUCTURE  EKPO
    *"     VALUE(I_AKTYP)
    *"     VALUE(I_CI_EKPO) LIKE  EKPO_CI STRUCTURE  EKPO_CI
    *"     VALUE(I_BSTYP) LIKE  EKKO-BSTYP
    *"     VALUE(I_NO_SCREEN)
    *"     VALUE(I_LFA1) LIKE  LFA1 STRUCTURE  LFA1
    *"     VALUE(I_LFM1) LIKE  LFM1 STRUCTURE  LFM1
    *"     VALUE(I_EKKO) LIKE  EKKO STRUCTURE  EKKO
    *"     VALUE(I_REKPO) LIKE  EKPO STRUCTURE  EKPO OPTIONAL
    *"     VALUE(I_KEKPO) LIKE  EKPO STRUCTURE  EKPO OPTIONAL
    *"     VALUE(I_AEKPO) LIKE  EKPO STRUCTURE  EKPO OPTIONAL
    *"     VALUE(I_REBAN) LIKE  EBAN STRUCTURE  EBAN OPTIONAL
    *"     VALUE(I_MT06E) LIKE  MT06E STRUCTURE  MT06E OPTIONAL
    *"     VALUE(I_EINA) LIKE  EINA STRUCTURE  EINA OPTIONAL
    *"     VALUE(I_EINE) LIKE  EINE STRUCTURE  EINE OPTIONAL
    *"     VALUE(I_EKPO_OLD) LIKE  EKPO STRUCTURE  EKPO OPTIONAL
    *"     VALUE(I_KOMP) LIKE  KOMP STRUCTURE  KOMP OPTIONAL
    *"     VALUE(I_ENJ_CALL) OPTIONAL
    *"  TABLES
    *"      TEKPO STRUCTURE  BEKPO OPTIONAL
    *"      TEKET STRUCTURE  BEKET OPTIONAL
    *"      TEKKN STRUCTURE  EKKNU OPTIONAL
    *"      TKOMV STRUCTURE  KOMV OPTIONAL
    INCLUDE ZXM06U41 .
    ENDFUNCTION.
    inside the INCLUDE ZXM06U41 .  i writen this code
    *&  Include           ZXM06U41
    DATA :
          FS_EKPO TYPE EKPO_CI.
    IF ( SY-TCODE EQ  'ME22N' OR SY-TCODE EQ 'ME23N'
          OR SY-TCODE EQ 'ME22' OR SY-TCODE EQ 'ME23' ) .
      LOOP AT TEKPO.
       IF ( TEKPO-EBELN EQ i_EKPO-EBELN
            AND TEKPO-EBELP EQ i_EKPO-EBELP ) .
        EKPO_CI-ZMATERIAL = TEKPO-ZMATERIAL.
        EKPO_CI-ZQUANTITY = TEKPO-ZQUANTITY.
        EKPO_CI-ZUNIT     = TEKPO-ZUNIT.
        EKPO_CI-ZPRICE    = TEKPO-ZPRICE.
        EKPO_CI-ZCURRENCY = TEKPO-ZCURRENCY.
       ENDIF.
      ENDLOOP.
    ENDIF.
    Regards,
    Hari.

  • User exit /function module include in WM : how to write the code

    Hi all,
    I would like when TO creation in WM the field Queue (LTAK-QUEUE) to take a specific value
    I found the user exit MWMTO001  Enhancements for end of transfer order generation .
    First is it the correct user exit  for this purpose?
    Then as  I have to write the logic pls guide me how to follow .
    FOR A SPECIFIC WAREHOUSE NBR  
    IF LTBK- BETYP  = J ( Kanban/JIT)
    THEN  LTAK-QUEUE = F_PICK_RF
    Regards,
    Cadanj

    Hi,
    First of all, thanks for your answer.
    However I found the fied QUEUE (LRF_QUEUE) in the structure LTAP_VB (Transmission structure LTAP + LTAP1 for update task).
    So I suppose that this field can be updated, can it?
    Thanks for your feedback.
    Cadanj

  • Select statements where we have to write in crm 7.0

    hi
    i am new to sap crm 7.0
    1)where we are useing select statments in sap crm 7.0
    where we have to write the code as a crm technical consultant
    at which level genil or bol .if we write can u plz let me knw with clear answer.

    Subhani,
    Writing queries in CRM is always tricky. The question you have asked is very general, still i will try my hands on it for the larger benefit of the community.
    One should avoid writing queries on UI layer - As a general practice writing queries on UI is not appreciated because it hampers performance to a large extent.
    Use of standard FM instead of queries - There are several standard FM provided by SAP which serves most of the purpose for which queries may have to be written, they are written in a way so as to optimize the DB connect.
    BOL/GenIL - Incase the interaction with the DB table is very frequent, Query must be written in BOL/GenIL layer, this is done in order to have a steady framework and avoid frequent DB connect.
    If you have any specific query, feel free to post it but be more elaborative so that community members can help.
    Regards,
    Harshit Kumar

  • Where to write the code in TMG events

    Hi All,
    I want to use 05 TMG event.there is so many include programs are there.
    In which include i have to write the code.
    Please suggest me...
    Regards,Raj.

    Hi Raj,
    You can write it inside the Form include i.e LxxxF01., where xxx is the table name.
    The other 3 includes are as follows :
    1. LxxxI01
    2. LxxxO01
    3. LxxxTOP
    where LxxxI01 and LxxxO01 are  used for Process after input  and Process before input events resp.
    Hope it helps.
    Edited by: Rakhi Nair on Oct 5, 2011 10:10 AM

  • In which table does fnd_file.put_line writes the messages

    Hi All,
    I have a requirement where i have to write the log messages and for this i am using FND_FILE.PUT_LINE. can some one help me in getting the tabel name where this package writes the messages so that i can get the messages from there.
    Thanks in advance
    Aryan

    Hi Aryan,
    I think FND_FILE.PUT_LINE doesnot store the information in any Oracle tables. For every request we run in Oracle we will have a log file and output file created and the call to FND_FILE.PUT_LINE would be directly opening the log/output file and writing the contents in it.
    Best Regards
    Arun Kumar S.R
    Apps Associates.

  • Get the handler for GUIBB Feeder class from Genil implementation class

    Hello,
    In BOL based GUIBB, the feeder class will call correspondence Genil implementation class, may I know if it is possible to get the handler or instance of the feeder class in the Genil implementation class, then we can call the method of the feeder class get some information about the feeder, e.g. the value of the parameter.
    Thank you very much.
    Best regards,
    Shumin

    Hello,
    In BOL based GUIBB, the feeder class will call correspondence Genil implementation class, may I know if it is possible to get the handler or instance of the feeder class in the Genil implementation class, then we can call the method of the feeder class get some information about the feeder, e.g. the value of the parameter.
    Thank you very much.
    Best regards,
    Shumin

  • How to implement classes and methods in badi's ?

    how to implement classes and methods in badi's? and where i have to write the code based on the requirement?can anyone explain me briefly?

    Hi
    Every BADI by default Implements an INTERFACE which already contains some methods with parameters.
    So you have to find the relavenet method based on the related paramters (by checking the fields in that paramters) you have to double click on the method and to write the code.
    see the doc
    DEFINING THE BADI
    1) execute Tcode SE18.
    2) Specify a definition Name : ZBADI_SPFLI
    3) Press create
    4) Choose the attribute tab. Specify short desc for badi.. and specify the type :
    multiple use.
    5) Choose the interface tab
    6) Specify interface name: ZIF_EX_BADI_SPFLI and save.
    7) Dbl clk on interface name to start class builder . specify a method name (name,
    level, desc).
    Method level desc
    Linese;ection instance methos some desc
    8) place the cursor on the method name desc its parameters to define the interface.
    Parameter type refe field desc
    I_carrid import spfli-carrid some
    I_connid import spefi-connid some
    9) save , check and activate…adapter class proposed by system is
    ZCL_IM_IM_LINESEL is genereated.
    IMPLEMENTATION OF BADI DEFINITION
    1) EXECUTE tcode se18.choose menuitem create from the implementation menubar.
    2) Specify aname for implementation ZIM_LINESEL
    3) Specify short desc.
    4) Choose interface tab. System proposes a name fo the implementation class.
    ZCL_IM_IMLINESEL which is already generarted.
    5) Specify short desc for method
    6) Dbl clk on method to insert code..(check the code in “AAA”).
    7) Save , check and activate the code.
    Some useful URL
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    Now write a sample program to use this badi method..
    Look for “BBB” sample program.
    “AAA”
    data : wa_flights type sflight,
    it_flights type table of sflight.
    format color col_heading.
    write:/ 'Flight info of:', i_carrid, i_connid.
    format color col_normal.
    select * from sflight
    into corresponding fields of table it_flights
    where carrid = i_carrid
    and connid = i_connid.
    loop at it_flights into wa_flights.
    write:/ wa_flights-fldate,
    wa_flights-planetype,
    wa_flights-price currency wa_flights-currency,
    wa_flights-seatsmax,
    wa_flights-seatsocc.
    endloop.
    “BBB”
    *& Report ZBADI_TEST *
    REPORT ZBADI_TEST .
    tables: spfli.
    data: wa_spfli type spfli,
    it_spfli type table of spfli with key carrid connid.
    *Initialise the object of the interface.
    data: exit_ref type ref to ZCL_IM_IM_LINESEL,
    exit_ref1 type ref to ZIF_EX_BADISPFLI1.
    selection-screen begin of block b1.
    select-options: s_carr for spfli-carrid.
    selection-screen end of block b1.
    start-of-selection.
    select * from spfli into corresponding fields of table it_spfli
    where carrid in s_carr.
    end-of-selection.
    loop at it_spfli into wa_spfli.
    write:/ wa_spfli-carrid,
    wa_spfli-connid,
    wa_spfli-cityfrom,
    wa_spfli-deptime,
    wa_spfli-arrtime.
    hide: wa_spfli-carrid, wa_spfli-connid.
    endloop.
    at line-selection.
    check not wa_spfli-carrid is initial.
    create object exit_ref.
    exit_ref1 = exit_ref.
    call method exit_ref1->lineselection
    EXPORTING
    i_carrid = wa_spfli-carrid
    i_connid = wa_spfli-connid.
    clear wa_spfli.
    Reward points for useful Answers
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • Missing BRF implementation class 0EV001- register Event in BRF

    Hi I am trying to get an understanding of BRF and have started working though the SAP Help and have got to the How to develop an application. I have ran reports BRF_INITIALIZE. Used tcode BRFAPL01 to create an Application, ran BRF_COPY_IMPL_CLASSES, ran BRF to define the cross app features. I have created the ABAP program to raise the BRF event.
    The problem is that when i try and register my event in BRF and follow the help it tells me to use the event implementation class 0EV001 which it says is the SAP standard. This implementation class is not in the list of classes. Infact there are no event type classes.
    Can anyone tell me where i can get the implementation class 0EV001 and how i get it into my client so i can use it?
    Thanks Trev B

    HI,
        Actually after seeing your post, i checked in 3 systems where i have done the BRF. But i couldnt find in any of them.
    So we need to create the implementation class which supports our event.
    Reward points if found helpful.
    Regards,
    Seema

  • ServletContextProvider Implementation class for Apache Struts Bridge in OAS

    Hello,
    I am using Apache Struts Bridge to create JSR-168 portlets, based on Struts.
    But I am stuck in one point... i.e. maybe oracle doesnot provide a implementaion for the ServletContextProvider interface, which is required by the struts bridge, inorder to get the servlet context.
    Other Portal Servers like, Pluto, etc... provide a implementation class for this.
    I have heard that, if a Implementation class can be written for this, then the problem will be solved.
    Have any one faced any such situation? Have any one implemented the ServletContextProvider interface for OC4J....
    Any Help would be highly appreciated.
    Thanks
    Sam...

    I was able to find that class by downloading the Oracle Portlet Container 10.1.2.0.2 and following the instructions for extracting it into my OC4J. When you do that it will give you a file called ${OC4J_HOME}/shared-lib/oracle.wsrp/1.0/wsrp-container.jar. That jar file contains the class you need.
    Oracle Portlet Container 10.1.2.0.2: http://download.oracle.com/otndocs/tech/ias/portal/files/portlet-container.zip
    PDK Page: http://www.oracle.com/technology/products/ias/portal/pdk.html

  • JavaBean Implementation Class

    Hi, Is it possible to upgrade the property "Implementation Class" of a text-item in a dynamic way?
    Thanks

    Hello,
    Yes, but only if you use the FBean package, via the FBean.Register_Bean() function.
    Francois

Maybe you are looking for

  • UPS and our iMac // Will not allow iMac to sleep.

    Hello, We have a Cyberpower UPS (CP685AVR) for our 20" iMac 2.66Ghz (last gen)and it works great. It has a USB interface to communicate with the iMac's power manager, and tells me how much juice is left, how the cells are doing, etc. The only problem

  • How to create service in Windows XP for jar file?

    Dear friends, I'm having an jar file in my Windows XP OS. I would like to create new service Windows XP to run this jar file. When i start the service then the jar file to be executed. I did search in google but i didn't get any proper solution for t

  • Send multiple word files in one folder

    Not sure if this is the right forum, I want to send 30 word documents but don't want attach each file. On windows, you can use WINZIP, is there a MAC version of that? Some say STuffit but I have stuffit expander. Thanks, kchen

  • Generating a Line geometry using collection of point geometry.

    Hi Team, Im using Oracle 11g spatial database. As my subject line says, Im trying to write a PL/SQL package, in which, I need to generate a LINE geometry which connects all my collection of POINT geometry. Do we have any in-built spatial SDO utils/pa

  • Spnego for ABAP WAS

    Is somebody in SAP AG working on SPnego implementation for ABAP WAS? That is so strange when application server uses GSSAPI for GUI connection's and unable to use it for HTTP! Is somebody help me to understand how can i fix CL_BSP_LOGIN_APPLICATION a