db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/util/sequence SequenceManagerHelper.java
Date Wed, 07 May 2003 20:21:53 GMT
arminw      2003/05/07 13:21:53

  Modified:    src/java/org/apache/ojb/broker/util/sequence
                        SequenceManagerHelper.java
  Log:
  make helper methods public
  
  Revision  Changes    Path
  1.11      +3 -3      db-ojb/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerHelper.java
  
  Index: SequenceManagerHelper.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerHelper.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- SequenceManagerHelper.java	11 Apr 2003 21:59:49 -0000	1.10
  +++ SequenceManagerHelper.java	7 May 2003 20:21:53 -0000	1.11
  @@ -135,7 +135,7 @@
        * Search down all extent classes and return max of all found
        * PK values.
        */
  -    private static long getMaxId(PersistenceBroker brokerForClass, Class topLevel, FieldDescriptor
original) throws PersistenceBrokerException
  +    public static long getMaxId(PersistenceBroker brokerForClass, Class topLevel, FieldDescriptor
original) throws PersistenceBrokerException
       {
           long max = 0;
           long tmp = 0;
  @@ -183,7 +183,7 @@
        * lookup current maximum value for a single field in
        * table the given class descriptor was associated.
        */
  -    private static long getMaxIdForClass(
  +    public static long getMaxIdForClass(
               PersistenceBroker brokerForClass, ClassDescriptor cldForOriginalOrExtent, FieldDescriptor
original)
               throws PersistenceBrokerException
       {
  
  
  

Mime
View raw message