diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2012-02-14 06:19:08 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2012-02-14 15:07:03 +0100 |
commit | 7535373fa693ddff5311054800efcc602cdcacd9 (patch) | |
tree | feb0b75d6ab9dd12c26a5e36978edf0760839017 /offapi/com | |
parent | 8167b8f3d9ca506a30bd8454d934d713033cb8b4 (diff) |
correct documentation of com::sun::star::sdbc::XDatabaseMetaData
Diffstat (limited to 'offapi/com')
-rw-r--r-- | offapi/com/sun/star/sdbc/XDatabaseMetaData.idl | 16 |
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 4f06bb54f0e0..abee6d219dbd 100644 --- a/offapi/com/sun/star/sdbc/XDatabaseMetaData.idl +++ b/offapi/com/sun/star/sdbc/XDatabaseMetaData.idl @@ -45,31 +45,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> */ |