summaryrefslogtreecommitdiff
path: root/connectivity/inc/connectivity
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-06-06 12:14:38 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-06-06 12:14:38 +0000
commitc43ee106f4f98aa7b15f662450bc8d24f8bdb257 (patch)
tree8f314b3ed3f5c11f2bf0707cc25a778898422587 /connectivity/inc/connectivity
parente28234ab9ecfc129db236d81d7089acf7ab43b8f (diff)
INTEGRATION: CWS dba30c (1.36.10); FILE MERGED
2008/05/08 12:54:45 oj 1.36.10.2: #i64472# use of create pattern 2008/05/06 11:43:09 oj 1.36.10.1: #i64472# change command can also change the name of a column
Diffstat (limited to 'connectivity/inc/connectivity')
-rw-r--r--connectivity/inc/connectivity/dbtools.hxx17
1 files changed, 13 insertions, 4 deletions
diff --git a/connectivity/inc/connectivity/dbtools.hxx b/connectivity/inc/connectivity/dbtools.hxx
index ee620e4cc8..efeb20fe7f 100644
--- a/connectivity/inc/connectivity/dbtools.hxx
+++ b/connectivity/inc/connectivity/dbtools.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: dbtools.hxx,v $
- * $Revision: 1.36 $
+ * $Revision: 1.37 $
*
* This file is part of OpenOffice.org.
*
@@ -600,9 +600,12 @@ namespace dbtools
The descriptor of the new table.
@param _xConnection
The connection.
+ @param _bAddScale
+ The scale will also be added when the value is 0.
*/
::rtl::OUString createStandardCreateStatement( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor,
- const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& _xConnection);
+ const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& _xConnection,
+ const ::rtl::OUString& _sCreatePattern = ::rtl::OUString());
/** creates the standard sql statement for the key part of a create table statement.
@param descriptor
@@ -618,20 +621,26 @@ namespace dbtools
The descriptor of the column.
@param _xConnection
The connection.
+ @param _bAddScale
+ The scale will also be added when the value is 0.
*/
::rtl::OUString createStandardColumnPart( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor,
- const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& _xConnection);
+ const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& _xConnection,
+ const ::rtl::OUString& _sCreatePattern = ::rtl::OUString());
/** creates a SQL CREATE TABLE statement
@param descriptor
The descriptor of the new table.
@param _xConnection
The connection.
+ @param _bAddScale
+ The scale will also be added when the value is 0.
@return
The CREATE TABLE statement.
*/
::rtl::OUString createSqlCreateTableStatement( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor,
- const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& _xConnection);
+ const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& _xConnection,
+ const ::rtl::OUString& _sCreatePattern = ::rtl::OUString());
/** creates a SDBC column with the help of getColumns.
@param _xTable