Great. Thanks for the pointers. I'll let you know my experience with the experiments. -Frank
On Jun 28, 2006, at 9:23 AM, Steve Ebersole wrote: > Not really. The closest thing would be a particular series of tests > from the test suite which specifically test the ability for users to > plug in custom EntityPersister implementations. Check out > org.hibernate.test.legacy.MasterDetailTest#testCustomPersister. > > However, that is a *very* basic example. Another thing you'll want to > look at is the hierarchy employed by the default persister > implementations as there are a number of optional interfaces (such as > Queryable/QueryableCollection e.g.) that you will almost certainly > want > to utilize as well. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Frank Cohen > Sent: Wednesday, June 28, 2006 9:27 AM > To: Emmanuel Bernard > Cc: hibernate-devel@lists.sourceforge.net > Subject: Re: [Hibernate] Object-to-XMLDB mapping > > Thanks, Emmanuel! > > Are there any articles or a developer "how-to" guide on writing new > persisters? > > -Frank > > > > On Jun 28, 2006, at 1:46 AM, Emmanuel Bernard wrote: > >> I must admit I never thought about XML DB requirements, so I 'll >> have to trust you :-). A week might be ok for an experiment but not >> to do everything. >> >> Frank Cohen wrote: >>> Thanks for the pointer Emmanuel. I'm doing the investigation work >>> now and will seek funding in the next week or two. I have funding >>> to creating some experiments. I'm thinking about spending about a >>> week to see how I can use Hibernate to do the following with our >>> native XML DB: >>> >>> 1) XML documents in the file system need to be sorted and stored >>> in an XMLDB >>> 2) Java object contains a DOM object that needs to be stored in an >>> XMLDB >>> 3) Java object contains a hashmap that needs to be stored in an >>> XMLDB >>> 4) Web Service response comes from stored Java object data in an >>> XMLDB >>> 5) Java method response comes from stored Java object data in an >>> XMLDB >>> >>> These seem to cover the majority of use cases for Hibernate and XML. >>> >>> Does this make sense to you? Am I on the right track? >>> >>> -Frank >>> >>> >>> On Jun 27, 2006, at 5:41 AM, Emmanuel Bernard wrote: >>> >>>> I guess you'll have at least to reimplement EntityPersister and >>>> CollectionPersister. This is not gonna be a 5 mins work. >>>> >>>> Frank Cohen wrote: >>>>> I read in the Hibernate tutorial that there is a working group >>>>> of developers for new functions that will make it easier to >>>>> use Hibernate to work with XML data. My company makes a native >>>>> XML database (TigerLogic) and I would like to offer >>>>> contributions to Hibernate that allow Hibernate users to >>>>> persist data in our native XML database. Would someone point me >>>>> in the right direction to make this happen? >>>>> >>>>> -Frank >>>>> >>>>> --- >>>>> >>>>> Frank Cohen >>>>> Raining Data >>>>> http://www.RainingData.com >>>>> http://www.xquerynow.com for free XML, XQuery and native XML >>>>> database tips, techniques and solutions. >>>>> >>>>> Using Tomcat but need to do more? Need to support web services, >>>>> security? >>>>> Get stuff done quickly with pre-integrated technology to make >>>>> your job easier >>>>> Download IBM WebSphere Application Server v.1.0.1 based on >>>>> Apache Geronimo >>>>> http://sel.as-us.falkag.net/sel? >>>>> cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>> _______________________________________________ >>>>> hibernate-devel mailing list >>>>> hibernate-devel@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/hibernate-devel >>>>> >>>>> >>>> >>>> >>> >>> >> >> > > > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > hibernate-devel mailing list > hibernate-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel