summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2012-02-14 06:19:08 +0100
committerMichael Stahl <mstahl@redhat.com>2012-02-14 16:06:58 +0100
commit0a28ddf2084f86743e229667ae2c9b7e4f95e49e (patch)
tree65f769e18363ad7934ff4048ee24a0b5b6992413
parentb88db173e610da5058099d5524e8fa7db2fc733d (diff)
correct documentation of com::sun::star::sdbc::XDatabaseMetaData
(cherry picked from commit 7535373fa693ddff5311054800efcc602cdcacd9) Signed-off-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--offapi/com/sun/star/sdbc/XDatabaseMetaData.idl16
1 files changed, 9 insertions, 7 deletions
diff --git a/offapi/com/sun/star/sdbc/XDatabaseMetaData.idl b/offapi/com/sun/star/sdbc/XDatabaseMetaData.idl
index 20dc8b379cfe..ce07b4e7420c 100644
--- a/offapi/com/sun/star/sdbc/XDatabaseMetaData.idl
+++ b/offapi/com/sun/star/sdbc/XDatabaseMetaData.idl
@@ -44,31 +44,33 @@
the form of
<type scope="com::sun::star::sdbc">XResultSet</type>
objects.
- You can use the normal <type scope="com::sun::star::sdbc">XResultSet</type>
+ You can use the normal <type scope="com::sun::star::sdbc">XRow</type>
+ (or <type scope="com::sun::star::sdb">XColumn</type>)
methods such as
- <member scope="com::sun::star::sdbc">XResultSet::getString()</member>
+ <member scope="com::sun::star::sdbc">XRow::getString()</member>
and
- <member scope="com::sun::star::sdbc">XResultSet::getInt()</member>
+ <member scope="com::sun::star::sdbc">XRow::getInt()</member>
to retrieve the data from these XResultSets. If a given form of
metadata is not available, these methods should throw a
<type scope="com::sun::star::sdbc">SQLException</type>
.
- That a value of <type scope="com::sun::star::sdbc">XResultSet</type> is <NULL/>
- can be checked with the method <member scope="com::sun::star::sdbc">XResultSet::wasNull()</member>.
+ After calling one of the getXXX() methods,
+ one can check whether that value is <NULL/>
+ with the method <member scope="com::sun::star::sdbc">XRow::wasNull()</member>.
In the text only "(may be <NULL/>)" is mentioned for this case.
</p>
<p>Some of these methods take arguments that are String patterns. These
arguments all have names such as fooPattern. Within a pattern String, "%"
means match any substring of 0 or more characters, and "_" means match
any one character. Only metadata entries matching the search pattern
- are returned. If a search pattern argument is set to <VOID/>,
+ is returned. If a search pattern argument is set to <VOID/>,
that argument's criteria will be dropped from the search.
</p>
<p>
A
<type scope="com::sun::star::sdbc">SQLException</type>
will be thrown if a driver does not support
- a meta data method. In the case of methods that return an XResultSet,
+ a metadata method. In the case of methods that return an XResultSet,
either an XResultSet (which may be empty) is returned or a
SQLException is thrown.</p>
*/