You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Da...@equifax.com on 2003/05/05 16:44:27 UTC

new release 1.0.rc3 ManageableCollection.addStore(...)

Can you elaboreate a little more on this?

Thanks.



|---------+--------------------------->
|         |           Thomas Mahler   |
|         |           <th...@web.de> |
|         |           Sent by:        |
|         |           thma32@web.de   |
|         |                           |
|         |                           |
|         |           05/04/2003 11:06|
|         |           AM              |
|         |           Please respond  |
|         |           to "OJB Users   |
|         |           List"           |
|         |                           |
|---------+--------------------------->
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                                                  |
  |        To:      OJB Users List <oj...@db.apache.org>, OJB Developers List <oj...@db.apache.org>                                             |
  |        cc:                                                                                                                                       |
  |        Subject: [ann] new release 1.0.rc3                                                                                                        |
  |                                                                                                                                                  |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|



Hi all,

I've released the next release candidate this morning.
The most important change: The files are now available for download from
the apache site.
You'll find the new release at:
http://db.apache.org/builds/ojb/1.0.rc3/

from the release notes:

========================================================================
ObJectRelationalBridge -- Bridging Java Objects and Relational Databases
========================================================================

ObJectRelationalBridge (OJB) is an Object/Relational mapping tool that
provides transparent transactional persistence for Java Objects against
relational databases. OJB provides ODMG and JDO interfaces.

---------------------------------------------------------------------
Release 1.0 rc3
---------------------------------------------------------------------

NEW FEATURES:
- With this release we are feature complete for the 1.0 release!
For 1.0 you should not expect more features to be added.


NOTES:
- Intern table OJB_HL_SEQ (used by SequenceManagerHighLowImpl)
   has changed! Now need an additional column 'VERSION' of type INTEGER
   When updating from earlier version drop/reinstall table with
additional field
- PersistenceBrokerAware interface changed, methods beforeStore and
afterStore
   split into xxxInsert/xxxUpdate methods, all methods now expect an
PersistenceBroker
   argument
- PersistenceBrokerListener interface replaced by PBStateListener
- ManageableCollection interface add new method afterStore(...)
- Remove obsolete method 'invalidate(Identity oid)' from PB-api


CHANGES:
- enhanced PB-api listener classes
- unified handling of events in PB-api
- adapt sequence manager implementations using 'long' instead 'int' keys
- SequenceManagerHighLowImpl now use optimistic locking to support
sequencing
   across different JVM (except j2ee conform app server, see sequence
manager doc).
- Add new attribute 'autoNaming' to sequence manager implementations. Now
   the implementations allow to switch on/off auto-generating of
sequence names
- merging the three package o.a.ojb.broker.ta, .singlevm and .server into
   a new package o.a.ojb.broker.core

BUG FIXES:
- fixed problems with the JDO FieldManager to work with 1:1, 1:n and m:n
   associations
- OJB143, OJB152, OJB153, OJB156, OJB158, OJB159, OJB161

Please refer to our Bug tracking site under
http://scarab.werken.com/scarab/issues/id/OJBxxx to see details for a bug
with id OJBxxx.


I hope you all enjoy the new release!
We had very few severe bugs in rc1 and rc2 and I'm confident that a
"real" 1.0 will be out soon.

cheers,
thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org







Re: new release 1.0.rc3 ManageableCollection.addStore(...)

Posted by Thomas Mahler <th...@web.de>.
Hi David,

from the Javadocs:
afterStore(PersistenceBroker broker)
            A callback method to implement 'removal-aware'
(track removed objects and delete them by its own) collection 
implementations.

If you are using the RemovalAware collection as you collection 
implementor, the PB will detect removed items from the list and perform 
a delete for those items.

This is a thing that was not possible with the PB before.
There is also a testcase for it, that will show you how it works.

cheers,
Thomas

David.Corbin@equifax.com wrote:
> Can you elaboreate a little more on this?
> 
> Thanks.
> 
> 
> 
> |---------+--------------------------->
> |         |           Thomas Mahler   |
> |         |           <th...@web.de> |
> |         |           Sent by:        |
> |         |           thma32@web.de   |
> |         |                           |
> |         |                           |
> |         |           05/04/2003 11:06|
> |         |           AM              |
> |         |           Please respond  |
> |         |           to "OJB Users   |
> |         |           List"           |
> |         |                           |
> |---------+--------------------------->
>   >--------------------------------------------------------------------------------------------------------------------------------------------------|
>   |                                                                                                                                                  |
>   |        To:      OJB Users List <oj...@db.apache.org>, OJB Developers List <oj...@db.apache.org>                                             |
>   |        cc:                                                                                                                                       |
>   |        Subject: [ann] new release 1.0.rc3                                                                                                        |
>   |                                                                                                                                                  |
>   >--------------------------------------------------------------------------------------------------------------------------------------------------|
> 
> 
> 
> Hi all,
> 
> I've released the next release candidate this morning.
> The most important change: The files are now available for download from
> the apache site.
> You'll find the new release at:
> http://db.apache.org/builds/ojb/1.0.rc3/
> 
> from the release notes:
> 
> ========================================================================
> ObJectRelationalBridge -- Bridging Java Objects and Relational Databases
> ========================================================================
> 
> ObJectRelationalBridge (OJB) is an Object/Relational mapping tool that
> provides transparent transactional persistence for Java Objects against
> relational databases. OJB provides ODMG and JDO interfaces.
> 
> ---------------------------------------------------------------------
> Release 1.0 rc3
> ---------------------------------------------------------------------
> 
> NEW FEATURES:
> - With this release we are feature complete for the 1.0 release!
> For 1.0 you should not expect more features to be added.
> 
> 
> NOTES:
> - Intern table OJB_HL_SEQ (used by SequenceManagerHighLowImpl)
>    has changed! Now need an additional column 'VERSION' of type INTEGER
>    When updating from earlier version drop/reinstall table with
> additional field
> - PersistenceBrokerAware interface changed, methods beforeStore and
> afterStore
>    split into xxxInsert/xxxUpdate methods, all methods now expect an
> PersistenceBroker
>    argument
> - PersistenceBrokerListener interface replaced by PBStateListener
> - ManageableCollection interface add new method afterStore(...)
> - Remove obsolete method 'invalidate(Identity oid)' from PB-api
> 
> 
> CHANGES:
> - enhanced PB-api listener classes
> - unified handling of events in PB-api
> - adapt sequence manager implementations using 'long' instead 'int' keys
> - SequenceManagerHighLowImpl now use optimistic locking to support
> sequencing
>    across different JVM (except j2ee conform app server, see sequence
> manager doc).
> - Add new attribute 'autoNaming' to sequence manager implementations. Now
>    the implementations allow to switch on/off auto-generating of
> sequence names
> - merging the three package o.a.ojb.broker.ta, .singlevm and .server into
>    a new package o.a.ojb.broker.core
> 
> BUG FIXES:
> - fixed problems with the JDO FieldManager to work with 1:1, 1:n and m:n
>    associations
> - OJB143, OJB152, OJB153, OJB156, OJB158, OJB159, OJB161
> 
> Please refer to our Bug tracking site under
> http://scarab.werken.com/scarab/issues/id/OJBxxx to see details for a bug
> with id OJBxxx.
> 
> 
> I hope you all enjoy the new release!
> We had very few severe bugs in rc1 and rc2 and I'm confident that a
> "real" 1.0 will be out soon.
> 
> cheers,
> thomas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
> 
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
> 
>