[Objectbridge-developers] new release 0.1.63
Brought to you by:
thma
From: Thomas M. <tho...@ho...> - 2001-01-28 13:35:17
|
Dear OJB enthusiasts, I just assembled a new release. It brings two major enhancements: 1. A Query facility in package ojb.broker.query. It is based on the COBRA query facility. But provides some enhancements, e.g. Query-By-Examples. You will find sample code using the new API in test.ojb.broker.PersistenceBrokerTest. Joins are not supported right now... ...still a long way to OQL... 2. A re-implementation of the named roots-map (NRM). relies on Davids last changes to transaction management. The NRM is implemented as a set of Entry-objects mapped to a table in a RDBMS. This allows to apply the same transactional mechanisms as for other persistence-capable objects. This is also a first step towards an implementation of persistent Collections which will be implemented in a similar style. From the release notes: New features: - Query facility in the PersistenceBroker, allows queries by example and queries by filter criteria. In this release joins are not supported. I'm planning to use this query facility as a backend to the OQL implementation. - New TestClass test.ojb.broker.PerformanceTest allows profiling to detect performance critical operations. try "build performance". changes, refactorings - reimplemented the Named Roots Map as a persistent Collection. It is now complety integrated in the transaction mechanism. - changed the PersistenceBroker interface to reflect the usage of Query objects. changed all examples accordingly. - All PersistenceBroker Object are now declared as "throws PersistenceBrokerException" - faster implementation of ojb.broker.metadata.ClassDescriptor::getFieldDescriptorByIndex(int) bug fixes - prepared statement generation for String attributes in SQLGenerator Open bugs: - The testmethod testWrongDbName in test.ojb.odmg.OdmgExamples still reports a failure. enJoy, Thomas |