1 --- misc/hsqldb/build/build.xml 2012-07-12 10:58:11.000000000 +0200
2 +++ misc/build/hsqldb/build/build.xml 2012-07-12 10:49:28.000000000 +0200
4 <echo message="ant.java.hasjsse=${ant.java.hasjsse}" />
7 - <target name="javaversion6">
8 + <target name="javaversion7" unless="ant.java.iscjavaset">
9 + <available classname="java.util.Objects" property="ant.java.iscjava17"/>
10 + <available classname="java.util.Objects" property="ant.java.iscjavaset"/>
13 + <target name="javaversion6" depends="javaversion7" unless="ant.java.iscjavaset">
14 <available classname="java.net.IDN" property="ant.java.iscjava16"/>
15 + <available classname="java.net.IDN" property="ant.java.iscjavaset"/>
18 - <target name="javaversion4" depends="javaversion6" unless="ant.java.iscjava16">
19 + <target name="javaversion4" depends="javaversion6" unless="ant.java.iscjavaset">
20 <available classname="java.nio.Buffer" property="ant.java.iscjava14"/>
21 + <available classname="java.nio.Buffer" property="ant.java.iscjavaset"/>
24 - <target name="javaversion2" depends="javaversion4" unless="ant.java.iscjava14">
25 + <target name="javaversion2" depends="javaversion4" unless="ant.java.iscjavaset">
26 <available classname="java.lang.ref.Reference" property="ant.java.iscjava12"/>
27 + <available classname="java.lang.ref.Reference" property="ant.java.iscjavaset"/>
30 <target name="-prepare" depends="init,javaversion2">
32 <java classname="org.hsqldb.util.CodeSwitcher" classpath="classes" >
33 <arg file="${src}/org/hsqldb/lib/java/JavaSystem.java"/>
34 <arg file="${src}/org/hsqldb/lib/HsqlTimer.java"/>
35 + <arg file="${src}/org/hsqldb/jdbcDriver.java"/>
36 <arg file="${src}/org/hsqldb/jdbc/jdbcStatement.java"/>
37 <arg file="${src}/org/hsqldb/persist/LockFile.java"/>
38 <arg file="${src}/org/hsqldb/persist/Logger.java"/>
40 <java classname="org.hsqldb.util.CodeSwitcher" classpath="classes" >
41 <arg file="${src}/org/hsqldb/lib/java/JavaSystem.java"/>
42 <arg file="${src}/org/hsqldb/lib/HsqlTimer.java"/>
43 + <arg file="${src}/org/hsqldb/jdbcDriver.java"/>
44 <arg file="${src}/org/hsqldb/jdbc/jdbcBlob.java"/>
45 <arg file="${src}/org/hsqldb/jdbc/jdbcDatabaseMetaData.java"/>
46 <arg file="${src}/org/hsqldb/jdbc/jdbcDataSource.java"/>
48 <arg value="+JAVA2FULL"/>
51 + <arg value="-JAVA7"/>
56 <java classname="org.hsqldb.util.CodeSwitcher" classpath="classes" >
57 <arg file="${src}/org/hsqldb/lib/java/JavaSystem.java"/>
58 <arg file="${src}/org/hsqldb/lib/HsqlTimer.java"/>
59 + <arg file="${src}/org/hsqldb/jdbcDriver.java"/>
60 <arg file="${src}/org/hsqldb/jdbc/jdbcBlob.java"/>
61 <arg file="${src}/org/hsqldb/jdbc/jdbcDatabaseMetaData.java"/>
62 <arg file="${src}/org/hsqldb/jdbc/jdbcDataSource.java"/>
64 <arg value="+JAVA2FULL"/>
67 + <arg value="-JAVA7"/>
72 <java classname="org.hsqldb.util.CodeSwitcher" classpath="classes" >
73 <arg file="${src}/org/hsqldb/lib/java/JavaSystem.java"/>
74 <arg file="${src}/org/hsqldb/lib/HsqlTimer.java"/>
75 + <arg file="${src}/org/hsqldb/jdbcDriver.java"/>
76 + <arg file="${src}/org/hsqldb/jdbc/jdbcBlob.java"/>
77 + <arg file="${src}/org/hsqldb/jdbc/jdbcDatabaseMetaData.java"/>
78 + <arg file="${src}/org/hsqldb/jdbc/jdbcDataSource.java"/>
79 + <arg file="${src}/org/hsqldb/jdbc/jdbcCallableStatement.java"/>
80 + <arg file="${src}/org/hsqldb/jdbc/jdbcClob.java"/>
81 + <arg file="${src}/org/hsqldb/jdbc/jdbcConnection.java"/>
82 + <arg file="${src}/org/hsqldb/jdbc/jdbcParameterMetaData.java"/>
83 + <arg file="${src}/org/hsqldb/jdbc/jdbcPreparedStatement.java"/>
84 + <arg file="${src}/org/hsqldb/jdbc/jdbcResultSet.java"/>
85 + <arg file="${src}/org/hsqldb/jdbc/jdbcResultSetMetaData.java"/>
86 + <arg file="${src}/org/hsqldb/jdbc/jdbcStatement.java"/>
87 + <arg file="${src}/org/hsqldb/persist/LockFile.java"/>
88 + <arg file="${src}/org/hsqldb/persist/Logger.java"/>
89 + <arg file="${src}/org/hsqldb/persist/ScaledRAFile.java"/>
90 + <arg file="${src}/org/hsqldb/rowio/RowInputTextLog.java"/>
91 + <arg file="${src}/org/hsqldb/util/DatabaseManager.java"/>
92 + <arg file="${src}/org/hsqldb/util/ConnectionDialogCommon.java"/>
93 + <arg file="${src}/org/hsqldb/lib/SimpleLog.java"/>
94 + <arg file="${src}/org/hsqldb/rowio/RowInputTextLog.java"/>
95 + <arg file="${src}/org/hsqldb/lib/SimpleLog.java"/>
96 + <arg file="${src}/org/hsqldb/rowio/RowInputTextLog.java"/>
97 + <arg file="${src}/org/hsqldb/HsqlDateTime.java"/>
98 + <arg value="+JAVA2"/>
99 + <arg value="+JAVA2FULL"/>
100 + <arg value="+JAVA4"/>
101 + <arg value="+JAVA6"/>
102 + <arg value="-JAVA7"/>
106 + <target name="switchtojdk17" depends="switchtojdk16"
107 + description="self explanatory" if="ant.java.iscjava17">
108 + <java classname="org.hsqldb.util.CodeSwitcher" classpath="classes" >
109 + <arg file="${src}/org/hsqldb/lib/java/JavaSystem.java"/>
110 + <arg file="${src}/org/hsqldb/lib/HsqlTimer.java"/>
111 + <arg file="${src}/org/hsqldb/jdbcDriver.java"/>
112 <arg file="${src}/org/hsqldb/jdbc/jdbcBlob.java"/>
113 <arg file="${src}/org/hsqldb/jdbc/jdbcDatabaseMetaData.java"/>
114 <arg file="${src}/org/hsqldb/jdbc/jdbcDataSource.java"/>
115 @@ -279,10 +332,11 @@
116 <arg value="+JAVA2FULL"/>
117 <arg value="+JAVA4"/>
118 <arg value="+JAVA6"/>
119 + <arg value="+JAVA7"/>
123 - <target name="store" depends="switchtojdk16"
124 + <target name="store" depends="switchtojdk17"
125 description="compiles the /store folder">
126 <javac srcdir="${src}"
128 --- misc/hsqldb/src/org/hsqldb/jdbc/jdbcCallableStatement.java 2012-02-08 15:14:42.802123563 +0000
129 +++ misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcCallableStatement.java 2012-02-08 15:47:35.842635642 +0000
130 @@ -3375,4 +3375,18 @@
136 + public <T> T getObject(String columnLabel, Class<T> type) throws SQLException
138 + throw new UnsupportedOperationException("Not supported yet.");
141 + public <T> T getObject(int ColumnIndex, Class<T> type) throws SQLException
143 + throw new UnsupportedOperationException("Not supported yet.");
149 --- misc/hsqldb/src/org/hsqldb/jdbc/jdbcConnection.java 2012-02-08 15:14:42.802123563 +0000
150 +++ misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcConnection.java 2012-02-08 15:47:35.851635628 +0000
157 +import java.util.concurrent.Executor;
161 import java.sql.PreparedStatement;
162 import java.sql.SQLException;
163 import java.sql.SQLWarning;
164 @@ -2793,4 +2799,31 @@
170 + public int getNetworkTimeout() throws SQLException
172 + throw new UnsupportedOperationException("Not supported yet.");
175 + public void setNetworkTimeout(Executor executor, int millis) throws SQLException
177 + throw new UnsupportedOperationException("Not supported yet.");
180 + public void abort(Executor executor) throws SQLException
182 + throw new UnsupportedOperationException("Not supported yet.");
185 + public String getSchema() throws SQLException
187 + throw new UnsupportedOperationException("Not supported yet.");
190 + public void setSchema(String schema) throws SQLException
192 + throw new UnsupportedOperationException("Not supported yet.");
196 --- misc/hsqldb/src/org/hsqldb/jdbc/jdbcDatabaseMetaData.java 2012-02-08 15:14:42.802123563 +0000
197 +++ misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcDatabaseMetaData.java 2012-02-08 15:47:35.835635654 +0000
198 @@ -5693,4 +5693,21 @@
205 + public boolean generatedKeyAlwaysReturned() throws SQLException
207 + throw new UnsupportedOperationException("Not supported yet.");
210 + public ResultSet getPseudoColumns(String catalog, String schemaPattern,
211 + String tableNamePattern, String columnNamePattern) throws SQLException
213 + throw new UnsupportedOperationException("Not supported yet.");
220 --- misc/hsqldb/src/org/hsqldb/jdbc/jdbcDataSource.java 2012-02-08 15:14:42.802123563 +0000
221 +++ misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcDataSource.java 2012-02-08 15:47:35.836635653 +0000
224 import org.hsqldb.jdbcDriver;
227 +import java.sql.SQLFeatureNotSupportedException;
228 +import java.util.logging.Logger;
231 // boucherb@users 20040411 - doc 1.7.2 - javadoc updates toward 1.7.2 final
240 + public Logger getParentLogger() throws SQLFeatureNotSupportedException
242 + throw new AbstractMethodError(
243 + "org.hsqldb.jdbc.jdbcDataSource.getParentLogger should throw" +
244 + " SQLFeatureNotSupportedException, but that is not yet available" +
250 --- misc/hsqldb/src/org/hsqldb/jdbc/jdbcResultSet.java 2012-02-08 15:14:42.802123563 +0000
251 +++ misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcResultSet.java 2012-02-08 15:47:35.866635606 +0000
252 @@ -5324,4 +5324,19 @@
259 + public <T> T getObject(String columnLabel, Class<T> type) throws SQLException
261 + throw new UnsupportedOperationException("Not supported yet.");
264 + public <T> T getObject(int columnNum, Class<T> type) throws SQLException
266 + throw new UnsupportedOperationException("Not supported yet.");
272 --- misc/hsqldb/src/org/hsqldb/jdbc/jdbcStatement.java 2012-02-08 15:14:42.802123563 +0000
273 +++ misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcStatement.java 2012-02-08 15:47:35.872635595 +0000
274 @@ -1608,4 +1608,16 @@
280 + public boolean isCloseOnCompletion() throws SQLException
282 + throw new UnsupportedOperationException("Not supported yet.");
285 + public void closeOnCompletion() throws SQLException
287 + throw new UnsupportedOperationException("Not supported yet.");
291 --- misc/hsqldb/src/org/hsqldb/jdbcDriver.java 2012-02-08 15:14:42.800123566 +0000
292 +++ misc/build/hsqldb/src/org/hsqldb/jdbcDriver.java 2012-02-08 15:47:35.826635667 +0000
294 import org.hsqldb.persist.HsqlDatabaseProperties;
295 import org.hsqldb.persist.HsqlProperties;
298 +import java.sql.SQLFeatureNotSupportedException;
299 +import java.util.logging.Logger;
302 // fredt@users 20011220 - patch 1.7.0 by fredt
303 // new version numbering scheme
304 // fredt@users 20020320 - patch 1.7.0 - JDBC 2 support and error trapping
306 DriverManager.registerDriver(new jdbcDriver());
307 } catch (Exception e) {}
311 + public Logger getParentLogger() throws SQLFeatureNotSupportedException
313 + throw new AbstractMethodError(
314 + "org.hsqldb.jdbcDriver.getParentLogger should throw" +
315 + " SQLFeatureNotSupportedException, but that is not yet available" +