To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=58879
                  Issue #:|58879
                  Summary:|XDatabaseMetaData::getVersionColumns not respected by
                          |SDB-level column wrappers
                Component:|Database access
                  Version:|OOo 2.0
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|PATCH
                 Priority:|P3
             Subcomponent:|none
              Assigned to:|oj
              Reported by:|fs





------- Additional comments from [EMAIL PROTECTED] Mon Dec  5 02:27:15 -0800 
2005 -------
OOo database have an option "suppress version columns" which can be set to
"true" to ignore result set columns which contain a database-generated row 
version.

For database drivers which support only SDBC-level API, there exist generic
wrappers in dbaccess which create objects conformant to SDBCX-level API, in
particular, dbaccess creates css.sdbcx.Column wrappers for the low-level columns
returned by a database driver, if necessary.

The sdbcx.Column service has a IsRowVersion property, which should reflect
exactly the information whether a certain column contains a database-generated
row-version-value. For the dbaccess-wrappers, it's expected that this value is
synchronous with the information as obtained from the
XDatabaseMetaData::getVersionColumns method.

However, currently dbaccess completely ignores the information from
getVersionColumns.

As a result, if a driver implements SDBC-level API only, but not SDBCX-level
API, and properly returns the version columns in its meta data's
getVersionColumns method, then this is completely ignored at the moment.

The attached patch fixes this in dbaccess.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to