Title: JDBC Based Cache Stores Describe the issue: Mostly a dataSource connection is used to configure it outside of the application for different environments. Suggestions for improvement: So the documentation should show this and mention that there is a connectionPool/simpleConnection as well if needed. Additional information:
I would only clarify one thing, in section http://docbuilder.usersys.redhat.com/23149/#JDBC_Datasource_Configuration part simpleConnection, last paragraph, last sentence says now: Alternatively, these may be configured programmatically with the connectionPool(), dataSource(), or simpleConnection() methods on the JdbcBinaryStoreConfigurationBuilder class. To be precise, it should be: Alternatively, these may be configured programmatically with the connectionPool(), dataSource(), or simpleConnection() methods on the JdbcBinaryStoreConfigurationBuilder, JdbcMixedStoreConfigurationBuilder or JdbcStringBasedStoreConfigurationBuilder class. Otherwise the changes look good to me.
Verified Jiri's changes requested in comment 3. Closing...
The documentation has been updated to include a list of all JDBC connection methods, and the JdbcStringBasedStore examples have been updated to include a dataSource. A link to the new topic is below: https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Data_Grid/6.6/html-single/Administration_and_Configuration_Guide/index.html#JDBC_Datasource_Configuration The example configurations are below: https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Data_Grid/6.6/html-single/Administration_and_Configuration_Guide/index.html#JdbcStringBasedStore_Sample_Configuration https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Data_Grid/6.6/html-single/Administration_and_Configuration_Guide/index.html#JdbcStringBasedStore_Programmatic_Configuration