The Free and Open Productivity Suite
QA Volunteers Needed -- Help us test OpenOffice

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for Apache OpenOffice version 3.4.

:: com :: sun :: star :: sdbc ::

interface XColumnLocate
Description
provides the possibility to find columns by their name.

When several columns have the same name, then the value of the first matching column will be returned. The column name option is designed to be used when column names are used in the SQL query. For columns that are NOT explicitly named in the query, it is best to use column numbers. If column names are used, there is no way for the programmer to guarantee that they actually refer to the intended columns.


Methods' Summary
findColumn maps the given Resultset column name to its ResultSet column index.  
Methods' Details
findColumn
long
findColumn( [in] string  columnName )
raises( SQLException );

Description
maps the given Resultset column name to its ResultSet column index.
Parameter columnName
the name of the column
Returns
the position of the column
Throws
SQLException if a database access error occurs.
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us | Donate

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.