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/test/org/apache/ojb/broker ConnectionFactoryTest.java
Date Wed, 27 Apr 2005 00:24:33 GMT
arminw      2005/04/26 17:24:33

  Modified:    src/test/org/apache/ojb/broker Tag: OJB_1_0_RELEASE
                        ConnectionFactoryTest.java
  Log:
  update test
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.4.4.1   +3 -1      db-ojb/src/test/org/apache/ojb/broker/ConnectionFactoryTest.java
  
  Index: ConnectionFactoryTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/ConnectionFactoryTest.java,v
  retrieving revision 1.4
  retrieving revision 1.4.4.1
  diff -u -r1.4 -r1.4.4.1
  --- ConnectionFactoryTest.java	15 May 2003 19:58:12 -0000	1.4
  +++ ConnectionFactoryTest.java	27 Apr 2005 00:24:33 -0000	1.4.4.1
  @@ -71,6 +71,8 @@
                       broker.serviceConnectionManager().getConnectionDescriptor());
               jcd.setJcdAlias(factory.getName() + "_test_checkFactory_a");
               jcd.setUseAutoCommit(2);
  +            // use this attribute to allow OJB changing initial state of connections
  +            jcd.addAttribute("initializationCheck", "true");
   
               mm.connectionRepository().addDescriptor(jcd);
               Connection con = conFac.lookupConnection(jcd);
  
  
  

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