|
1 | 1 | <!-- |
2 | | -$Header: /cvsroot/pgsql/doc/src/sgml/Attic/jdbc.sgml,v 1.46 2003/08/06 23:50:19 barry Exp $ |
| 2 | +$Header: /cvsroot/pgsql/doc/src/sgml/Attic/jdbc.sgml,v 1.47 2003/08/07 05:06:40 barry Exp $ |
3 | 3 | --> |
4 | 4 |
|
5 | 5 | <chapter id="jdbc"> |
@@ -365,7 +365,7 @@ st.close(); |
365 | 365 | </para> |
366 | 366 | </example> |
367 | 367 |
|
368 | | - <sect2 id="query-with-cursor"> |
| 368 | + <sect2 id="jdbc-query-with-cursor"> |
369 | 369 | <title>Getting results based on a cursor</title> |
370 | 370 |
|
371 | 371 | <para>By default the driver collects all the results for the |
@@ -407,7 +407,8 @@ rs.close(); |
407 | 407 | st.close(); |
408 | 408 | </programlisting> |
409 | 409 | </para> |
410 | | - |
| 410 | + </example> |
| 411 | + </sect2> |
411 | 412 |
|
412 | 413 | <sect2> |
413 | 414 | <title>Using the <classname>Statement</classname> or <classname>PreparedStatement</classname> Interface</title> |
@@ -607,7 +608,7 @@ upperProc.close(); |
607 | 608 |
|
608 | 609 | <para>When calling a function that returns |
609 | 610 | a <type>refcursor</type> you must cast the return type |
610 | | - of<methodname>getObject</methodname> to |
| 611 | + of getObject to |
611 | 612 | a <classname>ResultSet</classname></para> |
612 | 613 |
|
613 | 614 | <programlisting> |
|