FW: [Fwd: RE: [OJB-developers] Oracle sequences]
Brought to you by:
thma
|
From: Bischof, R. <rai...@ed...> - 2001-10-26 07:57:42
|
All, please find attached an implementation of the High/Low SequenceMgr including DDL and repository mapping definition. In order not to re-invent the wheel I decided to extend the default SequenceMgr. Therefore I had to change some access modifiers in the default implementation from private to protected. The modified default implementation is also attached. Thomas, pls have a look and feel free to change whatever is not appropriate for OJB (the coding conventions for example). Cheers Rainer -----Original Message----- From: Mahler Thomas [mailto:tho...@it...] Sent: Mittwoch, 24. Oktober 2001 09:28 To: 'Thomas Mahler' Cc: Objectbridge (E-Mail) Subject: AW: [Fwd: RE: [OJB-developers] Oracle sequences] Hi Ilia, > > The SequenceManagerDefaultImpl.java implements MAX key > generator. Do you > have plans to add HIGH/LOW key generator? > > Thanks, > The OJB SequenceManager is really rather simple (not to say primitive). The OJB SequenceManager is pluggable. That is, it can easily replaced by user defined version that implement different semantics (say HIGH/LOW key, etc.). See http://objectbridge.sourceforge.net/system/sequencemanager.html on this subject. I personally do not intent to implement an improved sequencemanager. I just can't do ALL the work and want to encourage user contributions to the OJB codebase. Thus I'm cc'ing this mail to the OJB developer list. Maybe someone volunteers for this... HTH, Thomas _______________________________________________ Objectbridge-developers mailing list Obj...@li... https://lists.sourceforge.net/lists/listinfo/objectbridge-developers |