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/otm/lock IsolationFactory.java
Date Sat, 27 Aug 2005 13:38:39 GMT
arminw      2005/08/27 06:38:39

  Modified:    src/java/org/apache/ojb/otm/lock IsolationFactory.java
  Log:
  workaround for new isolation levels
  
  Revision  Changes    Path
  1.13      +4 -0      db-ojb/src/java/org/apache/ojb/otm/lock/IsolationFactory.java
  
  Index: IsolationFactory.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/otm/lock/IsolationFactory.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- IsolationFactory.java	4 Apr 2004 23:53:41 -0000	1.12
  +++ IsolationFactory.java	27 Aug 2005 13:38:39 -0000	1.13
  @@ -79,6 +79,10 @@
               case IsolationLevels.IL_SERIALIZABLE:
                   isolation = SERIALIZABLE_ISOLATION;
                   break;
  +            case -2:
  +                // new added isolation level
  +                isolation = READ_UNCOMMITTED_ISOLATION;
  +                break;
   
               default:
                   throw new UnknownIsolationException(
  
  
  

---------------------------------------------------------------------
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