Kaydet (Commit) 7535373f authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

correct documentation of com::sun::star::sdbc::XDatabaseMetaData

üst 8167b8f3
......@@ -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>
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment