|
From: <jue...@we...> - 2004-07-07 07:26:40
|
Brian, =20 Thanks for your support :-) =20 If you're interested, check out the current CVS contents. There's pretty = complete support for the PersistenceBroker API in = org.springframework.orm.ojb, including a = PersistenceBrokerTransactionManager which is able to expose the = underlying JDBC transaction. Furthermore, Petclinic has a fully = functional OJB data access layer now, as alternative to the existing = Hibernate and JDBC data access implementations. I've been pretty busy = since Friday :-) =20 For the time being, I guess working at the plain PersistenceBroker level = is good enough. It's actually a distinctive characteristic: In contrast = to Hibernate and JDO, no change detection occurs, thus also no overhead = (Hibernate snapshot comparisons) or special setup (JDO bytecode = post-processing) for it. There's still OJB's full mapping capabilites, = just with explicit store calls. For many applications, this will be all = they need, respectively even the level they want to work on! =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von Brian McCallister Gesendet: Mi 07.07.2004 03:12 An: spr...@li... Betreff: Re: [Springframework-developer] OJB support Juergen, Thank you! Now that there are some basics to work from, I'd be happy to help out =3D) Getting a connection from a PB instance can be done via pb.serviceConnectionManager.getConnection(); Also, if you want change detectopm without real object level transactions, this can be done via a couple fairly simple listeners on the PB instance (copy-on-read/compare-on-commit). The code for this is hidden in OJB CVS but is all of maybe 60 lines, I'd be happy to add it to Spring if anyone wants it. -Brian On Jul 2, 2004, at 3:02 PM, j=FCrgen h=F6ller [werk3AT] wrote: > Hi everybody, > > On the occasion of the recent TSS thread on OJB 1.0 final, I've > decided to give OJB PersistenceBroker integration a go. I've already > committed the initial bunch a couple of hours ago, providing > PersistenceBrokerTemplate, PersistenceBrokerTransactionManager, etc. > > This initial stuff took just about 4 hours, including getting OJB to > work with a simple example! I was pleasantly surprised by how easy OJB > is to set up. I'm not fond really fond of its static initializer > model, but it does work and is simple enough to get going. > > I'm currently working on support for exposing the JDBC Connection in > PersistenceBrokerTransactionManager and other refinements. I plan to > add a Petclinic data access version for OJB this weekend: As far as I > can judge at this point of time, this should be simple enough to do. > > One of the distinct characteristics of OJB's PersistenceBroker is that > it offers all of OJB's mapping and querying capabilities, but does not > attempt to provide object-level transactions, i.e. does not do > automatic change detection but rather rely on explicit store calls. > For Petclinic-style web apps, this is more than enough. > > The stuff in CVS does work already, so whoever's interested, feel free > to have a look at it :-) > > Juergen > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |