-
Enhancement
-
Resolution: Done
-
Major
-
8.2.2.Final
-
None
Configuration of cache stores has some fluency issues. I'd like to do:
ConfigurationBuilder builder = ...; builder .persistence() .addStore(JdbcStringBasedStoreConfigurationBuilder.class) .dialect(...) .table() // <- compilation error ... .connectionPool() // <- compilation error ...;
but I'm forced to do:
ConfigurationBuilder builder = ...; JdbcStringBasedStoreConfigurationBuilder store = builder .persistence() .addStore(JdbcStringBasedStoreConfigurationBuilder.class) .dialect(...); store .table() ...; store .connectionPool() ...;