Re: [OJB-developers] Re: OJB enhancements to 07.343
Brought to you by:
thma
From: Thomas M. <tho...@ho...> - 2002-02-21 06:07:43
|
Hi Eric, You can always trust Jakobs patches. He contributes hiqh quality stuff that is in sync with my overall OJB design! The patch you are referring to is already on my list for integration! (Of course there could still be MINOR changes to some details) cu, Thomas Eric Bieschke wrote: > Is this supported patch? If so, will it be integrated into future versions > of OJB? > > - Eric > > > ----- Original Message ----- > From: "Jakob Braeuchi" <jbr...@ho...> > To: <obj...@li...> > Date: Sun, 17 Feb 2002 10:55:20 +0100 > Subject: [OJB-developers] OJB enhancements to 07.343 > > hi, > > the attached zip contains several enhancements to version 07.343: > > - deferred loading (lazy) for 1:1 relationships > - wasNull when reading from ResultSet > - platform cacheing > - platform functions for setObject(), setNull() > - a MySql platform to fix setObject for Types.BIT > - StatementManager bindInsert and bindUpdate use platform functions now > > the most important feature is deferred loading for 1:1 relationships. it's > based on DynamicProxies and thus requires you to implement an interface for > the target side of the relationship (referenced.class). to enable it, use > <proxyReference>true</proxyReference> in ReferenceDescriptor: > > <ReferenceDescriptor id="1"> > <rdfield.name>partner</rdfield.name> > <referenced.class>brj.ojb.Person</referenced.class> > <fk_descriptor_ids>9</fk_descriptor_ids> > <proxyReference>true</proxyReference> > </ReferenceDescriptor> > > for consistency i also renamed <proxy> to <proxyCollection> for > CollectionDescriptor. > > jakob > > > > _______________________________________________ > Objectbridge-developers mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > > > > |