You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by dl...@apache.org on 2002/02/21 17:55:19 UTC

cvs commit: jakarta-turbine-torque/src/java/org/apache/torque/adapter DBPostgres.java

dlr         02/02/21 08:55:19

  Modified:    src/java/org/apache/torque/adapter DBPostgres.java
  Log:
  Rhys Dixon <rh...@dyxn.net> tells me that handling of object data no
  longer needs to be wrapped in a transaction when the Postgres bytea
  type is used instead of the oid hack for the JDBC type VARBINARY.
  
  Revision  Changes    Path
  1.5       +1 -14     jakarta-turbine-torque/src/java/org/apache/torque/adapter/DBPostgres.java
  
  Index: DBPostgres.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-torque/src/java/org/apache/torque/adapter/DBPostgres.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -u -r1.4 -r1.5
  --- DBPostgres.java	20 Aug 2001 21:07:50 -0000	1.4
  +++ DBPostgres.java	21 Feb 2002 16:55:19 -0000	1.5
  @@ -63,7 +63,7 @@
    * <a href="http://www.pgsql.org">http://www.pgsql.org</a>
    *
    * @author <a href="mailto:hakan42@gmx.de">Hakan Tandogan</a>
  - * @version $Id: DBPostgres.java,v 1.4 2001/08/20 21:07:50 jon Exp $
  + * @version $Id: DBPostgres.java,v 1.5 2002/02/21 16:55:19 dlr Exp $
    */
   public class DBPostgres
       extends DB
  @@ -168,19 +168,6 @@
                               String table)
           throws SQLException
       {
  -    }
  -
  -    /**
  -     * This method is used to chek whether writing large objects to
  -     * the DB requires a transaction.  Since this is only true for
  -     * Postgres, only the DBPostgres needs to override this method and
  -     * return true.
  -     *
  -     * @return True.
  -     */
  -    public boolean objectDataNeedsTrans()
  -    {
  -        return true;
       }
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>