You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by ka...@apache.org on 2007/10/19 10:16:21 UTC
svn commit: r586313 - in /db/derby/code/trunk/java:
client/org/apache/derby/client/am/ engine/org/apache/derby/iapi/jdbc/
engine/org/apache/derby/impl/db/ engine/org/apache/derby/impl/jdbc/
engine/org/apache/derby/vti/
Author: kahatlen
Date: Fri Oct 19 01:16:20 2007
New Revision: 586313
URL: http://svn.apache.org/viewvc?rev=586313&view=rev
Log:
DERBY-3132: Added @deprecated javadoc tag to implementations of
deprecated methods
Modified:
db/derby/code/trunk/java/client/org/apache/derby/client/am/CallableStatement.java
db/derby/code/trunk/java/client/org/apache/derby/client/am/PreparedStatement.java
db/derby/code/trunk/java/client/org/apache/derby/client/am/ResultSet.java
db/derby/code/trunk/java/engine/org/apache/derby/iapi/jdbc/BrokeredCallableStatement.java
db/derby/code/trunk/java/engine/org/apache/derby/iapi/jdbc/BrokeredPreparedStatement.java
db/derby/code/trunk/java/engine/org/apache/derby/impl/db/BasicDatabase.java
db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedCallableStatement20.java
db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedPreparedStatement.java
db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedResultSet20.java
db/derby/code/trunk/java/engine/org/apache/derby/vti/UpdatableVTITemplate.java
db/derby/code/trunk/java/engine/org/apache/derby/vti/VTITemplate.java
Modified: db/derby/code/trunk/java/client/org/apache/derby/client/am/CallableStatement.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/am/CallableStatement.java?rev=586313&r1=586312&r2=586313&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/am/CallableStatement.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/am/CallableStatement.java Fri Oct 19 01:16:20 2007
@@ -406,6 +406,7 @@
}
}
+ /** @deprecated */
public java.math.BigDecimal getBigDecimal(int parameterIndex, int scale) throws SQLException, ArithmeticException {
try
{
Modified: db/derby/code/trunk/java/client/org/apache/derby/client/am/PreparedStatement.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/am/PreparedStatement.java?rev=586313&r1=586312&r2=586313&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/am/PreparedStatement.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/am/PreparedStatement.java Fri Oct 19 01:16:20 2007
@@ -1191,6 +1191,7 @@
* value
* @param length the number of bytes in the stream
* @exception SQLException throws feature not implemented.
+ * @deprecated
*/
public void setUnicodeStream(int parameterIndex,
java.io.InputStream x,
Modified: db/derby/code/trunk/java/client/org/apache/derby/client/am/ResultSet.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/am/ResultSet.java?rev=586313&r1=586312&r2=586313&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/am/ResultSet.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/am/ResultSet.java Fri Oct 19 01:16:20 2007
@@ -783,6 +783,7 @@
}
// Live life on the edge and run unsynchronized
+ /** @deprecated */
public java.math.BigDecimal getBigDecimal(int column, int scale) throws SQLException {
try
{
@@ -1168,6 +1169,7 @@
*
* @param column the column to retrieve as a Unicode stream
* @exception SQLException throws feature not implemented
+ * @deprecated
*/
public java.io.InputStream getUnicodeStream(int column) throws SQLException {
if (agent_.loggingEnabled()) {
@@ -1527,6 +1529,7 @@
}
}
+ /** @deprecated */
public final java.math.BigDecimal getBigDecimal(String columnName, int scale) throws SQLException {
try
{
@@ -1695,6 +1698,7 @@
}
}
+ /** @deprecated */
public final java.io.InputStream getUnicodeStream(String columnName) throws SQLException {
try
{
Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/jdbc/BrokeredCallableStatement.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/jdbc/BrokeredCallableStatement.java?rev=586313&r1=586312&r2=586313&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/jdbc/BrokeredCallableStatement.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/jdbc/BrokeredCallableStatement.java Fri Oct 19 01:16:20 2007
@@ -108,6 +108,7 @@
return getCallableStatement().getDouble( parameterIndex);
}
+ /** @deprecated */
public final BigDecimal getBigDecimal(int parameterIndex,
int scale)
throws SQLException
Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/jdbc/BrokeredPreparedStatement.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/jdbc/BrokeredPreparedStatement.java?rev=586313&r1=586312&r2=586313&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/jdbc/BrokeredPreparedStatement.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/jdbc/BrokeredPreparedStatement.java Fri Oct 19 01:16:20 2007
@@ -303,6 +303,7 @@
* UNICODE parameter value
* @param length the number of bytes in the stream
* @exception SQLException thrown on failure.
+ * @deprecated
*/
public final void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException
{
Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/db/BasicDatabase.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/db/BasicDatabase.java?rev=586313&r1=586312&r2=586313&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/db/BasicDatabase.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/db/BasicDatabase.java Fri Oct 19 01:16:20 2007
@@ -459,6 +459,7 @@
/**
Return the UUID of this database.
+ @deprecated
*/
public final UUID getId() {
return myUUID;
Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedCallableStatement20.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedCallableStatement20.java?rev=586313&r1=586312&r2=586313&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedCallableStatement20.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedCallableStatement20.java Fri Oct 19 01:16:20 2007
@@ -1058,6 +1058,7 @@
/**
* @see CallableStatement#getBigDecimal
* @exception SQLException NoOutputParameters thrown.
+ * @deprecated
*/
public final BigDecimal getBigDecimal(int parameterIndex, int scale) throws SQLException
{
Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedPreparedStatement.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedPreparedStatement.java?rev=586313&r1=586312&r2=586313&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedPreparedStatement.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedPreparedStatement.java Fri Oct 19 01:16:20 2007
@@ -609,6 +609,7 @@
* UNICODE parameter value
* @param length the number of bytes in the stream
* @exception SQLException thrown on failure.
+ * @deprecated
*/
public void setUnicodeStream(int parameterIndex, InputStream x, int length)
throws SQLException
Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedResultSet20.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedResultSet20.java?rev=586313&r1=586312&r2=586313&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedResultSet20.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedResultSet20.java Fri Oct 19 01:16:20 2007
@@ -93,6 +93,7 @@
* @param scale the number of digits to the right of the decimal
* @return the column value; if the value is SQL NULL, the result is null
* @exception SQLException thrown on failure.
+ * @deprecated
*/
public final BigDecimal getBigDecimal(int columnIndex, int scale)
throws SQLException {
@@ -128,6 +129,7 @@
* @param scale the number of digits to the right of the decimal
* @return the column value; if the value is SQL NULL, the result is null
* @exception SQLException thrown on failure.
+ * @deprecated
*/
public final BigDecimal getBigDecimal(String columnName, int scale)
throws SQLException {
@@ -141,6 +143,7 @@
*
Deprecated in JDBC 2.0, not supported by JCC.
* @exception SQLException thrown on failure.
+ * @deprecated
*/
public final java.io.InputStream getUnicodeStream(int columnIndex) throws SQLException {
throw Util.notImplemented("getUnicodeStream");
@@ -148,6 +151,7 @@
/**
Deprecated in JDBC 2.0, not supported by JCC.
* @exception SQLException thrown on failure.
+ * @deprecated
*/
public final java.io.InputStream getUnicodeStream(String columnName) throws SQLException {
throw Util.notImplemented("getUnicodeStream");
Modified: db/derby/code/trunk/java/engine/org/apache/derby/vti/UpdatableVTITemplate.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/vti/UpdatableVTITemplate.java?rev=586313&r1=586312&r2=586313&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/vti/UpdatableVTITemplate.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/vti/UpdatableVTITemplate.java Fri Oct 19 01:16:20 2007
@@ -468,6 +468,7 @@
* @see java.sql.PreparedStatement
*
* @exception SQLException on unexpected JDBC error
+ * @deprecated
*/
public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException
{
Modified: db/derby/code/trunk/java/engine/org/apache/derby/vti/VTITemplate.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/vti/VTITemplate.java?rev=586313&r1=586312&r2=586313&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/vti/VTITemplate.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/vti/VTITemplate.java Fri Oct 19 01:16:20 2007
@@ -151,6 +151,7 @@
* @see java.sql.ResultSet
*
* @exception SQLException on unexpected JDBC error
+ * @deprecated
*/
public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException {
throw new SQLException("getBigDecimal");
@@ -205,6 +206,7 @@
* @see java.sql.ResultSet
*
* @exception SQLException on unexpected JDBC error
+ * @deprecated
*/
public java.io.InputStream getUnicodeStream(int columnIndex) throws SQLException {
throw new SQLException("getUnicodeStream");
@@ -296,6 +298,7 @@
* @see java.sql.ResultSet
*
* @exception SQLException on unexpected JDBC error
+ * @deprecated
*/
public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException {
return getBigDecimal(findColumn(columnName), scale);
@@ -350,6 +353,7 @@
* @see java.sql.ResultSet
*
* @exception SQLException on unexpected JDBC error
+ * @deprecated
*/
public java.io.InputStream getUnicodeStream(String columnName) throws SQLException {
throw new SQLException("getUnicodeStream");