arminw
Thu, 22 Mar 2007 15:13:36 -0800
Author: arminw Date: Thu Mar 22 16:13:14 2007 New Revision: 521525 URL: http://svn.apache.org/viewvc?view=rev&rev=521525 Log: update Modified: db/ojb/branches/OJB_1_0_RELEASE/release-notes.txt Modified: db/ojb/branches/OJB_1_0_RELEASE/release-notes.txt URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/release-notes.txt?view=diff&rev=521525&r1=521524&r2=521525 ============================================================================== --- db/ojb/branches/OJB_1_0_RELEASE/release-notes.txt (original) +++ db/ojb/branches/OJB_1_0_RELEASE/release-notes.txt Thu Mar 22 16:13:14 2007 @@ -17,18 +17,46 @@ --------------------------------------------------------------------- Release 1.0.5 --------------------------------------------------------------------- +NOTES: +* OJB.properties, repository.dtd files changed (also some default settings changed - see CHANGES). + Don't forget to replace older versions. +* Documentation update and improvement: section about using RowReader and using a + specific RowReader on class level, section "performance" reworked, LOB content + howto reworked, FAQ improved, sequence manager, query section improved +* Work on the OTM-api is discontinued. + +CHANGES: +* PersistenceBroker interface: add new method #serviceLobHelper() +* RowReader interface: add new method + #readValuesFrom(ResultSetAndStatement rs, Map row, FieldDescriptor[] fields) + (to improve LOB field support) +* JdbcAccess implementation class constructor changed. +* Platform interface new methods added, Platform implementation classes constructor changed. +* SequenceManager interface: add new overload method #afterStore(...). All implementations derived + from class AbstractSequenceManager are still compatible. +* Rename sequence manager implemenation: SequenceManagerNativeImpl (now deprecated) + to SequenceManagerIdentityImpl +* Rename sequence manager mapping attributes: 'autoNaming'-->'seq.autoNaming', + 'grabSize'-->'seq.grabSize'. The old attributes still work but declared deprecated. +* Some settings in OJB.properties and repository_database.xml are changed (use of CGLIB + for proxy creation, a in-memory sequence manager is used by default) to simplify usage + of OJB for new user. +* ODMG-api implementation, internal used locking interface changed to improve performance. +* Upgraded Torque to version 3.2 + NEW FEATURES: +* [OJB-73] - xdoclet: generate onDelete="cascade" for foreign-key element if auto-delete is set to true + for collection descriptor * [OJB-105] - Pluggable "null" definition for persistent fields. Restriction: no consistency checking between PK-field and fields used for referring the PK. FIXED: Auto-Detection for insert/update objects checks to avoid DB queries the PK fields of the object. If at least one PK field is 'NULL' or if primitive field '0', OJB assume the object is new and needs insert. Now this behavior is pluggable - see 'JDBC-types' docs section -* [OJB-73] - generate onDelete="cascade" for foreign-key element if auto-delete is set to true - for collection descriptor * [OJB-107] - Support for Clob/Blob field types in persistence capable objects. For more details about handling LOB's with OJB, please see Howto "Using LOB Types" in docs. * [OJB-112] - Tool for forward engineering from repository.xml (creates .xml file compatible with DDLUtils and Torque) +* [OJB-129] - Add JDBC 3.0 "Retrieval of Auto Generated Keys" support * Better support for attributes containing expressions ie. sum(0.9 * price * stock). Restriction: All attributes contained in the expressions have to belong to the same table ! * Add new CGLib based PersistentField implementation. It requires JavaBeans compliant @@ -90,7 +118,6 @@ </collection-descriptor> </class-descriptor> - IMPROVEMENT: * [OJB-88] - Documentation: Adapt LOB's howto, add docs for CLOB * [OJB-100] - Allow the specification of names for database foreignkeys and indices @@ -99,31 +126,8 @@ * [OJB-111] - Add PersistenceBroker leak detection (details see PB-Guide and OJB.properties file) * [OJB-121] - Criteria add* methods should return "this" * [OJB-123] - MySQL support for SequenceManagerStoredProcedureImpl - -NOTES: -* OJB.properties, repository.dtd files changed (also some default settings changed - see CHANGES). - Don't forget to replace older versions. -* Documentation update and improvement: section about using RowReader and using a - specific RowReader on class level, section "performance" reworked, LOB content - howto reworked, FAQ improved, sequence manager section improved -* Work on the OTM-api is discontinued. - -CHANGES: -* PersistenceBroker interface: add new method #serviceLobHelper() -* RowReader interface: add new method - #readValuesFrom(ResultSetAndStatement rs, Map row, FieldDescriptor[] fields) - (to improve LOB field support) -* JdbcAccess implementation class constructor changed. -* Platform implementation classes constructor changed. -* ODMG-api implementation, internal used locking interface changed to improve performance. -* Upgraded Torque to version 3.2 -* Rename sequence manager implemenation: SequenceManagerNativeImpl (now deprecated) - to SequenceManagerIdentityImpl -* Rename sequence manager mapping attributes: 'autoNaming'-->'seq.autoNaming', - 'grabSize'-->'seq.grabSize'. The old attributes still work but declared deprecated. -* Some settings in OJB.properties and repository_database.xml are changed (use of CGLIB - for proxy creation, a in-memory sequence manager is used by default) to simplify usage - of OJB for new user. +* [OJB-131] - Add native (database based) pagination/limit support +* Support for all scalar (database) functions in queries, more details see query-guide BUG FIXES: Please refer to our Bug tracking site (https://issues.apache.org/jira/browse/OJB) @@ -143,6 +147,8 @@ which using OJB's Configurable interface * [OJB-90] - Collection proxies do not follow equals/hashCode contract * [OJB-91] - Query performance slowdown (about 20%) between 1.0.3 and 1.0.4 +* [OJB-92] - Unneeded query with Composite FK which has null column(s), which also lead to not + respecting constraint with some db2 drivers. * [OJB-93] - Super class record not being deleted. * [OJB-94] - NPE when execute query (join via 1:n reference) on objects using "table-per-subclass"-inheritance @@ -157,7 +163,11 @@ * [OJB-118] - odmg-api, if two new object (associated via reference) are registered and deleted within the same tx, odmg perform illegal insert of one object * [OJB-119] - JDBC connection documentation out of date +* [OJB-120] - addExists() builds invalid SQL if subquery has orderby clause * [OJB-122] - unable to exclude packages from being cached +* [OJB-128] - "query by example"ignore inherited fields (using 'table per subclass' mapping) +* [OJB-132] - Repository load fails on Turkish +* [OJB-133] - Query exception occur if a field name is equals to a database function/keyword KNOWN ISSUES: --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]