db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/platforms PlatformSybaseASAImpl.java PlatformInformixImpl.java
Date Wed, 15 Sep 2004 18:43:13 GMT
brj         2004/09/15 11:43:13

  Modified:    src/java/org/apache/ojb/broker/platforms
                        PlatformSybaseASAImpl.java
                        PlatformInformixImpl.java
  Log:
  closing statement
  
  Revision  Changes    Path
  1.7       +2 -1      db-ojb/src/java/org/apache/ojb/broker/platforms/PlatformSybaseASAImpl.java
  
  Index: PlatformSybaseASAImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/platforms/PlatformSybaseASAImpl.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- PlatformSybaseASAImpl.java	4 Apr 2004 23:53:35 -0000	1.6
  +++ PlatformSybaseASAImpl.java	15 Sep 2004 18:43:12 -0000	1.7
  @@ -53,6 +53,7 @@
           {
               Statement stmt = conn.createStatement();
               stmt.executeUpdate("set temporary option RETURN_DATE_TIME_AS_STRING = On");
  +            stmt.close();
           }
           catch (SQLException e)
           {
  
  
  
  1.10      +1 -0      db-ojb/src/java/org/apache/ojb/broker/platforms/PlatformInformixImpl.java
  
  Index: PlatformInformixImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/platforms/PlatformInformixImpl.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- PlatformInformixImpl.java	22 May 2004 09:55:33 -0000	1.9
  +++ PlatformInformixImpl.java	15 Sep 2004 18:43:13 -0000	1.10
  @@ -40,6 +40,7 @@
           {
               Statement stmt = conn.createStatement();
               stmt.execute("SET LOCK MODE TO WAIT");
  +            stmt.close();
           }
           catch (SQLException e)
           {
  
  
  

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