[OJB-developers] Re: OJB enhancements to 07.343
Brought to you by:
thma
From: Eric B. <EBi...@sa...> - 2002-02-20 23:23:59
|
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 |