summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/sdbc
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-01-30 07:17:33 +0000
committerRüdiger Timm <rt@openoffice.org>2008-01-30 07:17:33 +0000
commit3c2450d127fbe38f386f9357e19f3b9aa35f61c6 (patch)
tree415255a51b0bda127003aeda21ce7495b1a40010 /offapi/com/sun/star/sdbc
parentb1c4dfea194c070594ff6f1fcbc3a608cbae5866 (diff)
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)
Diffstat (limited to 'offapi/com/sun/star/sdbc')
-rw-r--r--offapi/com/sun/star/sdbc/JDBCConnectionProperties.idl20
1 files changed, 18 insertions, 2 deletions
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 <member scope="com::sun::star::sdbc">XDatabaseMetaData::getTypeInfo()</member> will be modified.
+ <p>The sequence contains an even amount of string values. Each pair describes
+ <li>what should be searched for and </li>
+ <li>what should be replaced if found.</li>
+ <br>
+ The syntax is:
+ <p>
+ <li>COLUMN(2) = -5</li>
+ <li>COLUMN(6) = PRECISION</li>
+ </p>
+ 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.
+ </p>
+ */
+ [optional, property] sequence< any > TypeInfoSettings;
};
//=============================================================================