|
From: Brian M. <mcc...@fo...> - 2004-07-07 01:44:34
|
Juergen, Thank you! Now that there are some basics to work from, I'd be happy to=20= help out =3D) Getting a connection from a PB instance can be done via=20 pb.serviceConnectionManager.getConnection(); Also, if you want change detectopm without real object level=20 transactions, this can be done via a couple fairly simple listeners on=20= the PB instance (copy-on-read/compare-on-commit). The code for this is=20= hidden in OJB CVS but is all of maybe 60 lines, I'd be happy to add it=20= 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=20 > decided to give OJB PersistenceBroker integration a go. I've already=20= > committed the initial bunch a couple of hours ago, providing=20 > PersistenceBrokerTemplate, PersistenceBrokerTransactionManager, etc. > > This initial stuff took just about 4 hours, including getting OJB to=20= > work with a simple example! I was pleasantly surprised by how easy OJB=20= > is to set up. I'm not fond really fond of its static initializer=20 > model, but it does work and is simple enough to get going. > > I'm currently working on support for exposing the JDBC Connection in=20= > PersistenceBrokerTransactionManager and other refinements. I plan to=20= > add a Petclinic data access version for OJB this weekend: As far as I=20= > 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=20= > it offers all of OJB's mapping and querying capabilities, but does not=20= > attempt to provide object-level transactions, i.e. does not do=20 > automatic change detection but rather rely on explicit store calls.=20 > For Petclinic-style web apps, this is more than enough. > > The stuff in CVS does work already, so whoever's interested, feel free=20= > 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 > |