Hi,<br>New impl is 100% backward compatible - but I have to insert the root as it is missing from old impl.<br><br>Cheers,<br>Mircea<br><br><div><span class="gmail_quote">On 2/1/07, <b class="gmail_sendername">Manik Surtani
</b> <<a href="mailto:manik@jboss.org">manik@jboss.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="">
<div><span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<div>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!)</div><div><br></div><div>Is the new impl in any way compatible with the existing JDBCCacheLoader anyway? I thought their storage formats were different.
</div><div><br></div><div><br></div><div>--</div><div>Manik Surtani</div><div><br></div><div>Lead, JBoss Cache</div><div>JBoss, a division of Red Hat</div><div><br></div><div>Email: <a href="mailto:manik@jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
manik@jboss.org</a></div><div>Telephone: +44 7786 702 706</div><div>MSN: <a href="mailto:manik@surtani.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">manik@surtani.org</a></div><div>Yahoo/AIM/Skype: maniksurtani
</div><div><br></div><br></span></span> </div><br><div><div>On 1 Feb 2007, at 03:49, Mircea Markus wrote:</div><br><blockquote type="cite">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.
<br>My thought is to check at startup whether it exists, and create it. Any cons/alternatives? <br><br>Cheers,<br>Mircea<br><br><div><span class="gmail_quote">On 2/1/07, <b class="gmail_sendername">Mircea Markus</b> <<a href="mailto:mircea.markus@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
mircea.markus@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi,<br><br>loader.put(any_fqn);<br>assertTrue(
loader.exists(Fqn.ROOT)); //fails<br><br>The problem is that root element is not persisted.<br><br>Cheers,<br><span>Mircea<br><br> </span></blockquote></div><br><div style="margin: 0px;">_______________________________________________
</div><div style="margin: 0px;">jbosscache-dev mailing list</div><div style="margin: 0px;"><a href="mailto:jbosscache-dev@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jbosscache-dev@lists.jboss.org
</a></div><div style="margin: 0px;"><a href="https://lists.jboss.org/mailman/listinfo/jbosscache-dev" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.jboss.org/mailman/listinfo/jbosscache-dev
</a></div> </blockquote></div><br></div></blockquote></div><br>