We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
Is it possible to configure this cache driver as a JNDI datasource? If yes, how do I do that with IBM Liberty server?
The text was updated successfully, but these errors were encountered:
jdbc-cache driver is basically a JDBC Driver.
If I refer to this documentation: https://www.ibm.com/support/knowledgecenter/en/SSAW57_liberty/com.ibm.websphere.wlp.nd.multiplatform.doc/ae/twlp_dep_configuring_ds.html
While copying the jdbc-cache-driver.jar file in C:/DB2/java, it would be possible to do something like that:
<library id="JdbcCacheLib"> <fileset dir="C:/DB2/java" includes="jdbc-cache-driver.jar"/> </library>
Then you may use the following template as a datasource definition:
<dataSource id="DefaultDataSource" jndiName="jdbc/jdbcCache"> <jdbcDriver libraryRef="JdbcCacheLib"/> <properties.cache URL="jdbc:cache:mem:my-mem-cache" url="jdbc:oracle:oci:@//localhost:1521/SAMPLEDB"/> </dataSource>
Next, the point is to be able to pass the following properties:
Disclaimer: This is a not tested configuration. It is just here as an example.
Let us know if you can make it work.
Sorry, something went wrong.
No branches or pull requests
Hello,
Is it possible to configure this cache driver as a JNDI datasource? If yes, how do I do that with IBM Liberty server?
The text was updated successfully, but these errors were encountered: