User: rt Date: 2008-06-06 13:14:41+0000 Modified: dba/connectivity/inc/connectivity/dbtools.hxx
Log: 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 File Changes: Directory: /dba/connectivity/inc/connectivity/ ============================================== File [changed]: dbtools.hxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/inc/connectivity/dbtools.hxx?r1=1.36&r2=1.37 Delta lines: +12 -3 -------------------- --- dbtools.hxx 2008-04-10 07:36:41+0000 1.36 +++ dbtools.hxx 2008-06-06 13:14:38+0000 1.37 @@ -600,9 +600,12 @@ 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 @@ 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
