JDBCCacheLoader? Was: [jbosscache-dev] Re: JDBCClassLoader bug

Mircea Markus mircea.markus at gmail.com
Thu Feb 1 08:01:58 EST 2007


Hi,
New impl is 100% backward compatible - but I have to insert the root as it
is missing from old impl.

Cheers,
Mircea

On 2/1/07, Manik Surtani <manik at jboss.org> wrote:
>
> 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 Surtani
>
> Lead, JBoss Cache
> JBoss, a division of Red Hat
>
> Email: manik at jboss.org
> Telephone: +44 7786 702 706
> MSN: manik at surtani.org
> Yahoo/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,
> Mircea
>
> On 2/1/07, Mircea Markus <mircea.markus at 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
> jbosscache-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosscache-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbosscache-dev/attachments/20070201/a45a0113/attachment.html 


More information about the jbosscache-dev mailing list