From 3c2450d127fbe38f386f9357e19f3b9aa35f61c6 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Wed, 30 Jan 2008 07:17:33 +0000 Subject: INTEGRATION: CWS dba24d (1.7.150); FILE MERGED 2007/12/04 10:43:42 oj 1.7.150.2: #i68854# add new property to change typeinfos 2007/11/21 08:00:16 fs 1.7.150.1: copying changes from CWS dba24c herein (premature resync) --- .../com/sun/star/sdbc/JDBCConnectionProperties.idl | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'offapi/com/sun/star/sdbc') diff --git a/offapi/com/sun/star/sdbc/JDBCConnectionProperties.idl b/offapi/com/sun/star/sdbc/JDBCConnectionProperties.idl index 6afd64a80bb4..1f080abf3e2e 100644 --- a/offapi/com/sun/star/sdbc/JDBCConnectionProperties.idl +++ b/offapi/com/sun/star/sdbc/JDBCConnectionProperties.idl @@ -4,9 +4,9 @@ * * $RCSfile: JDBCConnectionProperties.idl,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: ihi $ $Date: 2007-11-21 15:16:25 $ + * last change: $Author: rt $ $Date: 2008-01-30 08:17:33 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -99,6 +99,22 @@ service JDBCConnectionProperties when asking an "INSERT" statement for the XGeneratedResultSet (future concept) interface. */ [optional, property] string AutoRetrievingStatement; + + /** specifies how the type info returned by XDatabaseMetaData::getTypeInfo() will be modified. +

The sequence contains an even amount of string values. Each pair describes +

  • what should be searched for and
  • +
  • what should be replaced if found.
  • +
    + The syntax is: +

    +

  • COLUMN(2) = -5
  • +
  • COLUMN(6) = PRECISION
  • +

    + COLUMN(X) defines the column which will be compared and the column which will be replaced. In the example above column 2 will be compared + with the value -5. If this is true than column 6 will now return the value PRECISION. +

    + */ + [optional, property] sequence< any > TypeInfoSettings; }; //============================================================================= -- cgit