Announcement

Collapse
No announcement yet.

HikariCP - executeCachedQuery function

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • HikariCP - executeCachedQuery function

    I'm testing connection pooling with Hikari and following some documentation, I noticed that the documentation was using executeQuery rather than executeCachedQuery.

    When attempting to change the line of code to use executeCachedQuery, I get the error:
    Cannot find function executeCachedQuery in object [email protected] wrapping [email protected]

    Does executeCachedQuery not work with Hikari 2.5.1 or am I missing something?

  • #2
    executeCachedQuery is part of the mirth User API. It's a method on the com.mirth.connect.server.userutil.DatabaseConnecti on object that is returned by the DatabaseConnectionFactory.

    Comment


    • #3
      Originally posted by agermano View Post
      executeCachedQuery is part of the mirth User API. It's a method on the com.mirth.connect.server.userutil.DatabaseConnecti on object that is returned by the DatabaseConnectionFactory.
      Gotcha - thanks!

      Comment

      Working...
      X