From 225b8e822a66e2f861fd5e4091c4831764103c32 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Thu, 7 Dec 2006 19:17:13 +0000 Subject: [PATCH] To enable compile 3.1.2 with java 5 --- .../org/compiere/util/CPreparedStatement.java | 28 +++++++++---------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/dbPort/src/org/compiere/util/CPreparedStatement.java b/dbPort/src/org/compiere/util/CPreparedStatement.java index cd92e5abbe..f6e27bad4f 100644 --- a/dbPort/src/org/compiere/util/CPreparedStatement.java +++ b/dbPort/src/org/compiere/util/CPreparedStatement.java @@ -1128,12 +1128,6 @@ public class CPreparedStatement extends CStatement implements PreparedStatement } - public void setNClob(int parameterIndex, NClob value) throws SQLException - { - - } - - public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException { @@ -1158,22 +1152,26 @@ public class CPreparedStatement extends CStatement implements PreparedStatement { } - - - - - public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException - { - - } public void setNString(int parameterIndex, String value) throws SQLException { } - public void setRowId(int parameterIndex, RowId x) throws SQLException{} + /* In order to compile in Java 6 you must add these methods + public void setNClob(int parameterIndex, NClob value) throws SQLException + { + + } + + public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException + { + + } + + public void setRowId(int parameterIndex, RowId x) throws SQLException{} + */ } // CPreparedStatement