Fix malformed code in documentation
Fixed code snippets in "Handling complex types for stored procedure
calls" paragraph.
Issue: SPR-10798
(cherry picked from commit 00c744b
)
This commit is contained in:
parent
4c7cb858d2
commit
c890d1e69d
|
@ -2601,8 +2601,8 @@ clobReader.close();]]></programlisting>
|
||||||
that must be implemented. This interface is used as part of the
|
that must be implemented. This interface is used as part of the
|
||||||
declaration of an <classname>SqlOutParameter</classname>.</para>
|
declaration of an <classname>SqlOutParameter</classname>.</para>
|
||||||
|
|
||||||
<para><programlisting language="java">final TestItem - new TestItem(123L, "A test item",
|
<para><programlisting language="java">final TestItem = new TestItem(123L, "A test item",
|
||||||
new SimpleDateFormat("yyyy-M-d").parse("2010-12-31"););
|
new SimpleDateFormat("yyyy-M-d").parse("2010-12-31"));
|
||||||
|
|
||||||
declareParameter(new SqlOutParameter("item", OracleTypes.STRUCT, "ITEM_TYPE",
|
declareParameter(new SqlOutParameter("item", OracleTypes.STRUCT, "ITEM_TYPE",
|
||||||
new SqlReturnType() {
|
new SqlReturnType() {
|
||||||
|
@ -2626,8 +2626,8 @@ declareParameter(new SqlOutParameter("item", OracleTypes.STRUCT, "ITEM_TYPE",
|
||||||
<classname>StructDescriptor</classname>s, as shown in the following
|
<classname>StructDescriptor</classname>s, as shown in the following
|
||||||
example, or <classname>ArrayDescriptor</classname>s.<!--Rewording of preceding ok? The example is showing human participation, I assume. ;-) TR: Yes :), OK.--></para>
|
example, or <classname>ArrayDescriptor</classname>s.<!--Rewording of preceding ok? The example is showing human participation, I assume. ;-) TR: Yes :), OK.--></para>
|
||||||
|
|
||||||
<para><programlisting language="java">final TestItem - new TestItem(123L, "A test item",
|
<para><programlisting language="java">final TestItem = new TestItem(123L, "A test item",
|
||||||
new SimpleDateFormat("yyyy-M-d").parse("2010-12-31"););
|
new SimpleDateFormat("yyyy-M-d").parse("2010-12-31"));
|
||||||
|
|
||||||
SqlTypeValue value = new AbstractSqlTypeValue() {
|
SqlTypeValue value = new AbstractSqlTypeValue() {
|
||||||
protected Object createTypeValue(Connection conn, int sqlType, String typeName) throws SQLException {
|
protected Object createTypeValue(Connection conn, int sqlType, String typeName) throws SQLException {
|
||||||
|
|
Loading…
Reference in New Issue