]
Mircea Markus resolved ISPN-88.
-------------------------------
Resolution: Done
org.infinispan.loaders.jdbc.DataManipulationHelper was created to solve above issue
reuse code between BinaryCacheStore and StringBasedCacheStore
-------------------------------------------------------------
Key: ISPN-88
URL:
https://jira.jboss.org/jira/browse/ISPN-88
Project: Infinispan
Issue Type: Feature Request
Affects Versions: 4.0.0.ALPHA4
Reporter: Mircea Markus
Assignee: Mircea Markus
Fix For: 4.0.0.BETA1
There is some code duplication between JdbcStringBasedCacheStore and
JdbcBinaryCacheStore, factorize that in a common utility class:
Mrthods that need to be considered are:
- clear (very similar)
- fromStream and toStream (both use PreparedStatements(BLOB, timestamp, key)
- loadAll
At current time we cannot create a base class for the two stores, as they inherit from
different classes. This will need some thought..
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: