HWBOT
  1. HWBOT
  2. HWBOT-1074

When clearing cache via admin console, also clear JPA cache

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: hwbot v5.9.0
    • Labels:
      None

      Description

      Polls are using JPA, when changing a poll, there's currently no way to force a database select instead of using the cache

      Something along the lines of em.getEntityManagerFactory().getCache().evictAll();

        Activity

        Hide
        Build Server added a comment -
        Integrated in HWBOT v4 #2917 (See [http://dev.hwbot.org/job/HWBOT%20v4/2917/])
            HWBOT-1074

        When clearing cache via admin console, also clear JPA cache

        dennis :
        Files :
        * /hwbot/trunk/src/main/java/org/hwbot/facade/ServerFacadeImpl.java
        Show
        Build Server added a comment - Integrated in HWBOT v4 #2917 (See [ http://dev.hwbot.org/job/HWBOT%20v4/2917/ ])      HWBOT-1074 When clearing cache via admin console, also clear JPA cache dennis : Files : * /hwbot/trunk/src/main/java/org/hwbot/facade/ServerFacadeImpl.java

          People

          • Assignee:
            Dennis Devriendt
            Reporter:
            Dennis Devriendt
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: