提交 9f150b11 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Update Java links

上级 ae6a92dd
...@@ -1380,7 +1380,7 @@ Remote TLS connections are supported using the Java Secure Socket Extension ...@@ -1380,7 +1380,7 @@ Remote TLS connections are supported using the Java Secure Socket Extension
<p> <p>
To use your own keystore, set the system properties <code>javax.net.ssl.keyStore</code> and To use your own keystore, set the system properties <code>javax.net.ssl.keyStore</code> and
<code>javax.net.ssl.keyStorePassword</code> before starting the H2 server and client. <code>javax.net.ssl.keyStorePassword</code> before starting the H2 server and client.
See also <a href="http://java.sun.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html#CustomizingStores"> See also <a href="https://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/JSSERefGuide.html#CustomizingStores">
Customizing the Default Key and Trust Stores, Store Types, and Store Passwords</a> Customizing the Default Key and Trust Stores, Store Types, and Store Passwords</a>
for more information. for more information.
</p> </p>
...@@ -1822,7 +1822,7 @@ OR X = 2 OR X = 2 OR X = 2 OR X = 2 OR X = 2 ...@@ -1822,7 +1822,7 @@ OR X = 2 OR X = 2 OR X = 2 OR X = 2 OR X = 2
<tr> <tr>
<td>SSL/TLS</td> <td>SSL/TLS</td>
<td>Secure Sockets Layer / Transport Layer Security. See also: <td>Secure Sockets Layer / Transport Layer Security. See also:
<a href="http://java.sun.com/products/jsse/">Java Secure Socket <a href="https://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/JSSERefGuide.html">Java Secure Socket
Extension (JSSE)</a></td> Extension (JSSE)</a></td>
</tr> </tr>
</table> </table>
......
...@@ -245,7 +245,7 @@ return <code>X</code>. What's wrong? ...@@ -245,7 +245,7 @@ return <code>X</code>. What's wrong?
This is not a bug. According the the JDBC specification, the method This is not a bug. According the the JDBC specification, the method
<code>ResultSetMetaData.getColumnName()</code> should return the name of the column <code>ResultSetMetaData.getColumnName()</code> should return the name of the column
and not the alias name. If you need the alias name, use and not the alias name. If you need the alias name, use
<a href="http://java.sun.com/javase/6/docs/api/java/sql/ResultSetMetaData.html#getColumnLabel(int)"><code>ResultSetMetaData.getColumnLabel()</code></a>. <a href="https://docs.oracle.com/javase/7/docs/api/java/sql/ResultSetMetaData.html#getColumnLabel(int)"><code>ResultSetMetaData.getColumnLabel()</code></a>.
Some other database don't work like this yet (they don't follow the JDBC specification). Some other database don't work like this yet (they don't follow the JDBC specification).
If you need compatibility with those databases, use the <a href="features.html#compatibility">Compatibility Mode</a>, If you need compatibility with those databases, use the <a href="features.html#compatibility">Compatibility Mode</a>,
or append <a href="http://www.h2database.com/javadoc/org/h2/engine/DbSettings.html#ALIAS_COLUMN_NAME"><code>;ALIAS_COLUMN_NAME=TRUE</code></a> to the database URL. or append <a href="http://www.h2database.com/javadoc/org/h2/engine/DbSettings.html#ALIAS_COLUMN_NAME"><code>;ALIAS_COLUMN_NAME=TRUE</code></a> to the database URL.
...@@ -265,7 +265,7 @@ return a <code>java.lang.Float</code>. What's wrong? ...@@ -265,7 +265,7 @@ return a <code>java.lang.Float</code>. What's wrong?
This is not a bug. According the the JDBC specification, the JDBC data type <code>FLOAT</code> This is not a bug. According the the JDBC specification, the JDBC data type <code>FLOAT</code>
is equivalent to <code>DOUBLE</code>, and both are mapped to <code>java.lang.Double</code>. is equivalent to <code>DOUBLE</code>, and both are mapped to <code>java.lang.Double</code>.
See also See also
<a href="http://java.sun.com/j2se/1.5.0/docs/guide/jdbc/getstart/mapping.html#1055162"> <a href="https://docs.oracle.com/javase/1.5.0/docs/guide/jdbc/getstart/mapping.html#1055162">
Mapping SQL and Java Types - 8.3.10 FLOAT</a>.</p> Mapping SQL and Java Types - 8.3.10 FLOAT</a>.</p>
<p>Use REAL or FLOAT(24) data type for <code>java.lang.Float</code> values.</p> <p>Use REAL or FLOAT(24) data type for <code>java.lang.Float</code> values.</p>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论