--- old/src/share/classes/java/sql/CallableStatement.java 2014-08-07 18:10:06.000000000 -0400 +++ new/src/share/classes/java/sql/CallableStatement.java 2014-08-07 18:10:05.000000000 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -1145,7 +1145,7 @@ * Java Object types to SQL types. The given argument * will be converted to the corresponding SQL type before being * sent to the database. - *

Note that this method may be used to pass datatabase- + *

Note that this method may be used to pass database- * specific abstract data types, by using a driver-specific Java * type. * @@ -1882,7 +1882,8 @@ throws SQLException; /** - * Sets the designated parameter to a InputStream object. The inputstream must contain the number + * Sets the designated parameter to a {@code InputStream} object. + * The Inputstream must contain the number * of characters specified by length, otherwise a SQLException will be * generated when the CallableStatement is executed. * This method differs from the setBinaryStream (int, InputStream, int) @@ -1899,7 +1900,7 @@ * @param length the number of bytes in the parameter data. * @throws SQLException if parameterName does not correspond to a named * parameter; if the length specified - * is less than zero; if the number of bytes in the inputstream does not match + * is less than zero; if the number of bytes in the Inputstream does not match * the specified length; if a database access error occurs or * this method is called on a closed CallableStatement * @exception SQLFeatureNotSupportedException if the JDBC driver does not support @@ -2378,7 +2379,7 @@ throws SQLException; /** - * Sets the designated parameter to a InputStream object. + * Sets the designated parameter to a {@code InputStream} object. * This method differs from the setBinaryStream (int, InputStream) * method because it informs the driver that the parameter value should be * sent to the server as a BLOB. When the setBinaryStream method is used, @@ -2430,7 +2431,7 @@ /** - *

Returns an object representing the value of OUT parameter + * Returns an object representing the value of OUT parameter * {@code parameterIndex} and will convert from the * SQL type of the parameter to the requested Java data type, if the * conversion is supported. If the conversion is not @@ -2459,7 +2460,7 @@ /** - *

Returns an object representing the value of OUT parameter + * Returns an object representing the value of OUT parameter * {@code parameterName} and will convert from the * SQL type of the parameter to the requested Java data type, if the * conversion is supported. If the conversion is not @@ -2490,7 +2491,7 @@ //------------------------- JDBC 4.2 ----------------------------------- /** - *

Sets the value of the designated parameter with the given object. + * Sets the value of the designated parameter with the given object. * * If the second argument is an {@code InputStream} then the stream * must contain the number of bytes specified by scaleOrLength.