Return-Path: Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 61270 invoked by uid 500); 5 Jun 2003 08:58:12 -0000 Received: (qmail 61255 invoked from network); 5 Jun 2003 08:58:11 -0000 Received: from icarus.apache.org (208.185.179.13) by daedalus.apache.org with SMTP; 5 Jun 2003 08:58:11 -0000 Received: (qmail 48190 invoked by uid 1280); 5 Jun 2003 08:58:09 -0000 Date: 5 Jun 2003 08:58:09 -0000 Message-ID: <20030605085809.48189.qmail@icarus.apache.org> From: mpoeschl@apache.org To: db-torque-cvs@apache.org Subject: cvs commit: db-torque/src/java/org/apache/torque/adapter DBPostgres.java DB.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N mpoeschl 2003/06/05 01:58:09 Modified: src/java/org/apache/torque/adapter Tag: TORQUE_3_0_BRANCH DBPostgres.java DB.java Log: cleanup Revision Changes Path No revision No revision 1.13.2.1 +4 -3 db-torque/src/java/org/apache/torque/adapter/DBPostgres.java Index: DBPostgres.java =================================================================== RCS file: /home/cvs/db-torque/src/java/org/apache/torque/adapter/DBPostgres.java,v retrieving revision 1.13 retrieving revision 1.13.2.1 diff -u -r1.13 -r1.13.2.1 --- DBPostgres.java 19 Sep 2002 07:54:37 -0000 1.13 +++ DBPostgres.java 5 Jun 2003 08:58:09 -0000 1.13.2.1 @@ -3,7 +3,7 @@ /* ==================================================================== * The Apache Software License, Version 1.1 * - * Copyright (c) 2001 The Apache Software Foundation. All rights + * Copyright (c) 2001-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -123,10 +123,11 @@ * return null. * * @see org.apache.torque.adapters.DB#getSequenceSql + * @deprecated Use getIDMethodSQL(Object) instead. */ public String getSequenceSql(Object obj) { - return "SELECT nextval('" + (String) obj + "')"; + return getIDMethodSQL(obj); } /** 1.28.2.1 +3 -3 db-torque/src/java/org/apache/torque/adapter/DB.java Index: DB.java =================================================================== RCS file: /home/cvs/db-torque/src/java/org/apache/torque/adapter/DB.java,v retrieving revision 1.28 retrieving revision 1.28.2.1 diff -u -r1.28 -r1.28.2.1 --- DB.java 24 Jun 2002 18:12:19 -0000 1.28 +++ DB.java 5 Jun 2003 08:58:09 -0000 1.28.2.1 @@ -254,7 +254,7 @@ } /** - * This method is used to chek whether the database natively + * This method is used to check whether the database natively * supports returning results starting at an offset position other * than 0. * @@ -280,7 +280,7 @@ } /** - * This method is used to chek whether the database supports + * This method is used to check whether the database supports * limiting the size of the resultset. * * @return The limit style for the database.