db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: jakarta-ojb/src/test/org/apache/ojb OJB.properties
Date Sun, 22 Dec 2002 17:22:53 GMT
arminw      2002/12/22 09:22:53

  Modified:    src/test/org/apache/ojb OJB.properties
  Log:
  update sequence manager properties
  
  Revision  Changes    Path
  1.35      +13 -10    jakarta-ojb/src/test/org/apache/ojb/OJB.properties
  
  Index: OJB.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/test/org/apache/ojb/OJB.properties,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- OJB.properties	9 Dec 2002 22:00:10 -0000	1.34
  +++ OJB.properties	22 Dec 2002 17:22:53 -0000	1.35
  @@ -167,28 +167,29 @@
   # The SequenceManagerClass entry determines the SequenceManager to be used
   # choose one of the implementations:
   #----------------------------------
  -# 1. SequenceManagerHiLoImpl
  -#    High/Low sequence manager implementation
  -# 2. SequenceManagerHiLoContinuousImpl
  -#    High/Low sequence manager implementation
  -#    generates continuous id's during runtime
  -# 3. SequenceManagerInMemoryImpl
  +# 1. SequenceManagerHighLowImpl
  +#    High/Low sequence manager implementation generates continuous
  +#    id's during runtime. This is OJB's default sequence manager.
  +# 2. SequenceManagerInMemoryImpl
   #    InMemory-sequence manager generates continuous id's during runtime
   #    This is the fastest standard sequence manager implementation, but
   #    has some Limitations:
   #    - do not use in client/server mode
   #    - do not use in clustered environments
  -#    - do not use if other entities generate id's for objects
  +#    - do not use if other entities generate id's for the persistent objects
  +# 3. SequenceManagerNextValImpl
  +#    Use database based sequence generation. Check your DB for support, add
  +#    'sequence-name' attribute to your autoincrement field descriptors
   #
  -SequenceManagerClass=org.apache.ojb.broker.util.sequence.SequenceManagerHiLoImpl
  -#SequenceManagerClass=org.apache.ojb.broker.util.sequence.SequenceManagerHiLoContinuousImpl
  +SequenceManagerClass=org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl
   #SequenceManagerClass=org.apache.ojb.broker.util.sequence.SequenceManagerInMemoryImpl
  +#SequenceManagerClass=org.apache.ojb.broker.util.sequence.SequenceManagerNextValImpl
   #-----------------------------------
   #
   # The SequenceManagerGrabSize entry determines the number IDs allocated
   # within each sequence in the H/L sequence manager implementations. Other
   # implementaions ignore this property.
  -SequenceManagerGrabSize=10
  +SequenceManagerGrabSize=20
   #
   # Specifies wether IDs should be unique for each id-name (so IDs would be
   # unique over all classes that use "oid" for their id and unique over all
  @@ -397,6 +398,8 @@
   #JTATransactionManagerClass=org.apache.ojb.otm.transaction.factory.WeblogicTransactionManagerFactory
   # WebSphere transaction manager factory
   #JTATransactionManagerClass=org.apache.ojb.otm.transaction.factory.WebSphereTransactionManagerFactory
  +# Orion transaction manager factory
  +#JTATransactionManagerClass=org.apache.ojb.otm.transaction.factory.OrionTransactionManagerFactory
   #
   #----------------------------------------------------------------------------------------
   # Auto DB Creation / Transparent Datastore
  
  
  

Mime
View raw message