Hi,
New impl is 100% backward compatible - but I have to insert the root as it is missing from old impl.
Cheers,
Mircea
So without the root element you're not going to be able to persist any data stored directly in the root node (if anyone ever does this!)Is the new impl in any way compatible with the existing JDBCCacheLoader anyway? I thought their storage formats were different.--Manik SurtaniLead, JBoss CacheJBoss, a division of Red HatEmail: manik@jboss.orgTelephone: +44 7786 702 706MSN: manik@surtani.orgYahoo/AIM/Skype: maniksurtani
On 1 Feb 2007, at 03:49, Mircea Markus wrote:In order to make new implementation 'backward' compatible (i.e. to work on existing data managed by JDBCacheLoader) I need root to be persisted - implementation heavily relies on that.
My thought is to check at startup whether it exists, and create it. Any cons/alternatives?
Cheers,
MirceaOn 2/1/07, Mircea Markus < mircea.markus@gmail.com> wrote:Hi,
loader.put(any_fqn);
assertTrue( loader.exists(Fqn.ROOT)); //fails
The problem is that root element is not persisted.
Cheers,
Mircea
_______________________________________________jbosscache-dev mailing list