From 64089cc9f030d8ef7972adb5d117e0b23f47d62b Mon Sep 17 00:00:00 2001 From: mark Date: Thu, 18 May 2006 17:29:21 +0000 Subject: Imported GNU Classpath 0.90 * scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale. * sources.am: Regenerated. * gcj/javaprims.h: Regenerated. * Makefile.in: Regenerated. * gcj/Makefile.in: Regenerated. * include/Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. * gnu/java/lang/VMInstrumentationImpl.java: New override. * gnu/java/net/local/LocalSocketImpl.java: Likewise. * gnu/classpath/jdwp/VMMethod.java: Likewise. * gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest interface. * java/lang/Thread.java: Add UncaughtExceptionHandler. * java/lang/reflect/Method.java: Implements GenericDeclaration and isSynthetic(), * java/lang/reflect/Field.java: Likewise. * java/lang/reflect/Constructor.java * java/lang/Class.java: Implements Type, GenericDeclaration, getSimpleName() and getEnclosing*() methods. * java/lang/Class.h: Add new public methods. * java/lang/Math.java: Add signum(), ulp() and log10(). * java/lang/natMath.cc (log10): New function. * java/security/VMSecureRandom.java: New override. * java/util/logging/Logger.java: Updated to latest classpath version. * java/util/logging/LogManager.java: New override. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113887 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/classpath/java/sql/Statement.java | 37 +++++++++++++++++++------------ 1 file changed, 23 insertions(+), 14 deletions(-) (limited to 'libjava/classpath/java/sql/Statement.java') diff --git a/libjava/classpath/java/sql/Statement.java b/libjava/classpath/java/sql/Statement.java index 42e8e8e8816..195600eaa2c 100644 --- a/libjava/classpath/java/sql/Statement.java +++ b/libjava/classpath/java/sql/Statement.java @@ -1,5 +1,5 @@ /* Statement.java -- Interface for executing SQL statements. - Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2002, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -91,10 +91,10 @@ public interface Statement /** * This method sets the limit for the maximum length of any column in bytes. * - * @param maxsize The new maximum length of any column in bytes. + * @param maxSize The new maximum length of any column in bytes. * @exception SQLException If an error occurs. */ - void setMaxFieldSize(int max) throws SQLException; + void setMaxFieldSize(int maxSize) throws SQLException; /** * This method returns the maximum possible number of rows in a result set. @@ -108,20 +108,20 @@ public interface Statement * This method sets the maximum number of rows that can be present in a * result set. * - * @param maxrows The maximum possible number of rows in a result set. + * @param maxRows The maximum possible number of rows in a result set. * @exception SQLException If an error occurs. */ - void setMaxRows(int max) throws SQLException; + void setMaxRows(int maxRows) throws SQLException; /** * This method sets the local escape processing mode on or off. The * default value is on. * * @param escape true to enable local escape processing, - * false to disable it. + * false to disable it. * @exception SQLException If an error occurs. */ - void setEscapeProcessing(boolean enable) throws SQLException; + void setEscapeProcessing(boolean escape) throws SQLException; /** * The method returns the number of seconds a statement may be in process @@ -136,7 +136,7 @@ public interface Statement * This method sets the number of seconds a statement may be in process * before timing out. A value of 0 means there is no timeout. * - * @param timeout The new SQL statement timeout value. + * @param seconds The new SQL statement timeout value. * @exception SQLException If an error occurs. */ void setQueryTimeout(int seconds) throws SQLException; @@ -192,7 +192,10 @@ public interface Statement * @return The result set of the query, or null if there was * no result set (for example, if the statement was an UPDATE). * @exception SQLException If an error occurs. - * @see execute + * @see #execute(String) + * @see #execute(String, int) + * @see #execute(String, int[]) + * @see #execute(String, String[]) */ ResultSet getResultSet() throws SQLException; @@ -203,7 +206,10 @@ public interface Statement * @return The update count of the query, or -1 if there was no update * count (for example, if the statement was a SELECT). * @exception SQLException If an error occurs. - * @see execute + * @see #execute(String) + * @see #execute(String, int) + * @see #execute(String, int[]) + * @see #execute(String, String[]) */ int getUpdateCount() throws SQLException; @@ -215,7 +221,10 @@ public interface Statement * false otherwise (for example, the next result is an * update count). * @exception SQLException If an error occurs. - * @see execute + * @see #execute(String) + * @see #execute(String, int) + * @see #execute(String, int[]) + * @see #execute(String, String[]) */ boolean getMoreResults() throws SQLException; @@ -241,11 +250,11 @@ public interface Statement * This method informs the driver how many rows it should fetch from the * database at a time. * - * @param numrows The number of rows the driver should fetch at a time - * to populate the result set. + * @param numRows The number of rows the driver should fetch at a time + * to populate the result set. * @exception SQLException If an error occurs. */ - void setFetchSize(int rows) throws SQLException; + void setFetchSize(int numRows) throws SQLException; /** * This method returns the number of rows the driver believes should be -- cgit v1.2.1