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 SequenceManagerStoredProcedureImpl.java
Date Thu, 03 Apr 2003 07:45:17 GMT
arminw      2003/04/02 23:45:16

  Modified:    xdocs    sequencemanager.xml
               src/java/org/apache/ojb/broker/util/sequence
                        SequenceManagerStoredProcedureImpl.java
  Log:
  docu update, thanks Ryan!
  
  Revision  Changes    Path
  1.8       +5 -1      db-ojb/xdocs/sequencemanager.xml
  
  Index: sequencemanager.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/xdocs/sequencemanager.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- sequencemanager.xml	2 Apr 2003 22:56:36 -0000	1.7
  +++ sequencemanager.xml	3 Apr 2003 07:45:16 -0000	1.8
  @@ -335,7 +335,11 @@
   Ryan wrote:
   <br/>
   This solution will give those seeking an oracle-style sequence generator
  -a final answer (Identity columns really suck).
  +a final answer (Identity columns really suck). If you are using multiple
  +application servers in your environment, and your database does not
  +support read locking like Microsoft SQL Server, this is the only
  +safe way to guarantee unique keys (HighLowSequenceManager WILL
  +give out duplicate keys, and corrupt your data).
   <br/>
   The <code>SequenceManagerStoredProcedureImpl</code> implementation enabled
database
   sequence key generation in a <i>Oracle-style</i> for all databases (e.g. MSSQL,
MySQL, DB2, ...).
  
  
  
  1.3       +2 -2      db-ojb/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerStoredProcedureImpl.java
  
  Index: SequenceManagerStoredProcedureImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerStoredProcedureImpl.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SequenceManagerStoredProcedureImpl.java	2 Apr 2003 22:56:36 -0000	1.2
  +++ SequenceManagerStoredProcedureImpl.java	3 Apr 2003 07:45:16 -0000	1.3
  @@ -303,7 +303,7 @@
   
       /**
        * Creates new row in table
  -     * @param brokerOther
  +     * @param broker
        * @param field
        * @param sequenceName
        * @param maxKey
  
  
  

Mime
View raw message