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/platforms PlatformDb2Impl.java
Date Fri, 30 Jul 2004 16:04:18 GMT
arminw      2004/07/30 09:04:18

  Modified:    src/java/org/apache/ojb/broker/platforms
                        PlatformDb2Impl.java
  Log:
  update comment
  
  Revision  Changes    Path
  1.11      +5 -2      db-ojb/src/java/org/apache/ojb/broker/platforms/PlatformDb2Impl.java
  
  Index: PlatformDb2Impl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/platforms/PlatformDb2Impl.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- PlatformDb2Impl.java	4 Apr 2004 23:53:35 -0000	1.10
  +++ PlatformDb2Impl.java	30 Jul 2004 16:04:18 -0000	1.11
  @@ -64,8 +64,11 @@
   	{
   		// matthias.roth@impart.ch
   		// the function is used by the org.apache.ojb.broker.util.sequence.SequenceManagerNativeImpl
  -		// this call must be made before commit the insert cammand, so you
  +		// this call must be made before commit the insert command, so you
   		// must turn off autocommit by seting the useAutoCommit="2"
  +        // or use useAutoCommit="1" or use a connection with autoCommit set false
  +        // by default (e.g. in managed environments)
  +        // transaction demarcation is mandatory
   		return "select IDENTITY_VAL_LOCAL() from sysibm.sysdummy1";
   	}
   }
  
  
  

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


Mime
View raw message