App Connect

 View Only
  • 1.  Global caching

    Posted Tue February 15, 2022 03:37 PM
    We have load and GET the data in cache but, now we wont to update cache and database simultaneously .

    so, please provide ESQL query to update  the cache and database simultaneously .

    ------------------------------
    Aravinth kumar Nadar
    ------------------------------


  • 2.  RE: Global caching

    Posted Thu February 24, 2022 02:56 PM

    Hi Aravinth,

    1) We are not in the habit of providing code as we would then be liable for it.

    2) I'm assuming the cache you are referring to is the embedded global cache.  If so, this does not have an ESQL interface.  It is either the Map or Java compute node.  You can call Java from ESQL.  
    3) How simultaneous does this need to be?  One after the other?  What if one fails?
    4) For the cache, use the update() method to update it.  For database, use the UPDATE command.

    -Matthew



    ------------------------------
    MATTHEW SEGALL
    ------------------------------