Hi,
Any update for the issue mentioned?
Regards,
Tushal
Disclaimer and confidentiality note:
Everything in this email and any attachments relating to the official business of Paywise Limited is proprietary to Paywise Limited.
It is confidential, legally privileged, and protected by law. We do not own and endorse any other content.
The person addressed in the email is the solely authorized recipient.
Please notify the sender immediately if it has unintentionally reached you and does not read disclose or use the content in any way.
Paywise Limited cannot assume that the integrity of this communication has been maintained nor that it is free of errors, viruses, interception, or interference.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/192f4126-6745-4263-8ed6-8008610056fcn%40googlegroups.com.
Hi Paul,
Thanks for your reply.
There’s no query caching, I’m expecting the application to read from the response-codes cache whenever a record was already called by the application and not calling the DB.
Below are the updated sample configs.
Persistence.xml
<property name="jakarta.persistence.sharedCache.mode" value="ENABLE_SELECTIVE"/>
<property name="jakarta.persistence.jdbc.driver" value="com.mysql.cj.jdbc.Driver"/>
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
<property name="hibernate.connection.useUnicode" value="yes"/>
<property name="hibernate.connection.characterEncoding" value="UTF-8"/>
<property name="hibernate.cache.use_second_level_cache" value="true"
/>
<property name="hibernate.generate_statistics" value="false"/>
<property
name="hibernate.cache.infinispan.paymentgateway-ear.ear#softconnect_PU.com.softconnectltd.paymentgateway.entity.ResponseCodes.cfg"
value="response-codes"/>
Class:
Standalone-full
<local-cache name="response-codes" statistics-enabled="true">
<locking isolation="REPEATABLE_READ"/>
<!-- <transaction locking="OPTIMISTIC" mode="FULL_XA"/>-->
<!-- <file-store shared="true" preload="true"/>-->
<heap-memory size="500"/>
<expiration lifespan="36000000" max-idle="3600000"/>
</local-cache>
Let me know if there’s any working sample I can refer to .
Regards,
Tushal
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/edd7e49f-10cf-4180-ad6c-1b236db8ce24n%40googlegroups.com.