Files
libreoffice/dbaccess/source/ui/uno/copytablewizard.cxx

1611 lines
68 KiB
C++
Raw Normal View History

INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
*
* Copyright 2008 by Sun Microsystems, Inc.
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
*
* OpenOffice.org - a multi-platform office productivity suite
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
*
* $RCSfile: copytablewizard.cxx,v $
* $Revision: 1.4 $
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
*
* This file is part of OpenOffice.org.
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
*
************************************************************************/
#include "dbu_reghelper.hxx"
#include "dbu_resource.hrc"
#include "dbu_uno.hrc"
#include "dbustrings.hrc"
#include "moduledbu.hxx"
#include "sqlmessage.hxx"
#include "WCopyTable.hxx"
/** === begin UNO includes === **/
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/sdb/application/XCopyTableWizard.hpp>
#include <com/sun/star/sdb/application/CopyTableContinuation.hpp>
#include <com/sun/star/sdb/application/CopyTableOperation.hpp>
#include <com/sun/star/ucb/AlreadyInitializedException.hpp>
#include <com/sun/star/lang/NotInitializedException.hpp>
#include <com/sun/star/sdbc/XDataSource.hpp>
#include <com/sun/star/sdbc/DataType.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/container/XChild.hpp>
#include <com/sun/star/task/XInteractionHandler.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/sdb/XDocumentDataSource.hpp>
#include <com/sun/star/sdb/XCompletedConnection.hpp>
#include <com/sun/star/sdb/CommandType.hpp>
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
#include <com/sun/star/sdb/XQueriesSupplier.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/sdb/XSingleSelectQueryComposer.hpp>
#include <com/sun/star/sdbc/XParameters.hpp>
#include <com/sun/star/sdbc/XRow.hpp>
2009-11-11 14:01:37 +01:00
#include <com/sun/star/sdbc/XBlob.hpp>
#include <com/sun/star/sdbc/XClob.hpp>
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
#include <com/sun/star/sdbcx/XRowLocate.hpp>
#include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp>
#include <com/sun/star/sdb/SQLContext.hpp>
#include <com/sun/star/sdbc/XDriverManager.hpp>
/** === end UNO includes === **/
#include <comphelper/componentcontext.hxx>
#include <comphelper/interaction.hxx>
#include <comphelper/namedvaluecollection.hxx>
#include <comphelper/proparrhlp.hxx>
#include <connectivity/dbexception.hxx>
#include <connectivity/dbtools.hxx>
#include <cppuhelper/exc_hlp.hxx>
#include <cppuhelper/implbase1.hxx>
#include <rtl/ustrbuf.hxx>
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
#include <rtl/logfile.hxx>
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
#include <svtools/genericunodialog.hxx>
#include <tools/diagnose_ex.h>
#include <unotools/sharedunocomponent.hxx>
#include <vcl/msgbox.hxx>
#include <vcl/waitobj.hxx>
//........................................................................
namespace dbaui
{
//........................................................................
/** === begin UNO using === **/
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::XInterface;
using ::com::sun::star::uno::UNO_QUERY;
using ::com::sun::star::uno::UNO_QUERY_THROW;
using ::com::sun::star::uno::UNO_SET_THROW;
using ::com::sun::star::uno::Exception;
using ::com::sun::star::uno::RuntimeException;
using ::com::sun::star::uno::Any;
using ::com::sun::star::uno::makeAny;
using ::com::sun::star::uno::Sequence;
using ::com::sun::star::beans::XPropertySetInfo;
using ::com::sun::star::lang::XMultiServiceFactory;
using ::com::sun::star::beans::Property;
using ::com::sun::star::sdb::application::XCopyTableWizard;
using ::com::sun::star::sdb::application::XCopyTableListener;
using ::com::sun::star::sdb::application::CopyTableRowEvent;
using ::com::sun::star::beans::Optional;
using ::com::sun::star::lang::IllegalArgumentException;
using ::com::sun::star::ucb::AlreadyInitializedException;
using ::com::sun::star::beans::XPropertySet;
using ::com::sun::star::lang::NotInitializedException;
using ::com::sun::star::lang::XServiceInfo;
using ::com::sun::star::sdbc::XConnection;
using ::com::sun::star::sdbc::XDataSource;
using ::com::sun::star::container::XNameAccess;
using ::com::sun::star::container::XChild;
using ::com::sun::star::task::XInteractionHandler;
using ::com::sun::star::frame::XModel;
using ::com::sun::star::sdb::XDocumentDataSource;
using ::com::sun::star::sdb::XCompletedConnection;
using ::com::sun::star::lang::WrappedTargetException;
using ::com::sun::star::sdbcx::XTablesSupplier;
using ::com::sun::star::sdb::XQueriesSupplier;
using ::com::sun::star::lang::DisposedException;
using ::com::sun::star::sdbc::XPreparedStatement;
using ::com::sun::star::sdb::XSingleSelectQueryComposer;
using ::com::sun::star::sdbc::XDatabaseMetaData;
using ::com::sun::star::sdbcx::XColumnsSupplier;
using ::com::sun::star::sdbc::XParameters;
using ::com::sun::star::sdbc::XResultSet;
using ::com::sun::star::sdbc::XRow;
2009-11-11 14:01:37 +01:00
using ::com::sun::star::sdbc::XBlob;
using ::com::sun::star::sdbc::XClob;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
using ::com::sun::star::sdbcx::XRowLocate;
using ::com::sun::star::sdbc::XResultSetMetaDataSupplier;
using ::com::sun::star::sdbc::XResultSetMetaData;
using ::com::sun::star::sdbc::SQLException;
using ::com::sun::star::sdb::SQLContext;
using ::com::sun::star::sdbc::XDriverManager;
using ::com::sun::star::beans::PropertyValue;
/** === end UNO using === **/
namespace CopyTableOperation = ::com::sun::star::sdb::application::CopyTableOperation;
namespace CopyTableContinuation = ::com::sun::star::sdb::application::CopyTableContinuation;
namespace CommandType = ::com::sun::star::sdb::CommandType;
namespace DataType = ::com::sun::star::sdbc::DataType;
typedef ::utl::SharedUNOComponent< XConnection > SharedConnection;
typedef Reference< XInteractionHandler > InteractionHandler;
//=========================================================================
//= CopyTableWizard
//=========================================================================
typedef ::svt::OGenericUnoDialog CopyTableWizard_DialogBase;
typedef ::cppu::ImplInheritanceHelper1 < CopyTableWizard_DialogBase
, XCopyTableWizard
> CopyTableWizard_Base;
class CopyTableWizard
:public CopyTableWizard_Base
,public ::comphelper::OPropertyArrayUsageHelper< CopyTableWizard >
{
public:
// XServiceInfo
virtual ::rtl::OUString SAL_CALL getImplementationName() throw(RuntimeException);
virtual ::comphelper::StringSequence SAL_CALL getSupportedServiceNames() throw(RuntimeException);
// XServiceInfo - static methods
static Sequence< ::rtl::OUString > getSupportedServiceNames_Static(void) throw( RuntimeException );
static ::rtl::OUString getImplementationName_Static(void) throw( RuntimeException );
static Reference< XInterface > Create( const Reference< XMultiServiceFactory >& );
// XCopyTableWizard
virtual ::sal_Int16 SAL_CALL getOperation() throw (RuntimeException);
virtual void SAL_CALL setOperation( ::sal_Int16 _operation ) throw (IllegalArgumentException, RuntimeException);
virtual ::rtl::OUString SAL_CALL getDestinationTableName() throw (RuntimeException);
virtual void SAL_CALL setDestinationTableName( const ::rtl::OUString& _destinationTableName ) throw (RuntimeException);
virtual Optional< ::rtl::OUString > SAL_CALL getCreatePrimaryKey() throw (RuntimeException);
virtual void SAL_CALL setCreatePrimaryKey( const Optional< ::rtl::OUString >& _newPrimaryKey ) throw (IllegalArgumentException, RuntimeException);
CWS-TOOLING: integrate CWS dba32d 2009-06-30 08:58:13 +0200 fs r273488 : merging latest changes from CWS dba32c 2009-06-29 11:40:42 +0200 oj r273459 : #i101652# fix token handling 2009-06-26 09:27:30 +0200 oj r273394 : #i101994# wrong condition checked 2009-06-22 12:09:04 +0200 fs r273210 : merging latest changes from CWS dba32c 2009-06-18 11:01:06 +0200 fs r273108 : merge latest changes from CWS dba32c 2009-06-17 14:19:33 +0200 oj r273072 : handle images at the correct position 2009-06-17 13:37:19 +0200 oj r273067 : compile error 2009-06-17 13:35:58 +0200 oj r273066 : #i102201# handle images 2009-06-17 13:27:21 +0200 oj r273065 : #i80917# disable checkbox for internal copy 2009-06-17 13:25:38 +0200 oj r273064 : #i80917# disable checkbox for internal copy 2009-06-15 12:59:16 +0200 fs r272978 : merging latest changes from CWS dba32c 2009-06-15 10:45:58 +0200 fs r272967 : CWS-TOOLING: rebase CWS dba32d to trunk@272827 (milestone: DEV300:m50) 2009-06-15 08:41:05 +0200 fs r272960 : merging changes from CWS dba32c (resulting from rebasing dba32c to m50) 2009-06-03 12:22:32 +0200 fs r272554 : merging latest changes from CWS dba32c 2009-06-03 11:11:27 +0200 fs r272549 : #i100818# special treatment for DataAwareness not needed anymore 2009-06-03 11:07:01 +0200 fs r272548 : #i10000# removed package declaration 2009-06-03 09:21:03 +0200 oj r272537 : #i93465# save window states 2009-06-03 08:56:25 +0200 oj r272535 : solve compiler warnings 2009-06-03 08:55:02 +0200 oj r272534 : #i102295# export shapes i the first cell 2009-06-03 07:35:18 +0200 oj r272533 : #i101994# check for - and + prefix 2009-06-03 06:51:38 +0200 oj r272531 : #i101463# use uncomposed table name 2009-06-03 06:33:06 +0200 oj r272530 : #i102019# word corrected 2009-06-02 14:58:28 +0200 fs r272507 : #i102443# call initializeParser from LoadFinished 2009-06-02 14:30:10 +0200 oj r272504 : #i102019# introduce static ints 2009-06-02 13:51:02 +0200 oj r272501 : #i102439# wrong method used 2009-06-02 13:44:09 +0200 fs r272500 : #i102440# when tampering with Order/GroupBy, reset the cached columns 2009-06-02 10:53:01 +0200 fs r272487 : #i102234# preserve the original filter when using a 0=1 filter 2009-06-02 10:21:21 +0200 oj r272486 : #i100535# handle time values as float 2009-06-02 10:19:07 +0200 fs r272485 : merging latest changes from CWS dba32c 2009-05-29 16:00:15 +0200 fs r272467 : merging latest changes from dba32c 2009-05-29 15:31:25 +0200 fs r272462 : merging latest changes from dba32c 2009-05-29 10:58:03 +0200 oj r272438 : #101135# export embedded-text 2009-05-29 08:17:57 +0200 oj r272431 : #i80917# make attribute not optional 2009-05-29 08:17:32 +0200 oj r272430 : remoe unused token 2009-05-29 07:17:15 +0200 oj r272429 : #i80917# make attribute not optional 2009-05-28 12:48:14 +0200 oj r272401 : #i102201# insert images in context menu 2009-05-28 12:47:44 +0200 oj r272400 : #i80917# add new attribute to handle first line 2009-05-28 12:16:12 +0200 oj r272397 : #i96134# add / to path when it doesn't exist 2009-05-28 12:11:08 +0200 oj r272390 : #i80917# add new attribute to handle first line 2009-05-28 11:33:35 +0200 oj r272388 : #i101652# add new checkbox to handle header line as column names 2009-05-28 11:30:15 +0200 oj r272387 : #i101652# add localize 2009-05-28 11:15:53 +0200 oj r272386 : merge from dba32c 2009-05-28 09:08:25 +0200 fs r272378 : merged a build fix from CWS dba32c
2009-07-06 09:00:26 +00:00
virtual sal_Bool SAL_CALL getUseHeaderLineAsColumnNames() throw (RuntimeException);
virtual void SAL_CALL setUseHeaderLineAsColumnNames( sal_Bool _bUseHeaderLineAsColumnNames ) throw (RuntimeException);
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
virtual void SAL_CALL addCopyTableListener( const Reference< XCopyTableListener >& Listener ) throw (RuntimeException);
virtual void SAL_CALL removeCopyTableListener( const Reference< XCopyTableListener >& Listener ) throw (RuntimeException);
// XCopyTableWizard::XExecutableDialog
virtual void SAL_CALL setTitle( const ::rtl::OUString& aTitle ) throw (RuntimeException);
virtual ::sal_Int16 SAL_CALL execute( ) throw (RuntimeException);
// XInitialization
virtual void SAL_CALL initialize( const Sequence< Any >& aArguments ) throw (Exception, RuntimeException);
// XPropertySet
virtual Reference< XPropertySetInfo > SAL_CALL getPropertySetInfo() throw(RuntimeException);
virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper();
// OPropertyArrayUsageHelper
virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const;
public:
::osl::Mutex& getMutex() { return m_aMutex; }
bool isInitialized() const { return m_xSourceConnection.is() && m_pSourceObject.get() && m_xDestConnection.is(); }
protected:
CopyTableWizard( const Reference< XMultiServiceFactory >& _rxORB );
~CopyTableWizard();
// OGenericUnoDialog overridables
virtual Dialog* createDialog( Window* _pParent );
virtual void executedDialog( sal_Int16 _nExecutionResult );
private:
/// ensures our current attribute values are reflected in the dialog
void impl_attributesToDialog_nothrow( OCopyTableWizard& _rDialog ) const;
/// ensures the current dialog settings are reflected in our attributes
void impl_dialogToAttributes_nothrow( const OCopyTableWizard& _rDialog );
/** returns our typed dialog
@throws ::com::sun::star::uno::RuntimeException
if we don't have a dialog at the moment the method is called
*/
OCopyTableWizard&
impl_getDialog_throw();
/** returns our typed dialog
@throws ::com::sun::star::uno::RuntimeException
if we don't have a dialog at the moment the method is called
*/
const OCopyTableWizard&
impl_getDialog_throw() const;
/** ensures the given argument sequence contains a valid data access descriptor at the given position
@param _rAllArgs
the arguments as passed to ->initialize
@param _nArgPos
the position within ->_rAllArgs which contains the data access descriptor
@param _out_rxConnection
will, upon successful return, contain the connection for the data source
@param _out_rxDocInteractionHandler
will, upon successful return, contain the interaction handler which could
be deduced from database document described by the descriptor, if any.
(It is possible that the descriptor does not allow to deduce a database document,
in which case <code>_out_rxDocInteractionHandler</code> will be <NULL/>.)
@return the data access descriptor
*/
Reference< XPropertySet >
impl_ensureDataAccessDescriptor_throw(
const Sequence< Any >& _rAllArgs,
const sal_Int16 _nArgPos,
SharedConnection& _out_rxConnection,
InteractionHandler& _out_rxDocInteractionHandler
) const;
/** extracts the source object (table or query) described by the given descriptor,
relative to m_xSourceConnection
*/
::std::auto_ptr< ICopyTableSourceObject >
impl_extractSourceObject_throw(
const Reference< XPropertySet >& _rxDescriptor,
sal_Int32& _out_rCommandType
) const;
/** checks whether the given copy source descriptor contains settings which are not
supported (yet)
Throws an IllegalArgumentException if the descriptor contains a valid setting, which is
not yet supported.
*/
void impl_checkForUnsupportedSettings_throw(
const Reference< XPropertySet >& _rxSourceDescriptor ) const;
/** obtaines the connection described by the given data access descriptor
If needed and possible, the method will ask the user, using the interaction
handler associated with the database described by the descriptor.
All errors are handled with the InteractionHandler associated with the data source,
if there is one. Else, they will be silenced (but asserted in non-product builds).
@param _rxDataSourceDescriptor
the data access descriptor describing the data source whose connection
should be obtained. Must not be <NULL/>.
@param _out_rxDocInteractionHandler
the interaction handler which could be deduced from the descriptor
@throws RuntimeException
if anything goes seriously wrong.
*/
SharedConnection
impl_extractConnection_throw(
const Reference< XPropertySet >& _rxDataSourceDescriptor,
InteractionHandler& _out_rxDocInteractionHandler
) const;
/** actually copies the table
This method is called after the dialog has been successfully executed.
*/
void impl_doCopy_nothrow();
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
/** creates the INSERT INTO statement
@param _xTable The destination table.
*/
::rtl::OUString impl_getSelectStatement_nothrow(const Reference< XPropertySet >& _xTable);
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
/** creates the statement which, when executed, will produce the source data to copy
If the source object refers to a query which contains parameters, those parameters
are filled in, using an interaction handler.
*/
::utl::SharedUNOComponent< XPreparedStatement >
impl_createSourceStatement_throw() const;
/** copies the data rows from the given source result set to the given destination table
*/
void impl_copyRows_throw(
const Reference< XResultSet >& _rxSourceResultSet,
const Reference< XPropertySet >& _rxDestTable
);
/** processes an error which occured during copying
First, all listeners are ask. If a listener tells to cancel or continue copying, this is reported to the
method's caller. If a listener tells to ask the user, this is done, and the user's decision is
reported to the method's caller.
@return
<TRUE/> if and only if copying should be continued.
*/
bool impl_processCopyError_nothrow(
const CopyTableRowEvent& _rEvent );
private:
::comphelper::ComponentContext m_aContext;
// attributes
sal_Int16 m_nOperation;
::rtl::OUString m_sDestinationTable;
Optional< ::rtl::OUString > m_aPrimaryKeyName;
CWS-TOOLING: integrate CWS dba32d 2009-06-30 08:58:13 +0200 fs r273488 : merging latest changes from CWS dba32c 2009-06-29 11:40:42 +0200 oj r273459 : #i101652# fix token handling 2009-06-26 09:27:30 +0200 oj r273394 : #i101994# wrong condition checked 2009-06-22 12:09:04 +0200 fs r273210 : merging latest changes from CWS dba32c 2009-06-18 11:01:06 +0200 fs r273108 : merge latest changes from CWS dba32c 2009-06-17 14:19:33 +0200 oj r273072 : handle images at the correct position 2009-06-17 13:37:19 +0200 oj r273067 : compile error 2009-06-17 13:35:58 +0200 oj r273066 : #i102201# handle images 2009-06-17 13:27:21 +0200 oj r273065 : #i80917# disable checkbox for internal copy 2009-06-17 13:25:38 +0200 oj r273064 : #i80917# disable checkbox for internal copy 2009-06-15 12:59:16 +0200 fs r272978 : merging latest changes from CWS dba32c 2009-06-15 10:45:58 +0200 fs r272967 : CWS-TOOLING: rebase CWS dba32d to trunk@272827 (milestone: DEV300:m50) 2009-06-15 08:41:05 +0200 fs r272960 : merging changes from CWS dba32c (resulting from rebasing dba32c to m50) 2009-06-03 12:22:32 +0200 fs r272554 : merging latest changes from CWS dba32c 2009-06-03 11:11:27 +0200 fs r272549 : #i100818# special treatment for DataAwareness not needed anymore 2009-06-03 11:07:01 +0200 fs r272548 : #i10000# removed package declaration 2009-06-03 09:21:03 +0200 oj r272537 : #i93465# save window states 2009-06-03 08:56:25 +0200 oj r272535 : solve compiler warnings 2009-06-03 08:55:02 +0200 oj r272534 : #i102295# export shapes i the first cell 2009-06-03 07:35:18 +0200 oj r272533 : #i101994# check for - and + prefix 2009-06-03 06:51:38 +0200 oj r272531 : #i101463# use uncomposed table name 2009-06-03 06:33:06 +0200 oj r272530 : #i102019# word corrected 2009-06-02 14:58:28 +0200 fs r272507 : #i102443# call initializeParser from LoadFinished 2009-06-02 14:30:10 +0200 oj r272504 : #i102019# introduce static ints 2009-06-02 13:51:02 +0200 oj r272501 : #i102439# wrong method used 2009-06-02 13:44:09 +0200 fs r272500 : #i102440# when tampering with Order/GroupBy, reset the cached columns 2009-06-02 10:53:01 +0200 fs r272487 : #i102234# preserve the original filter when using a 0=1 filter 2009-06-02 10:21:21 +0200 oj r272486 : #i100535# handle time values as float 2009-06-02 10:19:07 +0200 fs r272485 : merging latest changes from CWS dba32c 2009-05-29 16:00:15 +0200 fs r272467 : merging latest changes from dba32c 2009-05-29 15:31:25 +0200 fs r272462 : merging latest changes from dba32c 2009-05-29 10:58:03 +0200 oj r272438 : #101135# export embedded-text 2009-05-29 08:17:57 +0200 oj r272431 : #i80917# make attribute not optional 2009-05-29 08:17:32 +0200 oj r272430 : remoe unused token 2009-05-29 07:17:15 +0200 oj r272429 : #i80917# make attribute not optional 2009-05-28 12:48:14 +0200 oj r272401 : #i102201# insert images in context menu 2009-05-28 12:47:44 +0200 oj r272400 : #i80917# add new attribute to handle first line 2009-05-28 12:16:12 +0200 oj r272397 : #i96134# add / to path when it doesn't exist 2009-05-28 12:11:08 +0200 oj r272390 : #i80917# add new attribute to handle first line 2009-05-28 11:33:35 +0200 oj r272388 : #i101652# add new checkbox to handle header line as column names 2009-05-28 11:30:15 +0200 oj r272387 : #i101652# add localize 2009-05-28 11:15:53 +0200 oj r272386 : merge from dba32c 2009-05-28 09:08:25 +0200 fs r272378 : merged a build fix from CWS dba32c
2009-07-06 09:00:26 +00:00
sal_Bool m_bUseHeaderLineAsColumnNames;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
// source
SharedConnection m_xSourceConnection;
sal_Int32 m_nCommandType;
::std::auto_ptr< ICopyTableSourceObject >
m_pSourceObject;
Sequence< Any > m_aSourceSelection;
bool m_bSourceSelectionBookmarks;
// destination
SharedConnection m_xDestConnection;
// other
InteractionHandler m_xInteractionHandler;
::cppu::OInterfaceContainerHelper
m_aCopyTableListeners;
sal_Int16 m_nOverrideExecutionResult;
};
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//=========================================================================
//= MethodGuard
//=========================================================================
class CopyTableAccessGuard
{
public:
CopyTableAccessGuard( CopyTableWizard& _rWizard )
:m_rWizard( _rWizard )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
m_rWizard.getMutex().acquire();
if ( !m_rWizard.isInitialized() )
throw NotInitializedException();
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
~CopyTableAccessGuard()
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
m_rWizard.getMutex().release();
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
private:
CopyTableWizard& m_rWizard;
};
//=========================================================================
//-------------------------------------------------------------------------
CopyTableWizard::CopyTableWizard( const Reference< XMultiServiceFactory >& _rxORB )
:CopyTableWizard_Base( _rxORB )
,m_aContext( _rxORB )
,m_nOperation( CopyTableOperation::CopyDefinitionAndData )
,m_sDestinationTable()
,m_aPrimaryKeyName( sal_False, ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ID" ) ))
CWS-TOOLING: integrate CWS dba32d 2009-06-30 08:58:13 +0200 fs r273488 : merging latest changes from CWS dba32c 2009-06-29 11:40:42 +0200 oj r273459 : #i101652# fix token handling 2009-06-26 09:27:30 +0200 oj r273394 : #i101994# wrong condition checked 2009-06-22 12:09:04 +0200 fs r273210 : merging latest changes from CWS dba32c 2009-06-18 11:01:06 +0200 fs r273108 : merge latest changes from CWS dba32c 2009-06-17 14:19:33 +0200 oj r273072 : handle images at the correct position 2009-06-17 13:37:19 +0200 oj r273067 : compile error 2009-06-17 13:35:58 +0200 oj r273066 : #i102201# handle images 2009-06-17 13:27:21 +0200 oj r273065 : #i80917# disable checkbox for internal copy 2009-06-17 13:25:38 +0200 oj r273064 : #i80917# disable checkbox for internal copy 2009-06-15 12:59:16 +0200 fs r272978 : merging latest changes from CWS dba32c 2009-06-15 10:45:58 +0200 fs r272967 : CWS-TOOLING: rebase CWS dba32d to trunk@272827 (milestone: DEV300:m50) 2009-06-15 08:41:05 +0200 fs r272960 : merging changes from CWS dba32c (resulting from rebasing dba32c to m50) 2009-06-03 12:22:32 +0200 fs r272554 : merging latest changes from CWS dba32c 2009-06-03 11:11:27 +0200 fs r272549 : #i100818# special treatment for DataAwareness not needed anymore 2009-06-03 11:07:01 +0200 fs r272548 : #i10000# removed package declaration 2009-06-03 09:21:03 +0200 oj r272537 : #i93465# save window states 2009-06-03 08:56:25 +0200 oj r272535 : solve compiler warnings 2009-06-03 08:55:02 +0200 oj r272534 : #i102295# export shapes i the first cell 2009-06-03 07:35:18 +0200 oj r272533 : #i101994# check for - and + prefix 2009-06-03 06:51:38 +0200 oj r272531 : #i101463# use uncomposed table name 2009-06-03 06:33:06 +0200 oj r272530 : #i102019# word corrected 2009-06-02 14:58:28 +0200 fs r272507 : #i102443# call initializeParser from LoadFinished 2009-06-02 14:30:10 +0200 oj r272504 : #i102019# introduce static ints 2009-06-02 13:51:02 +0200 oj r272501 : #i102439# wrong method used 2009-06-02 13:44:09 +0200 fs r272500 : #i102440# when tampering with Order/GroupBy, reset the cached columns 2009-06-02 10:53:01 +0200 fs r272487 : #i102234# preserve the original filter when using a 0=1 filter 2009-06-02 10:21:21 +0200 oj r272486 : #i100535# handle time values as float 2009-06-02 10:19:07 +0200 fs r272485 : merging latest changes from CWS dba32c 2009-05-29 16:00:15 +0200 fs r272467 : merging latest changes from dba32c 2009-05-29 15:31:25 +0200 fs r272462 : merging latest changes from dba32c 2009-05-29 10:58:03 +0200 oj r272438 : #101135# export embedded-text 2009-05-29 08:17:57 +0200 oj r272431 : #i80917# make attribute not optional 2009-05-29 08:17:32 +0200 oj r272430 : remoe unused token 2009-05-29 07:17:15 +0200 oj r272429 : #i80917# make attribute not optional 2009-05-28 12:48:14 +0200 oj r272401 : #i102201# insert images in context menu 2009-05-28 12:47:44 +0200 oj r272400 : #i80917# add new attribute to handle first line 2009-05-28 12:16:12 +0200 oj r272397 : #i96134# add / to path when it doesn't exist 2009-05-28 12:11:08 +0200 oj r272390 : #i80917# add new attribute to handle first line 2009-05-28 11:33:35 +0200 oj r272388 : #i101652# add new checkbox to handle header line as column names 2009-05-28 11:30:15 +0200 oj r272387 : #i101652# add localize 2009-05-28 11:15:53 +0200 oj r272386 : merge from dba32c 2009-05-28 09:08:25 +0200 fs r272378 : merged a build fix from CWS dba32c
2009-07-06 09:00:26 +00:00
,m_bUseHeaderLineAsColumnNames( sal_True )
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
,m_xSourceConnection()
,m_nCommandType( CommandType::COMMAND )
,m_pSourceObject()
,m_aSourceSelection()
,m_bSourceSelectionBookmarks( true )
,m_xDestConnection()
,m_aCopyTableListeners( m_aMutex )
,m_nOverrideExecutionResult( -1 )
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::CopyTableWizard" );
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//-------------------------------------------------------------------------
CopyTableWizard::~CopyTableWizard()
{
acquire();
// protect some members whose dtor might potentially throw
try { m_xSourceConnection.clear(); }
catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); }
try { m_xDestConnection.clear(); }
catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); }
// TODO: shouldn't we have explicit disposal support? If a listener is registered
// at our instance, and perhaps holds this our instance by a hard ref, then we'll never
// destroyed.
// However, adding XComponent support to the GenericUNODialog probably requires
// some thinking - would it break existing clients which do not call a dispose, then?
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//-------------------------------------------------------------------------
Reference< XInterface > CopyTableWizard::Create( const Reference< XMultiServiceFactory >& _rxFactory )
{
return *( new CopyTableWizard( _rxFactory ) );
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//-------------------------------------------------------------------------
::rtl::OUString SAL_CALL CopyTableWizard::getImplementationName() throw(RuntimeException)
{
return getImplementationName_Static();
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//-------------------------------------------------------------------------
::rtl::OUString CopyTableWizard::getImplementationName_Static() throw(RuntimeException)
{
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "org.openoffice.comp.dbu.CopyTableWizard" ) );
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//-------------------------------------------------------------------------
::comphelper::StringSequence SAL_CALL CopyTableWizard::getSupportedServiceNames() throw(RuntimeException)
{
return getSupportedServiceNames_Static();
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//-------------------------------------------------------------------------
::comphelper::StringSequence CopyTableWizard::getSupportedServiceNames_Static() throw(RuntimeException)
{
::comphelper::StringSequence aSupported(1);
aSupported.getArray()[0] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.sdb.application.CopyTableWizard" ) );
return aSupported;
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//-------------------------------------------------------------------------
Reference< XPropertySetInfo > SAL_CALL CopyTableWizard::getPropertySetInfo() throw(RuntimeException)
{
Reference< XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//--------------------------------------------------------------------
::sal_Int16 SAL_CALL CopyTableWizard::getOperation() throw (RuntimeException)
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::getOperation" );
CopyTableAccessGuard aGuard( *this );
return m_nOperation;
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//--------------------------------------------------------------------
void SAL_CALL CopyTableWizard::setOperation( ::sal_Int16 _operation ) throw (IllegalArgumentException, RuntimeException)
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::setOperation" );
CopyTableAccessGuard aGuard( *this );
if ( ( _operation != CopyTableOperation::CopyDefinitionAndData )
&& ( _operation != CopyTableOperation::CopyDefinitionOnly )
&& ( _operation != CopyTableOperation::CreateAsView )
&& ( _operation != CopyTableOperation::AppendData )
)
throw IllegalArgumentException( ::rtl::OUString(), *this, 1 );
if ( ( _operation == CopyTableOperation::CreateAsView )
&& !OCopyTableWizard::supportsViews( m_xDestConnection )
)
throw IllegalArgumentException(
String( ModuleRes( STR_CTW_NO_VIEWS_SUPPORT ) ),
*this,
1
);
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
m_nOperation = _operation;
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//--------------------------------------------------------------------
::rtl::OUString SAL_CALL CopyTableWizard::getDestinationTableName() throw (RuntimeException)
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::getDestinationTableName" );
CopyTableAccessGuard aGuard( *this );
return m_sDestinationTable;
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//--------------------------------------------------------------------
void SAL_CALL CopyTableWizard::setDestinationTableName( const ::rtl::OUString& _destinationTableName ) throw (RuntimeException)
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::setDestinationTableName" );
CopyTableAccessGuard aGuard( *this );
m_sDestinationTable = _destinationTableName;
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//--------------------------------------------------------------------
Optional< ::rtl::OUString > SAL_CALL CopyTableWizard::getCreatePrimaryKey() throw (RuntimeException)
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::getCreatePrimaryKey" );
CopyTableAccessGuard aGuard( *this );
return m_aPrimaryKeyName;
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//--------------------------------------------------------------------
void SAL_CALL CopyTableWizard::setCreatePrimaryKey( const Optional< ::rtl::OUString >& _newPrimaryKey ) throw (IllegalArgumentException, RuntimeException)
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::setCreatePrimaryKey" );
CopyTableAccessGuard aGuard( *this );
if ( _newPrimaryKey.IsPresent && !OCopyTableWizard::supportsPrimaryKey( m_xDestConnection ) )
throw IllegalArgumentException(
String( ModuleRes( STR_CTW_NO_PRIMARY_KEY_SUPPORT ) ),
*this,
1
);
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
m_aPrimaryKeyName = _newPrimaryKey;
}
CWS-TOOLING: integrate CWS dba32d 2009-06-30 08:58:13 +0200 fs r273488 : merging latest changes from CWS dba32c 2009-06-29 11:40:42 +0200 oj r273459 : #i101652# fix token handling 2009-06-26 09:27:30 +0200 oj r273394 : #i101994# wrong condition checked 2009-06-22 12:09:04 +0200 fs r273210 : merging latest changes from CWS dba32c 2009-06-18 11:01:06 +0200 fs r273108 : merge latest changes from CWS dba32c 2009-06-17 14:19:33 +0200 oj r273072 : handle images at the correct position 2009-06-17 13:37:19 +0200 oj r273067 : compile error 2009-06-17 13:35:58 +0200 oj r273066 : #i102201# handle images 2009-06-17 13:27:21 +0200 oj r273065 : #i80917# disable checkbox for internal copy 2009-06-17 13:25:38 +0200 oj r273064 : #i80917# disable checkbox for internal copy 2009-06-15 12:59:16 +0200 fs r272978 : merging latest changes from CWS dba32c 2009-06-15 10:45:58 +0200 fs r272967 : CWS-TOOLING: rebase CWS dba32d to trunk@272827 (milestone: DEV300:m50) 2009-06-15 08:41:05 +0200 fs r272960 : merging changes from CWS dba32c (resulting from rebasing dba32c to m50) 2009-06-03 12:22:32 +0200 fs r272554 : merging latest changes from CWS dba32c 2009-06-03 11:11:27 +0200 fs r272549 : #i100818# special treatment for DataAwareness not needed anymore 2009-06-03 11:07:01 +0200 fs r272548 : #i10000# removed package declaration 2009-06-03 09:21:03 +0200 oj r272537 : #i93465# save window states 2009-06-03 08:56:25 +0200 oj r272535 : solve compiler warnings 2009-06-03 08:55:02 +0200 oj r272534 : #i102295# export shapes i the first cell 2009-06-03 07:35:18 +0200 oj r272533 : #i101994# check for - and + prefix 2009-06-03 06:51:38 +0200 oj r272531 : #i101463# use uncomposed table name 2009-06-03 06:33:06 +0200 oj r272530 : #i102019# word corrected 2009-06-02 14:58:28 +0200 fs r272507 : #i102443# call initializeParser from LoadFinished 2009-06-02 14:30:10 +0200 oj r272504 : #i102019# introduce static ints 2009-06-02 13:51:02 +0200 oj r272501 : #i102439# wrong method used 2009-06-02 13:44:09 +0200 fs r272500 : #i102440# when tampering with Order/GroupBy, reset the cached columns 2009-06-02 10:53:01 +0200 fs r272487 : #i102234# preserve the original filter when using a 0=1 filter 2009-06-02 10:21:21 +0200 oj r272486 : #i100535# handle time values as float 2009-06-02 10:19:07 +0200 fs r272485 : merging latest changes from CWS dba32c 2009-05-29 16:00:15 +0200 fs r272467 : merging latest changes from dba32c 2009-05-29 15:31:25 +0200 fs r272462 : merging latest changes from dba32c 2009-05-29 10:58:03 +0200 oj r272438 : #101135# export embedded-text 2009-05-29 08:17:57 +0200 oj r272431 : #i80917# make attribute not optional 2009-05-29 08:17:32 +0200 oj r272430 : remoe unused token 2009-05-29 07:17:15 +0200 oj r272429 : #i80917# make attribute not optional 2009-05-28 12:48:14 +0200 oj r272401 : #i102201# insert images in context menu 2009-05-28 12:47:44 +0200 oj r272400 : #i80917# add new attribute to handle first line 2009-05-28 12:16:12 +0200 oj r272397 : #i96134# add / to path when it doesn't exist 2009-05-28 12:11:08 +0200 oj r272390 : #i80917# add new attribute to handle first line 2009-05-28 11:33:35 +0200 oj r272388 : #i101652# add new checkbox to handle header line as column names 2009-05-28 11:30:15 +0200 oj r272387 : #i101652# add localize 2009-05-28 11:15:53 +0200 oj r272386 : merge from dba32c 2009-05-28 09:08:25 +0200 fs r272378 : merged a build fix from CWS dba32c
2009-07-06 09:00:26 +00:00
// -----------------------------------------------------------------------------
sal_Bool SAL_CALL CopyTableWizard::getUseHeaderLineAsColumnNames() throw (RuntimeException)
{
CopyTableAccessGuard aGuard( *this );
return m_bUseHeaderLineAsColumnNames;
}
// -----------------------------------------------------------------------------
void SAL_CALL CopyTableWizard::setUseHeaderLineAsColumnNames( sal_Bool _bUseHeaderLineAsColumnNames ) throw (RuntimeException)
{
CopyTableAccessGuard aGuard( *this );
m_bUseHeaderLineAsColumnNames = _bUseHeaderLineAsColumnNames;
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//--------------------------------------------------------------------
void SAL_CALL CopyTableWizard::addCopyTableListener( const Reference< XCopyTableListener >& _rxListener ) throw (RuntimeException)
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::addCopyTableListener" );
CopyTableAccessGuard aGuard( *this );
if ( _rxListener.is() )
m_aCopyTableListeners.addInterface( _rxListener );
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//--------------------------------------------------------------------
void SAL_CALL CopyTableWizard::removeCopyTableListener( const Reference< XCopyTableListener >& _rxListener ) throw (RuntimeException)
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::removeCopyTableListener" );
CopyTableAccessGuard aGuard( *this );
if ( _rxListener.is() )
m_aCopyTableListeners.removeInterface( _rxListener );
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//--------------------------------------------------------------------
void SAL_CALL CopyTableWizard::setTitle( const ::rtl::OUString& _rTitle ) throw (RuntimeException)
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::setTitle" );
CopyTableAccessGuard aGuard( *this );
CopyTableWizard_DialogBase::setTitle( _rTitle );
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//--------------------------------------------------------------------
::sal_Int16 SAL_CALL CopyTableWizard::execute( ) throw (RuntimeException)
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::execute" );
CopyTableAccessGuard aGuard( *this );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
m_nOverrideExecutionResult = -1;
sal_Int16 nExecutionResult = CopyTableWizard_DialogBase::execute();
if ( m_nOverrideExecutionResult )
nExecutionResult = m_nOverrideExecutionResult;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
return nExecutionResult;
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//-------------------------------------------------------------------------
OCopyTableWizard& CopyTableWizard::impl_getDialog_throw()
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::impl_getDialog_throw" );
OCopyTableWizard* pWizard = dynamic_cast< OCopyTableWizard* >( m_pDialog );
if ( !pWizard )
throw DisposedException( ::rtl::OUString(), *this );
return *pWizard;
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//-------------------------------------------------------------------------
const OCopyTableWizard& CopyTableWizard::impl_getDialog_throw() const
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::impl_getDialog_throw" );
const OCopyTableWizard* pWizard = dynamic_cast< const OCopyTableWizard* >( m_pDialog );
if ( !pWizard )
throw DisposedException( ::rtl::OUString(), *const_cast< CopyTableWizard* >( this ) );
return *pWizard;
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//-------------------------------------------------------------------------
void CopyTableWizard::impl_attributesToDialog_nothrow( OCopyTableWizard& _rDialog ) const
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::impl_attributesToDialog_nothrow" );
// primary key column
_rDialog.setCreatePrimaryKey( m_aPrimaryKeyName.IsPresent, m_aPrimaryKeyName.Value );
CWS-TOOLING: integrate CWS dba32d 2009-06-30 08:58:13 +0200 fs r273488 : merging latest changes from CWS dba32c 2009-06-29 11:40:42 +0200 oj r273459 : #i101652# fix token handling 2009-06-26 09:27:30 +0200 oj r273394 : #i101994# wrong condition checked 2009-06-22 12:09:04 +0200 fs r273210 : merging latest changes from CWS dba32c 2009-06-18 11:01:06 +0200 fs r273108 : merge latest changes from CWS dba32c 2009-06-17 14:19:33 +0200 oj r273072 : handle images at the correct position 2009-06-17 13:37:19 +0200 oj r273067 : compile error 2009-06-17 13:35:58 +0200 oj r273066 : #i102201# handle images 2009-06-17 13:27:21 +0200 oj r273065 : #i80917# disable checkbox for internal copy 2009-06-17 13:25:38 +0200 oj r273064 : #i80917# disable checkbox for internal copy 2009-06-15 12:59:16 +0200 fs r272978 : merging latest changes from CWS dba32c 2009-06-15 10:45:58 +0200 fs r272967 : CWS-TOOLING: rebase CWS dba32d to trunk@272827 (milestone: DEV300:m50) 2009-06-15 08:41:05 +0200 fs r272960 : merging changes from CWS dba32c (resulting from rebasing dba32c to m50) 2009-06-03 12:22:32 +0200 fs r272554 : merging latest changes from CWS dba32c 2009-06-03 11:11:27 +0200 fs r272549 : #i100818# special treatment for DataAwareness not needed anymore 2009-06-03 11:07:01 +0200 fs r272548 : #i10000# removed package declaration 2009-06-03 09:21:03 +0200 oj r272537 : #i93465# save window states 2009-06-03 08:56:25 +0200 oj r272535 : solve compiler warnings 2009-06-03 08:55:02 +0200 oj r272534 : #i102295# export shapes i the first cell 2009-06-03 07:35:18 +0200 oj r272533 : #i101994# check for - and + prefix 2009-06-03 06:51:38 +0200 oj r272531 : #i101463# use uncomposed table name 2009-06-03 06:33:06 +0200 oj r272530 : #i102019# word corrected 2009-06-02 14:58:28 +0200 fs r272507 : #i102443# call initializeParser from LoadFinished 2009-06-02 14:30:10 +0200 oj r272504 : #i102019# introduce static ints 2009-06-02 13:51:02 +0200 oj r272501 : #i102439# wrong method used 2009-06-02 13:44:09 +0200 fs r272500 : #i102440# when tampering with Order/GroupBy, reset the cached columns 2009-06-02 10:53:01 +0200 fs r272487 : #i102234# preserve the original filter when using a 0=1 filter 2009-06-02 10:21:21 +0200 oj r272486 : #i100535# handle time values as float 2009-06-02 10:19:07 +0200 fs r272485 : merging latest changes from CWS dba32c 2009-05-29 16:00:15 +0200 fs r272467 : merging latest changes from dba32c 2009-05-29 15:31:25 +0200 fs r272462 : merging latest changes from dba32c 2009-05-29 10:58:03 +0200 oj r272438 : #101135# export embedded-text 2009-05-29 08:17:57 +0200 oj r272431 : #i80917# make attribute not optional 2009-05-29 08:17:32 +0200 oj r272430 : remoe unused token 2009-05-29 07:17:15 +0200 oj r272429 : #i80917# make attribute not optional 2009-05-28 12:48:14 +0200 oj r272401 : #i102201# insert images in context menu 2009-05-28 12:47:44 +0200 oj r272400 : #i80917# add new attribute to handle first line 2009-05-28 12:16:12 +0200 oj r272397 : #i96134# add / to path when it doesn't exist 2009-05-28 12:11:08 +0200 oj r272390 : #i80917# add new attribute to handle first line 2009-05-28 11:33:35 +0200 oj r272388 : #i101652# add new checkbox to handle header line as column names 2009-05-28 11:30:15 +0200 oj r272387 : #i101652# add localize 2009-05-28 11:15:53 +0200 oj r272386 : merge from dba32c 2009-05-28 09:08:25 +0200 fs r272378 : merged a build fix from CWS dba32c
2009-07-06 09:00:26 +00:00
_rDialog.setUseHeaderLine(m_bUseHeaderLineAsColumnNames);
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
// everything else was passed at construction time already
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//-------------------------------------------------------------------------
void CopyTableWizard::impl_dialogToAttributes_nothrow( const OCopyTableWizard& _rDialog )
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::impl_dialogToAttributes_nothrow" );
m_aPrimaryKeyName.IsPresent = _rDialog.shouldCreatePrimaryKey();
if ( m_aPrimaryKeyName.IsPresent )
m_aPrimaryKeyName.Value = _rDialog.getPrimaryKeyName();
else
m_aPrimaryKeyName.Value = ::rtl::OUString();
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
m_sDestinationTable = _rDialog.getName();
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
m_nOperation = _rDialog.getOperation();
CWS-TOOLING: integrate CWS dba32d 2009-06-30 08:58:13 +0200 fs r273488 : merging latest changes from CWS dba32c 2009-06-29 11:40:42 +0200 oj r273459 : #i101652# fix token handling 2009-06-26 09:27:30 +0200 oj r273394 : #i101994# wrong condition checked 2009-06-22 12:09:04 +0200 fs r273210 : merging latest changes from CWS dba32c 2009-06-18 11:01:06 +0200 fs r273108 : merge latest changes from CWS dba32c 2009-06-17 14:19:33 +0200 oj r273072 : handle images at the correct position 2009-06-17 13:37:19 +0200 oj r273067 : compile error 2009-06-17 13:35:58 +0200 oj r273066 : #i102201# handle images 2009-06-17 13:27:21 +0200 oj r273065 : #i80917# disable checkbox for internal copy 2009-06-17 13:25:38 +0200 oj r273064 : #i80917# disable checkbox for internal copy 2009-06-15 12:59:16 +0200 fs r272978 : merging latest changes from CWS dba32c 2009-06-15 10:45:58 +0200 fs r272967 : CWS-TOOLING: rebase CWS dba32d to trunk@272827 (milestone: DEV300:m50) 2009-06-15 08:41:05 +0200 fs r272960 : merging changes from CWS dba32c (resulting from rebasing dba32c to m50) 2009-06-03 12:22:32 +0200 fs r272554 : merging latest changes from CWS dba32c 2009-06-03 11:11:27 +0200 fs r272549 : #i100818# special treatment for DataAwareness not needed anymore 2009-06-03 11:07:01 +0200 fs r272548 : #i10000# removed package declaration 2009-06-03 09:21:03 +0200 oj r272537 : #i93465# save window states 2009-06-03 08:56:25 +0200 oj r272535 : solve compiler warnings 2009-06-03 08:55:02 +0200 oj r272534 : #i102295# export shapes i the first cell 2009-06-03 07:35:18 +0200 oj r272533 : #i101994# check for - and + prefix 2009-06-03 06:51:38 +0200 oj r272531 : #i101463# use uncomposed table name 2009-06-03 06:33:06 +0200 oj r272530 : #i102019# word corrected 2009-06-02 14:58:28 +0200 fs r272507 : #i102443# call initializeParser from LoadFinished 2009-06-02 14:30:10 +0200 oj r272504 : #i102019# introduce static ints 2009-06-02 13:51:02 +0200 oj r272501 : #i102439# wrong method used 2009-06-02 13:44:09 +0200 fs r272500 : #i102440# when tampering with Order/GroupBy, reset the cached columns 2009-06-02 10:53:01 +0200 fs r272487 : #i102234# preserve the original filter when using a 0=1 filter 2009-06-02 10:21:21 +0200 oj r272486 : #i100535# handle time values as float 2009-06-02 10:19:07 +0200 fs r272485 : merging latest changes from CWS dba32c 2009-05-29 16:00:15 +0200 fs r272467 : merging latest changes from dba32c 2009-05-29 15:31:25 +0200 fs r272462 : merging latest changes from dba32c 2009-05-29 10:58:03 +0200 oj r272438 : #101135# export embedded-text 2009-05-29 08:17:57 +0200 oj r272431 : #i80917# make attribute not optional 2009-05-29 08:17:32 +0200 oj r272430 : remoe unused token 2009-05-29 07:17:15 +0200 oj r272429 : #i80917# make attribute not optional 2009-05-28 12:48:14 +0200 oj r272401 : #i102201# insert images in context menu 2009-05-28 12:47:44 +0200 oj r272400 : #i80917# add new attribute to handle first line 2009-05-28 12:16:12 +0200 oj r272397 : #i96134# add / to path when it doesn't exist 2009-05-28 12:11:08 +0200 oj r272390 : #i80917# add new attribute to handle first line 2009-05-28 11:33:35 +0200 oj r272388 : #i101652# add new checkbox to handle header line as column names 2009-05-28 11:30:15 +0200 oj r272387 : #i101652# add localize 2009-05-28 11:15:53 +0200 oj r272386 : merge from dba32c 2009-05-28 09:08:25 +0200 fs r272378 : merged a build fix from CWS dba32c
2009-07-06 09:00:26 +00:00
m_bUseHeaderLineAsColumnNames = _rDialog.UseHeaderLine();
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//-------------------------------------------------------------------------
namespace
{
//.....................................................................
/** tries to obtain the InteractionHandler associated with a given data source
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
If the data source is a sdb-level data source, it will have a DatabaseDocument associated
with it. This doocument may have an InteractionHandler used while loading it.
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
@throws RuntimeException
if it occures during invoking any of the data source's methods, or if any of the involved
components violates its contract by not providing the required interfaces
*/
InteractionHandler lcl_getInteractionHandler_throw( const Reference< XDataSource >& _rxDataSource, const InteractionHandler& _rFallback )
{
InteractionHandler xHandler( _rFallback );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
// try to obtain the document model
Reference< XModel > xDocumentModel;
Reference< XDocumentDataSource > xDocDataSource( _rxDataSource, UNO_QUERY );
if ( xDocDataSource.is() )
xDocumentModel.set( xDocDataSource->getDatabaseDocument(), UNO_QUERY_THROW );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
// see whether the document model can provide a handler
if ( xDocumentModel.is() )
{
::comphelper::NamedValueCollection aModelArgs( xDocumentModel->getArgs() );
xHandler = aModelArgs.getOrDefault( "InteractionHandler", xHandler );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
return xHandler;
}
//.....................................................................
/** tries to obtain the InteractionHandler associated with a given connection
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
If the connection belongs to a sdb-level data source, then this data source
is examined for an interaction handler. Else, <NULL/> is returned.
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
@throws RuntimeException
if it occures during invoking any of the data source's methods, or if any of the involved
components violates its contract by not providing the required interfaces
*/
InteractionHandler lcl_getInteractionHandler_throw( const Reference< XConnection >& _rxConnection, const InteractionHandler& _rFallback )
{
// try whether there is a data source which the connection belongs to
Reference< XDataSource > xDataSource;
Reference< XChild > xAsChild( _rxConnection, UNO_QUERY );
if ( xAsChild.is() )
xDataSource = xDataSource.query( xAsChild->getParent() );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( xDataSource.is() )
return lcl_getInteractionHandler_throw( xDataSource, _rFallback );
return _rFallback;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//-------------------------------------------------------------------------
Reference< XPropertySet > CopyTableWizard::impl_ensureDataAccessDescriptor_throw(
const Sequence< Any >& _rAllArgs, const sal_Int16 _nArgPos, SharedConnection& _out_rxConnection,
InteractionHandler& _out_rxDocInteractionHandler ) const
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::impl_ensureDataAccessDescriptor_throw" );
Reference< XPropertySet > xDescriptor;
_rAllArgs[ _nArgPos ] >>= xDescriptor;
// the descriptor must be non-NULL, of course
bool bIsValid = xDescriptor.is();
// it must support the proper service
if ( bIsValid )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
Reference< XServiceInfo > xSI( xDescriptor, UNO_QUERY );
bIsValid = ( xSI.is()
&& xSI->supportsService( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.sdb.DataAccessDescriptor" ) ) )
);
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
// it must be able to provide a connection
if ( bIsValid )
{
_out_rxConnection = impl_extractConnection_throw( xDescriptor, _out_rxDocInteractionHandler );
bIsValid = _out_rxConnection.is();
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( !bIsValid )
{
throw IllegalArgumentException(
String( ModuleRes( STR_CTW_INVALID_DATA_ACCESS_DESCRIPTOR ) ),
*const_cast< CopyTableWizard* >( this ),
_nArgPos + 1
);
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
return xDescriptor;
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//-------------------------------------------------------------------------
namespace
{
bool lcl_hasNonEmptyStringValue_throw( const Reference< XPropertySet >& _rxDescriptor,
const Reference< XPropertySetInfo > _rxPSI, const ::rtl::OUString& _rPropertyName )
{
::rtl::OUString sValue;
if ( _rxPSI->hasPropertyByName( _rPropertyName ) )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
OSL_VERIFY( _rxDescriptor->getPropertyValue( _rPropertyName ) >>= sValue );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
return sValue.getLength() > 0;
}
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//-------------------------------------------------------------------------
void CopyTableWizard::impl_checkForUnsupportedSettings_throw( const Reference< XPropertySet >& _rxSourceDescriptor ) const
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::impl_checkForUnsupportedSettings_throw" );
OSL_PRECOND( _rxSourceDescriptor.is(), "CopyTableWizard::impl_checkForUnsupportedSettings_throw: illegal argument!" );
Reference< XPropertySetInfo > xPSI( _rxSourceDescriptor->getPropertySetInfo(), UNO_SET_THROW );
::rtl::OUString sUnsupportedSetting;
// in theory, we could allow to use a mere result set as copy source. However, since this is currently
// not implemented at all, we report this in the initialization phase already
if ( xPSI->hasPropertyByName( PROPERTY_RESULT_SET ) )
{
Reference< XResultSet > xSource( _rxSourceDescriptor->getPropertyValue( PROPERTY_RESULT_SET ), UNO_QUERY );
if ( xSource.is() )
sUnsupportedSetting = PROPERTY_RESULT_SET;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( sUnsupportedSetting.getLength() == 0 )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
const ::rtl::OUString aSettings[] = {
PROPERTY_FILTER, PROPERTY_ORDER, PROPERTY_HAVING_CLAUSE, PROPERTY_GROUP_BY
};
for ( size_t i=0; i < sizeof( aSettings ) / sizeof( aSettings[0] ); ++i )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( lcl_hasNonEmptyStringValue_throw( _rxSourceDescriptor, xPSI, aSettings[i] ) )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
sUnsupportedSetting = aSettings[i];
break;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
}
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( sUnsupportedSetting.getLength() != 0 )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
::rtl::OUString sMessage( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Unsupported setting in the copy source descriptor: $name$." ) ) );
// TODO: resource
sMessage = sMessage.replaceAt( sMessage.indexOfAsciiL( "$name$", 6 ), 6, sUnsupportedSetting );
throw IllegalArgumentException(
sMessage,
*const_cast< CopyTableWizard* >( this ),
1
);
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//-------------------------------------------------------------------------
::std::auto_ptr< ICopyTableSourceObject > CopyTableWizard::impl_extractSourceObject_throw( const Reference< XPropertySet >& _rxDescriptor, sal_Int32& _out_rCommandType ) const
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::impl_extractSourceObject_throw" );
OSL_PRECOND( _rxDescriptor.is() && m_xSourceConnection.is(), "CopyTableWizard::impl_extractSourceObject_throw: illegal arguments!" );
impl_checkForUnsupportedSettings_throw( _rxDescriptor );
Reference< XPropertySetInfo > xPSI( _rxDescriptor->getPropertySetInfo(), UNO_SET_THROW );
if ( !xPSI->hasPropertyByName( PROPERTY_COMMAND )
|| !xPSI->hasPropertyByName( PROPERTY_COMMAND_TYPE )
)
throw IllegalArgumentException(
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Expecting a table or query specification." ) ),
*const_cast< CopyTableWizard* >( this ),
1
);
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
::rtl::OUString sCommand;
_out_rCommandType = CommandType::COMMAND;
OSL_VERIFY( _rxDescriptor->getPropertyValue( PROPERTY_COMMAND ) >>= sCommand );
OSL_VERIFY( _rxDescriptor->getPropertyValue( PROPERTY_COMMAND_TYPE ) >>= _out_rCommandType );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
::std::auto_ptr< ICopyTableSourceObject > pSourceObject;
Reference< XNameAccess > xContainer;
switch ( _out_rCommandType )
{
case CommandType::TABLE:
{
Reference< XTablesSupplier > xSuppTables( m_xSourceConnection.getTyped(), UNO_QUERY );
if ( xSuppTables.is() )
xContainer.set( xSuppTables->getTables(), UNO_SET_THROW );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
break;
case CommandType::QUERY:
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
Reference< XQueriesSupplier > xSuppQueries( m_xSourceConnection.getTyped(), UNO_QUERY );
if ( xSuppQueries.is() )
xContainer.set( xSuppQueries->getQueries(), UNO_SET_THROW );
}
break;
default:
throw IllegalArgumentException(
String( ModuleRes( STR_CTW_ONLY_TABLES_AND_QUERIES_SUPPORT ) ),
*const_cast< CopyTableWizard* >( this ),
1
);
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( xContainer.is() )
{
pSourceObject.reset( new ObjectCopySource( m_xSourceConnection,
Reference< XPropertySet >( xContainer->getByName( sCommand ), UNO_QUERY_THROW ) ) );
}
else
{
// our source connection is an SDBC level connection only, not a SDBCX level one
// Which means it cannot provide the to-be-copied object as component.
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( _out_rCommandType == CommandType::QUERY )
// we cannot copy a query if the connection cannot provide it ...
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
throw IllegalArgumentException(
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "To copy a query, your connection must be able to provide queries." ) ),
// TODO: resource
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
*const_cast< CopyTableWizard* >( this ),
1
);
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
pSourceObject.reset( new NamedTableCopySource( m_xSourceConnection, sCommand ) );
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
return pSourceObject;
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//-------------------------------------------------------------------------
SharedConnection CopyTableWizard::impl_extractConnection_throw( const Reference< XPropertySet >& _rxDataSourceDescriptor,
InteractionHandler& _out_rxDocInteractionHandler ) const
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::impl_extractConnection_throw" );
SharedConnection xConnection;
OSL_PRECOND( _rxDataSourceDescriptor.is(), "CopyTableWizard::impl_extractConnection_throw: no descriptor!" );
if ( !_rxDataSourceDescriptor.is() )
return xConnection;
InteractionHandler xInteractionHandler;
do
{
Reference< XPropertySetInfo > xPSI( _rxDataSourceDescriptor->getPropertySetInfo(), UNO_SET_THROW );
// if there's an ActiveConnection, use it
if ( xPSI->hasPropertyByName( PROPERTY_ACTIVE_CONNECTION ) )
{
Reference< XConnection > xPure;
OSL_VERIFY( _rxDataSourceDescriptor->getPropertyValue( PROPERTY_ACTIVE_CONNECTION ) >>= xPure );
xConnection.reset( xPure, SharedConnection::NoTakeOwnership );
}
if ( xConnection.is() )
{
xInteractionHandler = lcl_getInteractionHandler_throw( xConnection.getTyped(), m_xInteractionHandler );
OSL_POSTCOND( xInteractionHandler.is(), "CopyTableWizard::impl_extractConnection_throw: lcl_getInteractionHandler_throw returned nonsense!" );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
break;
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
}
// there could be a DataSourceName or a DatabaseLocation, describing the css.sdb.DataSource
::rtl::OUString sDataSource, sDatabaseLocation;
if ( xPSI->hasPropertyByName( PROPERTY_DATASOURCENAME ) )
OSL_VERIFY( _rxDataSourceDescriptor->getPropertyValue( PROPERTY_DATASOURCENAME ) >>= sDataSource );
if ( xPSI->hasPropertyByName( PROPERTY_DATABASE_LOCATION ) )
OSL_VERIFY( _rxDataSourceDescriptor->getPropertyValue( PROPERTY_DATABASE_LOCATION ) >>= sDatabaseLocation );
// need a DatabaseContext for loading the data source
Reference< XNameAccess > xDatabaseContext( m_aContext.createComponent( "com.sun.star.sdb.DatabaseContext" ), UNO_QUERY_THROW );
Reference< XDataSource > xDataSource;
if ( sDataSource.getLength() )
xDataSource.set( xDatabaseContext->getByName( sDataSource ), UNO_QUERY_THROW );
if ( !xDataSource.is() && sDatabaseLocation.getLength() )
xDataSource.set( xDatabaseContext->getByName( sDatabaseLocation ), UNO_QUERY_THROW );
if ( xDataSource.is() )
{
// first, try connecting with completion
xInteractionHandler = lcl_getInteractionHandler_throw( xDataSource, m_xInteractionHandler );
OSL_POSTCOND( xInteractionHandler.is(), "CopyTableWizard::impl_extractConnection_throw: lcl_getInteractionHandler_throw returned nonsense!" );
if ( xInteractionHandler.is() )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
Reference< XCompletedConnection > xInteractiveConnection( xDataSource, UNO_QUERY );
if ( xInteractiveConnection.is() )
xConnection.reset( xInteractiveConnection->connectWithCompletion( xInteractionHandler ), SharedConnection::TakeOwnership );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
// interactively connecting was not successful or possible -> connect without interaction
if ( !xConnection.is() )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
xConnection.reset( xDataSource->getConnection( ::rtl::OUString(), ::rtl::OUString() ), SharedConnection::TakeOwnership );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( xConnection.is() )
break;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
// finally, there could be a ConnectionResource/ConnectionInfo
::rtl::OUString sConnectionResource;
Sequence< PropertyValue > aConnectionInfo;
if ( xPSI->hasPropertyByName( PROPERTY_CONNECTION_RESOURCE ) )
OSL_VERIFY( _rxDataSourceDescriptor->getPropertyValue( PROPERTY_CONNECTION_RESOURCE ) >>= sConnectionResource );
if ( xPSI->hasPropertyByName( PROPERTY_CONNECTION_INFO ) )
OSL_VERIFY( _rxDataSourceDescriptor->getPropertyValue( PROPERTY_CONNECTION_INFO ) >>= aConnectionInfo );
Reference< XDriverManager > xDriverManager;
xDriverManager.set( m_aContext.createComponent( "com.sun.star.sdbc.ConnectionPool" ), UNO_QUERY );
if ( !xDriverManager.is() )
// no connection pool installed
xDriverManager.set( m_aContext.createComponent( "com.sun.star.sdbc.DriverManager" ), UNO_QUERY_THROW );
if ( aConnectionInfo.getLength() )
xConnection.set( xDriverManager->getConnectionWithInfo( sConnectionResource, aConnectionInfo ), UNO_SET_THROW );
else
xConnection.set( xDriverManager->getConnection( sConnectionResource ), UNO_SET_THROW );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
while ( false );
if ( xInteractionHandler != m_xInteractionHandler )
_out_rxDocInteractionHandler = xInteractionHandler;
return xConnection;
}
//-------------------------------------------------------------------------
::utl::SharedUNOComponent< XPreparedStatement > CopyTableWizard::impl_createSourceStatement_throw() const
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::impl_createSourceStatement_throw" );
OSL_PRECOND( m_xSourceConnection.is(), "CopyTableWizard::impl_createSourceStatement_throw: illegal call!" );
if ( !m_xSourceConnection.is() )
throw RuntimeException( ::rtl::OUString(), *const_cast< CopyTableWizard* >( this ) );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
::utl::SharedUNOComponent< XPreparedStatement > xStatement;
switch ( m_nCommandType )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
case CommandType::TABLE:
xStatement.set( m_pSourceObject->getPreparedSelectStatement(), UNO_SET_THROW );
break;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
case CommandType::QUERY:
{
::rtl::OUString sQueryCommand( m_pSourceObject->getSelectStatement() );
xStatement.set( m_pSourceObject->getPreparedSelectStatement(), UNO_SET_THROW );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
// check whether we have to fill in parameter values
// create and fill a composer
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
Reference< XMultiServiceFactory > xFactory( m_xSourceConnection, UNO_QUERY );
::utl::SharedUNOComponent< XSingleSelectQueryComposer > xComposer;
if ( xFactory.is() )
// note: connections below the sdb-level are allowed to not support the XMultiServiceFactory interface
xComposer.set( xFactory->createInstance( SERVICE_NAME_SINGLESELECTQUERYCOMPOSER ), UNO_QUERY );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( xComposer.is() )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
xComposer->setQuery( sQueryCommand );
Reference< XParameters > xStatementParams( xStatement, UNO_QUERY );
OSL_ENSURE( xStatementParams.is(), "CopyTableWizard::impl_createSourceStatement_throw: no access to the statement's parameters!" );
// the statement should be a css.sdbc.PreparedStatement (this is what
// we created), and a prepared statement is required to support XParameters
if ( xStatementParams.is() )
{
OSL_ENSURE( m_xInteractionHandler.is(),
"CopyTableWizard::impl_createSourceStatement_throw: no interaction handler for the parameters request!" );
// we should always have an interaction handler - as last fallback, we create an own one in ::initialize
if ( m_xInteractionHandler.is() )
::dbtools::askForParameters( xComposer, xStatementParams, m_xSourceConnection, m_xInteractionHandler );
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
}
break;
default:
// this should not have survived initialization phase
throw RuntimeException( ::rtl::OUString(), *const_cast< CopyTableWizard* >( this ) );
}
return xStatement;
}
//-------------------------------------------------------------------------
namespace
{
class ValueTransfer
{
public:
ValueTransfer( const sal_Int32& _rSourcePos, const sal_Int32& _rDestPos, const ::std::vector< sal_Int32 >& _rColTypes,
const Reference< XRow >& _rxSource, const Reference< XParameters >& _rxDest )
:m_rSourcePos( _rSourcePos )
,m_rDestPos( _rDestPos )
,m_rColTypes( _rColTypes )
,m_xSource( _rxSource )
,m_xDest( _rxDest )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
template< typename VALUE_TYPE >
void transferValue( VALUE_TYPE ( SAL_CALL XRow::*_pGetter )( sal_Int32 ),
void (SAL_CALL XParameters::*_pSetter)( sal_Int32, VALUE_TYPE ) )
{
VALUE_TYPE value( (m_xSource.get()->*_pGetter)( m_rSourcePos ) );
if ( m_xSource->wasNull() )
m_xDest->setNull( m_rDestPos, m_rColTypes[ m_rSourcePos ] );
else
(m_xDest.get()->*_pSetter)( m_rDestPos, value );
}
CWS-TOOLING: integrate CWS dba32c 2009-06-29 20:53:25 +0200 fs r273484 : #i103138# Rectangle conversion 2009-06-29 20:51:50 +0200 fs r273483 : #i103138# yet more refactoring, now also setting the proper zoom level at the proper point in time 2009-06-29 13:40:26 +0200 fs r273470 : added svn:ignore to ignore output paths 2009-06-29 10:08:54 +0200 fs r273455 : #i103138# refactored the code for positioning/zooming the control Basically, we now allow adjustControlGeometry_throw (formerly known as positionControl_throw and setControlZoom) to take an additional ViewTransformation parameter, describing the transformation to obtain the actual control position/size. Consequently, positionControl itself also allows for a ViewTransformation parameter. This has become necessary since during painting, the device which we created our control for might not necessarily have a proper MapMode set. In this case, if we would use this map mode for calculating the control's position/size, this would lead to wrong results. Note that this problem was introduced by the fix for #i101398#: During the fix, we postponed the control creation to a later time (when it is really needed). At this later time, the MapMode at the device is broken, at the earlier time where we formerly crearted the control (createPrimitive2DSequence), it is not yet broken. Whether or not the MapMode is defined as "broken" might depend on one's point of view, however ... I consider it broken, since: - we need the map mode to obtain the proper zoom level, which is to be forwarded to the control - there are scenarios where the MapMode is *not* set to MAP_PIXEL (in those scenarios, everything works fine), and there are scenarios where it *is* set to MAP_PIXEL (in those the bug 103138 appears). It somehow feels wrong that one cannot rely on the device's map mode this way, but on the other hand one has no possibility to obtain the current zoom by other means. Note that one issue (still to be submitted) is left: In the page pane of a Draw/Impress document, controls have a wrong text size. This is because in this pane, the above-mentioned "broken" map mode is used, which means the controls have a zoom of "1:1" set, which is wrong here. 2009-06-25 13:41:35 +0200 msc r273380 : #100000# the tabs changed die to new properties 2009-06-24 12:42:40 +0200 msc r273330 : #102082# remove issue warning 2009-06-22 10:43:14 +0200 fs r273201 : createPrimitive2DSequence: care for being disposed 2009-06-18 12:35:13 +0200 oj r273109 : #i102305# make nooptfiles for gcc 2009-06-17 12:14:37 +0200 oj r273056 : #i102305# fix for linux 2009-06-17 07:20:22 +0200 oj r273046 : #i102305# move ValueTransfer into the for loop to avoid a crash under Linux 2009-06-17 07:17:28 +0200 oj r273045 : #i102305# use varchar 2009-06-15 14:11:27 +0200 fs r272983 : added since tag 2009-06-15 12:11:39 +0200 oj r272973 : #i102305# SAL_DLLPUBLIC_EXPORT inserted 2009-06-15 11:08:53 +0200 fs r272969 : #i10000# 2009-06-15 09:25:13 +0200 fs r272963 : merging fix for P1 issue #i102701# 2009-06-11 11:31:24 +0200 fs r272858 : #i10000# copied the fix which before the rebase was done in ../dialog/macropg.src 2009-06-11 09:38:14 +0200 fs r272846 : CWS-TOOLING: rebase CWS dba32c to trunk@272827 (milestone: DEV300:m50) 2009-06-02 09:53:10 +0200 fs r272483 : #i10000# 2009-05-29 15:55:03 +0200 fs r272465 : #i100818# 2009-05-29 12:58:43 +0200 fs r272452 : don't apply comphelper::getString on possibly VOID any 2009-05-29 10:38:35 +0200 oj r272437 : #i101519# handle where condition 2009-05-29 09:53:39 +0200 fs r272434 : #i100818# call into releaseStubs /without/ locked GlobalMutex 2009-05-28 07:53:44 +0200 oj r272375 : #i101369# parse tree changed 2009-05-27 14:53:36 +0200 fs r272347 : #i10000# 2009-05-27 09:29:15 +0200 oj r272327 : #i101626# check for double before hard cast 2009-05-27 09:13:58 +0200 oj r272326 : #i101626# handle void correctly 2009-05-27 08:04:39 +0200 oj r272321 : #i102256# wrong method signature used 2009-05-27 07:55:52 +0200 oj r272320 : #i101519# look up parameter typ if used in function 2009-05-27 06:49:07 +0200 oj r272319 : #i101519# set parameter from rowset as well 2009-05-26 13:30:56 +0200 oj r272297 : #i101987# impl XBatchExecution 2009-05-26 12:44:34 +0200 oj r272293 : #i101700# check if group is not set 2009-05-26 12:16:53 +0200 oj r272290 : #i101369# resolved some reduce7reduce problems with boolean_term and search_condition 2009-05-26 12:12:42 +0200 oj r272289 : #i101369# fix for or on one line criteria 2009-05-25 16:02:25 +0200 fs r272257 : #i999704# +PROPERTY_MOUSE_WHEEL_BEHAVIOR 2009-05-25 16:01:55 +0200 fs r272256 : merging the changes from CWS dba32b herein 2009-05-25 15:49:57 +0200 fs r272254 : #i999704# 2009-05-25 15:32:57 +0200 fs r272252 : #i99704# grid columns also to respect the MouseWheelBehavior property 2009-05-25 15:23:43 +0200 fs r272251 : don't pass empty Anys to ::comphelper::getString 2009-05-25 14:48:43 +0200 fs r272248 : merged changes from CWS dba32b herein 2009-05-25 14:44:40 +0200 fs r272247 : #i99704# support new MouseWheelBehavior property 2009-05-25 14:43:18 +0200 fs r272246 : #i99704# WheelWithoutFocus (peer property) superseded by MouseWheelBehavior (model property) 2009-05-25 14:41:03 +0200 fs r272245 : #i99704# no need to set the mouse wheel behavior at the peer, this is now a model property, having the right default 2009-05-25 14:39:31 +0200 fs r272243 : removed dead import 2009-05-25 14:35:36 +0200 fs r272242 : the new EnableVisible doesn't make sense for grid columns 2009-05-25 14:34:33 +0200 fs r272241 : #i99704# +MouseWheelBehavior - allow to enable/disable the mouse wheel for the control, or make it focus-dependent 2009-05-25 14:26:11 +0200 fs r272240 : #i99704# change MouseSettings wheel flag (NoWheelActionWithoutFocus) to a three-state option, allowing to completely ignore the mouse wheel 2009-05-23 21:35:59 +0200 fs r272213 : localize 'sub component opened/closed' event 2009-05-22 21:42:47 +0200 fs r272211 : #i102003# 2009-05-22 21:42:20 +0200 fs r272210 : grammar 2009-05-22 21:36:10 +0200 fs r272209 : #i102140# load only once, not twice, and show error messages during loading (and during any form action, that is) asynchronously 2009-05-22 21:35:11 +0200 fs r272208 : #i102140# +clear 2009-05-22 14:50:30 +0200 fs r272194 : #i102139# for newly created DB docs, set the MacroExecutionMode to USE_CONFIG 2009-05-22 12:03:42 +0200 fs r272180 : #i88878# provided by noel.power@novell.com implement a visibility property (EnableVisible) for toolkit controls, and usage in forms and UNO dialogs 2009-05-15 15:37:31 +0200 fs r271942 : #i100671# corrected some @since tags, so autodoc has better chances of correctly reading them 2009-05-15 15:33:11 +0200 fs r271940 : don't call comphelper::getFOO for VOID values 2009-05-15 15:08:31 +0200 fs r271937 : includes 2009-05-15 13:39:22 +0200 fs r271934 : #i101398# createPrimitive2DSequence: when we already have a control, use the old code. In particular, call positionControlForPaint 2009-05-15 12:33:48 +0200 fs r271933 : make the geometry a part of the ControlPrimitive2D's identity 2009-05-15 10:15:44 +0200 fs r271928 : #i10000# 2009-05-14 20:55:38 +0200 fs r271921 : #i101398# don't reuse the name PRIMITIVE_ID_CONTROLPRIMITIVE2D, make the name of our own ControlPrimitive2D unique 2009-05-14 20:55:31 +0200 fs r271920 : #i101398# don't reuse the name PRIMITIVE_ID_CONTROLPRIMITIVE2D, make the name of our own ControlPrimitive2D unique 2009-05-14 20:23:23 +0200 fs r271919 : #i101622# 2009-05-14 16:04:38 +0200 fs r271898 : don't use comphelper::getInt32 on voids 2009-05-14 16:04:12 +0200 fs r271897 : merge fix for issue whose number just slipped my memory ... (originally fixed in CWS dba32b) 2009-05-14 15:36:55 +0200 fs r271895 : merging changes from DEV300:m48 2009-05-07 14:43:19 +0200 fs r271670 : #i101477# 2009-05-07 14:37:30 +0200 fs r271668 : #i101477# 2009-05-07 09:27:30 +0200 oj r271628 : #i101343# remove pch 2009-05-06 09:36:02 +0200 fs r271568 : getFoo: diagnostics 2009-05-04 09:23:06 +0200 oj r271438 : CWS-TOOLING: rebase CWS dba32c to trunk@271427 (milestone: DEV300:m47) 2009-04-29 23:18:13 +0200 fs r271394 : #i101398# use a dedicated 2DPrimitive for UNO Controls, which is able to provide the B2DRange *without* actually creating the control 2009-04-29 13:52:25 +0200 fs r271366 : #i101308#
2009-07-03 14:21:50 +00:00
template< typename VALUE_TYPE >
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
void transferComplexValue( VALUE_TYPE ( SAL_CALL XRow::*_pGetter )( sal_Int32 ),
void (SAL_CALL XParameters::*_pSetter)( sal_Int32, const VALUE_TYPE& ) )
{
CWS-TOOLING: integrate CWS dba32c 2009-06-29 20:53:25 +0200 fs r273484 : #i103138# Rectangle conversion 2009-06-29 20:51:50 +0200 fs r273483 : #i103138# yet more refactoring, now also setting the proper zoom level at the proper point in time 2009-06-29 13:40:26 +0200 fs r273470 : added svn:ignore to ignore output paths 2009-06-29 10:08:54 +0200 fs r273455 : #i103138# refactored the code for positioning/zooming the control Basically, we now allow adjustControlGeometry_throw (formerly known as positionControl_throw and setControlZoom) to take an additional ViewTransformation parameter, describing the transformation to obtain the actual control position/size. Consequently, positionControl itself also allows for a ViewTransformation parameter. This has become necessary since during painting, the device which we created our control for might not necessarily have a proper MapMode set. In this case, if we would use this map mode for calculating the control's position/size, this would lead to wrong results. Note that this problem was introduced by the fix for #i101398#: During the fix, we postponed the control creation to a later time (when it is really needed). At this later time, the MapMode at the device is broken, at the earlier time where we formerly crearted the control (createPrimitive2DSequence), it is not yet broken. Whether or not the MapMode is defined as "broken" might depend on one's point of view, however ... I consider it broken, since: - we need the map mode to obtain the proper zoom level, which is to be forwarded to the control - there are scenarios where the MapMode is *not* set to MAP_PIXEL (in those scenarios, everything works fine), and there are scenarios where it *is* set to MAP_PIXEL (in those the bug 103138 appears). It somehow feels wrong that one cannot rely on the device's map mode this way, but on the other hand one has no possibility to obtain the current zoom by other means. Note that one issue (still to be submitted) is left: In the page pane of a Draw/Impress document, controls have a wrong text size. This is because in this pane, the above-mentioned "broken" map mode is used, which means the controls have a zoom of "1:1" set, which is wrong here. 2009-06-25 13:41:35 +0200 msc r273380 : #100000# the tabs changed die to new properties 2009-06-24 12:42:40 +0200 msc r273330 : #102082# remove issue warning 2009-06-22 10:43:14 +0200 fs r273201 : createPrimitive2DSequence: care for being disposed 2009-06-18 12:35:13 +0200 oj r273109 : #i102305# make nooptfiles for gcc 2009-06-17 12:14:37 +0200 oj r273056 : #i102305# fix for linux 2009-06-17 07:20:22 +0200 oj r273046 : #i102305# move ValueTransfer into the for loop to avoid a crash under Linux 2009-06-17 07:17:28 +0200 oj r273045 : #i102305# use varchar 2009-06-15 14:11:27 +0200 fs r272983 : added since tag 2009-06-15 12:11:39 +0200 oj r272973 : #i102305# SAL_DLLPUBLIC_EXPORT inserted 2009-06-15 11:08:53 +0200 fs r272969 : #i10000# 2009-06-15 09:25:13 +0200 fs r272963 : merging fix for P1 issue #i102701# 2009-06-11 11:31:24 +0200 fs r272858 : #i10000# copied the fix which before the rebase was done in ../dialog/macropg.src 2009-06-11 09:38:14 +0200 fs r272846 : CWS-TOOLING: rebase CWS dba32c to trunk@272827 (milestone: DEV300:m50) 2009-06-02 09:53:10 +0200 fs r272483 : #i10000# 2009-05-29 15:55:03 +0200 fs r272465 : #i100818# 2009-05-29 12:58:43 +0200 fs r272452 : don't apply comphelper::getString on possibly VOID any 2009-05-29 10:38:35 +0200 oj r272437 : #i101519# handle where condition 2009-05-29 09:53:39 +0200 fs r272434 : #i100818# call into releaseStubs /without/ locked GlobalMutex 2009-05-28 07:53:44 +0200 oj r272375 : #i101369# parse tree changed 2009-05-27 14:53:36 +0200 fs r272347 : #i10000# 2009-05-27 09:29:15 +0200 oj r272327 : #i101626# check for double before hard cast 2009-05-27 09:13:58 +0200 oj r272326 : #i101626# handle void correctly 2009-05-27 08:04:39 +0200 oj r272321 : #i102256# wrong method signature used 2009-05-27 07:55:52 +0200 oj r272320 : #i101519# look up parameter typ if used in function 2009-05-27 06:49:07 +0200 oj r272319 : #i101519# set parameter from rowset as well 2009-05-26 13:30:56 +0200 oj r272297 : #i101987# impl XBatchExecution 2009-05-26 12:44:34 +0200 oj r272293 : #i101700# check if group is not set 2009-05-26 12:16:53 +0200 oj r272290 : #i101369# resolved some reduce7reduce problems with boolean_term and search_condition 2009-05-26 12:12:42 +0200 oj r272289 : #i101369# fix for or on one line criteria 2009-05-25 16:02:25 +0200 fs r272257 : #i999704# +PROPERTY_MOUSE_WHEEL_BEHAVIOR 2009-05-25 16:01:55 +0200 fs r272256 : merging the changes from CWS dba32b herein 2009-05-25 15:49:57 +0200 fs r272254 : #i999704# 2009-05-25 15:32:57 +0200 fs r272252 : #i99704# grid columns also to respect the MouseWheelBehavior property 2009-05-25 15:23:43 +0200 fs r272251 : don't pass empty Anys to ::comphelper::getString 2009-05-25 14:48:43 +0200 fs r272248 : merged changes from CWS dba32b herein 2009-05-25 14:44:40 +0200 fs r272247 : #i99704# support new MouseWheelBehavior property 2009-05-25 14:43:18 +0200 fs r272246 : #i99704# WheelWithoutFocus (peer property) superseded by MouseWheelBehavior (model property) 2009-05-25 14:41:03 +0200 fs r272245 : #i99704# no need to set the mouse wheel behavior at the peer, this is now a model property, having the right default 2009-05-25 14:39:31 +0200 fs r272243 : removed dead import 2009-05-25 14:35:36 +0200 fs r272242 : the new EnableVisible doesn't make sense for grid columns 2009-05-25 14:34:33 +0200 fs r272241 : #i99704# +MouseWheelBehavior - allow to enable/disable the mouse wheel for the control, or make it focus-dependent 2009-05-25 14:26:11 +0200 fs r272240 : #i99704# change MouseSettings wheel flag (NoWheelActionWithoutFocus) to a three-state option, allowing to completely ignore the mouse wheel 2009-05-23 21:35:59 +0200 fs r272213 : localize 'sub component opened/closed' event 2009-05-22 21:42:47 +0200 fs r272211 : #i102003# 2009-05-22 21:42:20 +0200 fs r272210 : grammar 2009-05-22 21:36:10 +0200 fs r272209 : #i102140# load only once, not twice, and show error messages during loading (and during any form action, that is) asynchronously 2009-05-22 21:35:11 +0200 fs r272208 : #i102140# +clear 2009-05-22 14:50:30 +0200 fs r272194 : #i102139# for newly created DB docs, set the MacroExecutionMode to USE_CONFIG 2009-05-22 12:03:42 +0200 fs r272180 : #i88878# provided by noel.power@novell.com implement a visibility property (EnableVisible) for toolkit controls, and usage in forms and UNO dialogs 2009-05-15 15:37:31 +0200 fs r271942 : #i100671# corrected some @since tags, so autodoc has better chances of correctly reading them 2009-05-15 15:33:11 +0200 fs r271940 : don't call comphelper::getFOO for VOID values 2009-05-15 15:08:31 +0200 fs r271937 : includes 2009-05-15 13:39:22 +0200 fs r271934 : #i101398# createPrimitive2DSequence: when we already have a control, use the old code. In particular, call positionControlForPaint 2009-05-15 12:33:48 +0200 fs r271933 : make the geometry a part of the ControlPrimitive2D's identity 2009-05-15 10:15:44 +0200 fs r271928 : #i10000# 2009-05-14 20:55:38 +0200 fs r271921 : #i101398# don't reuse the name PRIMITIVE_ID_CONTROLPRIMITIVE2D, make the name of our own ControlPrimitive2D unique 2009-05-14 20:55:31 +0200 fs r271920 : #i101398# don't reuse the name PRIMITIVE_ID_CONTROLPRIMITIVE2D, make the name of our own ControlPrimitive2D unique 2009-05-14 20:23:23 +0200 fs r271919 : #i101622# 2009-05-14 16:04:38 +0200 fs r271898 : don't use comphelper::getInt32 on voids 2009-05-14 16:04:12 +0200 fs r271897 : merge fix for issue whose number just slipped my memory ... (originally fixed in CWS dba32b) 2009-05-14 15:36:55 +0200 fs r271895 : merging changes from DEV300:m48 2009-05-07 14:43:19 +0200 fs r271670 : #i101477# 2009-05-07 14:37:30 +0200 fs r271668 : #i101477# 2009-05-07 09:27:30 +0200 oj r271628 : #i101343# remove pch 2009-05-06 09:36:02 +0200 fs r271568 : getFoo: diagnostics 2009-05-04 09:23:06 +0200 oj r271438 : CWS-TOOLING: rebase CWS dba32c to trunk@271427 (milestone: DEV300:m47) 2009-04-29 23:18:13 +0200 fs r271394 : #i101398# use a dedicated 2DPrimitive for UNO Controls, which is able to provide the B2DRange *without* actually creating the control 2009-04-29 13:52:25 +0200 fs r271366 : #i101308#
2009-07-03 14:21:50 +00:00
const VALUE_TYPE value( (m_xSource.get()->*_pGetter)( m_rSourcePos ) );
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( m_xSource->wasNull() )
m_xDest->setNull( m_rDestPos, m_rColTypes[ m_rSourcePos ] );
else
(m_xDest.get()->*_pSetter)( m_rDestPos, value );
CWS-TOOLING: integrate CWS dba32c 2009-06-29 20:53:25 +0200 fs r273484 : #i103138# Rectangle conversion 2009-06-29 20:51:50 +0200 fs r273483 : #i103138# yet more refactoring, now also setting the proper zoom level at the proper point in time 2009-06-29 13:40:26 +0200 fs r273470 : added svn:ignore to ignore output paths 2009-06-29 10:08:54 +0200 fs r273455 : #i103138# refactored the code for positioning/zooming the control Basically, we now allow adjustControlGeometry_throw (formerly known as positionControl_throw and setControlZoom) to take an additional ViewTransformation parameter, describing the transformation to obtain the actual control position/size. Consequently, positionControl itself also allows for a ViewTransformation parameter. This has become necessary since during painting, the device which we created our control for might not necessarily have a proper MapMode set. In this case, if we would use this map mode for calculating the control's position/size, this would lead to wrong results. Note that this problem was introduced by the fix for #i101398#: During the fix, we postponed the control creation to a later time (when it is really needed). At this later time, the MapMode at the device is broken, at the earlier time where we formerly crearted the control (createPrimitive2DSequence), it is not yet broken. Whether or not the MapMode is defined as "broken" might depend on one's point of view, however ... I consider it broken, since: - we need the map mode to obtain the proper zoom level, which is to be forwarded to the control - there are scenarios where the MapMode is *not* set to MAP_PIXEL (in those scenarios, everything works fine), and there are scenarios where it *is* set to MAP_PIXEL (in those the bug 103138 appears). It somehow feels wrong that one cannot rely on the device's map mode this way, but on the other hand one has no possibility to obtain the current zoom by other means. Note that one issue (still to be submitted) is left: In the page pane of a Draw/Impress document, controls have a wrong text size. This is because in this pane, the above-mentioned "broken" map mode is used, which means the controls have a zoom of "1:1" set, which is wrong here. 2009-06-25 13:41:35 +0200 msc r273380 : #100000# the tabs changed die to new properties 2009-06-24 12:42:40 +0200 msc r273330 : #102082# remove issue warning 2009-06-22 10:43:14 +0200 fs r273201 : createPrimitive2DSequence: care for being disposed 2009-06-18 12:35:13 +0200 oj r273109 : #i102305# make nooptfiles for gcc 2009-06-17 12:14:37 +0200 oj r273056 : #i102305# fix for linux 2009-06-17 07:20:22 +0200 oj r273046 : #i102305# move ValueTransfer into the for loop to avoid a crash under Linux 2009-06-17 07:17:28 +0200 oj r273045 : #i102305# use varchar 2009-06-15 14:11:27 +0200 fs r272983 : added since tag 2009-06-15 12:11:39 +0200 oj r272973 : #i102305# SAL_DLLPUBLIC_EXPORT inserted 2009-06-15 11:08:53 +0200 fs r272969 : #i10000# 2009-06-15 09:25:13 +0200 fs r272963 : merging fix for P1 issue #i102701# 2009-06-11 11:31:24 +0200 fs r272858 : #i10000# copied the fix which before the rebase was done in ../dialog/macropg.src 2009-06-11 09:38:14 +0200 fs r272846 : CWS-TOOLING: rebase CWS dba32c to trunk@272827 (milestone: DEV300:m50) 2009-06-02 09:53:10 +0200 fs r272483 : #i10000# 2009-05-29 15:55:03 +0200 fs r272465 : #i100818# 2009-05-29 12:58:43 +0200 fs r272452 : don't apply comphelper::getString on possibly VOID any 2009-05-29 10:38:35 +0200 oj r272437 : #i101519# handle where condition 2009-05-29 09:53:39 +0200 fs r272434 : #i100818# call into releaseStubs /without/ locked GlobalMutex 2009-05-28 07:53:44 +0200 oj r272375 : #i101369# parse tree changed 2009-05-27 14:53:36 +0200 fs r272347 : #i10000# 2009-05-27 09:29:15 +0200 oj r272327 : #i101626# check for double before hard cast 2009-05-27 09:13:58 +0200 oj r272326 : #i101626# handle void correctly 2009-05-27 08:04:39 +0200 oj r272321 : #i102256# wrong method signature used 2009-05-27 07:55:52 +0200 oj r272320 : #i101519# look up parameter typ if used in function 2009-05-27 06:49:07 +0200 oj r272319 : #i101519# set parameter from rowset as well 2009-05-26 13:30:56 +0200 oj r272297 : #i101987# impl XBatchExecution 2009-05-26 12:44:34 +0200 oj r272293 : #i101700# check if group is not set 2009-05-26 12:16:53 +0200 oj r272290 : #i101369# resolved some reduce7reduce problems with boolean_term and search_condition 2009-05-26 12:12:42 +0200 oj r272289 : #i101369# fix for or on one line criteria 2009-05-25 16:02:25 +0200 fs r272257 : #i999704# +PROPERTY_MOUSE_WHEEL_BEHAVIOR 2009-05-25 16:01:55 +0200 fs r272256 : merging the changes from CWS dba32b herein 2009-05-25 15:49:57 +0200 fs r272254 : #i999704# 2009-05-25 15:32:57 +0200 fs r272252 : #i99704# grid columns also to respect the MouseWheelBehavior property 2009-05-25 15:23:43 +0200 fs r272251 : don't pass empty Anys to ::comphelper::getString 2009-05-25 14:48:43 +0200 fs r272248 : merged changes from CWS dba32b herein 2009-05-25 14:44:40 +0200 fs r272247 : #i99704# support new MouseWheelBehavior property 2009-05-25 14:43:18 +0200 fs r272246 : #i99704# WheelWithoutFocus (peer property) superseded by MouseWheelBehavior (model property) 2009-05-25 14:41:03 +0200 fs r272245 : #i99704# no need to set the mouse wheel behavior at the peer, this is now a model property, having the right default 2009-05-25 14:39:31 +0200 fs r272243 : removed dead import 2009-05-25 14:35:36 +0200 fs r272242 : the new EnableVisible doesn't make sense for grid columns 2009-05-25 14:34:33 +0200 fs r272241 : #i99704# +MouseWheelBehavior - allow to enable/disable the mouse wheel for the control, or make it focus-dependent 2009-05-25 14:26:11 +0200 fs r272240 : #i99704# change MouseSettings wheel flag (NoWheelActionWithoutFocus) to a three-state option, allowing to completely ignore the mouse wheel 2009-05-23 21:35:59 +0200 fs r272213 : localize 'sub component opened/closed' event 2009-05-22 21:42:47 +0200 fs r272211 : #i102003# 2009-05-22 21:42:20 +0200 fs r272210 : grammar 2009-05-22 21:36:10 +0200 fs r272209 : #i102140# load only once, not twice, and show error messages during loading (and during any form action, that is) asynchronously 2009-05-22 21:35:11 +0200 fs r272208 : #i102140# +clear 2009-05-22 14:50:30 +0200 fs r272194 : #i102139# for newly created DB docs, set the MacroExecutionMode to USE_CONFIG 2009-05-22 12:03:42 +0200 fs r272180 : #i88878# provided by noel.power@novell.com implement a visibility property (EnableVisible) for toolkit controls, and usage in forms and UNO dialogs 2009-05-15 15:37:31 +0200 fs r271942 : #i100671# corrected some @since tags, so autodoc has better chances of correctly reading them 2009-05-15 15:33:11 +0200 fs r271940 : don't call comphelper::getFOO for VOID values 2009-05-15 15:08:31 +0200 fs r271937 : includes 2009-05-15 13:39:22 +0200 fs r271934 : #i101398# createPrimitive2DSequence: when we already have a control, use the old code. In particular, call positionControlForPaint 2009-05-15 12:33:48 +0200 fs r271933 : make the geometry a part of the ControlPrimitive2D's identity 2009-05-15 10:15:44 +0200 fs r271928 : #i10000# 2009-05-14 20:55:38 +0200 fs r271921 : #i101398# don't reuse the name PRIMITIVE_ID_CONTROLPRIMITIVE2D, make the name of our own ControlPrimitive2D unique 2009-05-14 20:55:31 +0200 fs r271920 : #i101398# don't reuse the name PRIMITIVE_ID_CONTROLPRIMITIVE2D, make the name of our own ControlPrimitive2D unique 2009-05-14 20:23:23 +0200 fs r271919 : #i101622# 2009-05-14 16:04:38 +0200 fs r271898 : don't use comphelper::getInt32 on voids 2009-05-14 16:04:12 +0200 fs r271897 : merge fix for issue whose number just slipped my memory ... (originally fixed in CWS dba32b) 2009-05-14 15:36:55 +0200 fs r271895 : merging changes from DEV300:m48 2009-05-07 14:43:19 +0200 fs r271670 : #i101477# 2009-05-07 14:37:30 +0200 fs r271668 : #i101477# 2009-05-07 09:27:30 +0200 oj r271628 : #i101343# remove pch 2009-05-06 09:36:02 +0200 fs r271568 : getFoo: diagnostics 2009-05-04 09:23:06 +0200 oj r271438 : CWS-TOOLING: rebase CWS dba32c to trunk@271427 (milestone: DEV300:m47) 2009-04-29 23:18:13 +0200 fs r271394 : #i101398# use a dedicated 2DPrimitive for UNO Controls, which is able to provide the B2DRange *without* actually creating the control 2009-04-29 13:52:25 +0200 fs r271366 : #i101308#
2009-07-03 14:21:50 +00:00
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
}
private:
const sal_Int32& m_rSourcePos;
const sal_Int32& m_rDestPos;
const ::std::vector< sal_Int32 > m_rColTypes;
const Reference< XRow > m_xSource;
const Reference< XParameters > m_xDest;
};
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//-------------------------------------------------------------------------
bool CopyTableWizard::impl_processCopyError_nothrow( const CopyTableRowEvent& _rEvent )
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::impl_processCopyError_nothrow" );
Reference< XCopyTableListener > xListener;
try
{
::cppu::OInterfaceIteratorHelper aIter( m_aCopyTableListeners );
while ( aIter.hasMoreElements() )
{
xListener.set( aIter.next(), UNO_QUERY_THROW );
sal_Int16 nListenerChoice = xListener->copyRowError( _rEvent );
switch ( nListenerChoice )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
case CopyTableContinuation::Proceed: return true; // continue copying
case CopyTableContinuation::CallNextHandler: continue; // continue the loop, ask next listener
case CopyTableContinuation::Cancel: return false; // cancel copying
case CopyTableContinuation::AskUser: break; // stop asking the listeners, ask the user
default:
OSL_ENSURE( false, "CopyTableWizard::impl_processCopyError_nothrow: invalid listener response!" );
// ask next listener
continue;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
}
catch( const Exception& )
{
DBG_UNHANDLED_EXCEPTION();
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
// no listener felt responsible for the error, or a listener told to ask the user
try
{
SQLContext aError;
aError.Context = *this;
aError.Message = String( ModuleRes( STR_ERROR_OCCURED_WHILE_COPYING ) );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
::dbtools::SQLExceptionInfo aInfo( _rEvent.Error );
if ( aInfo.isValid() )
aError.NextException = _rEvent.Error;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
else
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
{
// a non-SQL exception happend
Exception aException;
OSL_VERIFY( _rEvent.Error >>= aException );
SQLContext aContext;
aContext.Context = aException.Context;
aContext.Message = aException.Message;
aContext.Details = _rEvent.Error.getValueTypeName();
aError.NextException <<= aContext;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
::rtl::Reference< ::comphelper::OInteractionRequest > xRequest( new ::comphelper::OInteractionRequest( makeAny( aError ) ) );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
::rtl::Reference< ::comphelper::OInteractionApprove > xYes = new ::comphelper::OInteractionApprove;
xRequest->addContinuation( xYes.get() );
xRequest->addContinuation( new ::comphelper::OInteractionDisapprove );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
OSL_ENSURE( m_xInteractionHandler.is(),
"CopyTableWizard::impl_processCopyError_nothrow: we always should have an interaction handler!" );
if ( m_xInteractionHandler.is() )
m_xInteractionHandler->handle( xRequest.get() );
if ( xYes->wasSelected() )
// continue copying
return true;
}
catch( const Exception& )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
DBG_UNHANDLED_EXCEPTION();
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
// cancel copying
return false;
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//-------------------------------------------------------------------------
void CopyTableWizard::impl_copyRows_throw( const Reference< XResultSet >& _rxSourceResultSet,
const Reference< XPropertySet >& _rxDestTable )
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::impl_copyRows_throw" );
OSL_PRECOND( m_xDestConnection.is(), "CopyTableWizard::impl_copyRows_throw: illegal call!" );
if ( !m_xDestConnection.is() )
throw RuntimeException( ::rtl::OUString(), *this );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
Reference< XDatabaseMetaData > xDestMetaData( m_xDestConnection->getMetaData(), UNO_QUERY_THROW );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
const OCopyTableWizard& rWizard = impl_getDialog_throw();
ODatabaseExport::TPositions aColumnMapping = rWizard.GetColumnPositions();
bool bAutoIncrement = rWizard.shouldCreatePrimaryKey();
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
Reference< XRow > xRow ( _rxSourceResultSet, UNO_QUERY_THROW );
Reference< XRowLocate > xRowLocate ( _rxSourceResultSet, UNO_QUERY );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
bool bSelectedRecordsOnly = m_aSourceSelection.getLength() > 0;
if ( bSelectedRecordsOnly && m_bSourceSelectionBookmarks && !xRowLocate.is() )
{
::dbtools::throwGenericSQLException(
String( ModuleRes( STR_CTW_COPY_SOURCE_NEEDS_BOOKMARKS ) ),
*this
);
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
Reference< XResultSetMetaDataSupplier > xSuppResMeta( _rxSourceResultSet, UNO_QUERY_THROW );
Reference< XResultSetMetaData> xMeta( xSuppResMeta->getMetaData() );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
// we need a vector which all types
sal_Int32 nCount = xMeta->getColumnCount();
::std::vector< sal_Int32 > aSourceColTypes;
aSourceColTypes.reserve( nCount + 1 );
aSourceColTypes.push_back( -1 ); // just to avoid a everytime i-1 call
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
for ( sal_Int32 k=1; k <= nCount; ++k )
aSourceColTypes.push_back( xMeta->getColumnType( k ) );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
// now create, fill and execute the prepared statement
Reference< XPreparedStatement > xStatement( ODatabaseExport::createPreparedStatment( xDestMetaData, _rxDestTable, aColumnMapping ), UNO_SET_THROW );
Reference< XParameters > xStatementParams( xStatement, UNO_QUERY_THROW );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
sal_Int32 nRowCount = 0;
const Any* pSelectedRow = m_aSourceSelection.getConstArray();
const Any* pSelEnd = pSelectedRow + m_aSourceSelection.getLength();
bool bContinue = false;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
CopyTableRowEvent aCopyEvent;
aCopyEvent.Source = *this;
aCopyEvent.SourceData = _rxSourceResultSet;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
do // loop as long as there are more rows or the selection ends
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
bContinue = false;
if ( bSelectedRecordsOnly )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( pSelectedRow != pSelEnd )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( m_bSourceSelectionBookmarks )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
xRowLocate->moveToBookmark( *pSelectedRow );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
else
{
sal_Int32 nPos = 0;
OSL_VERIFY( *pSelectedRow >>= nPos );
bContinue = _rxSourceResultSet->absolute( nPos );
}
++pSelectedRow;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
else
bContinue = _rxSourceResultSet->next();
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( !bContinue )
CWS-TOOLING: integrate CWS dba32c 2009-06-29 20:53:25 +0200 fs r273484 : #i103138# Rectangle conversion 2009-06-29 20:51:50 +0200 fs r273483 : #i103138# yet more refactoring, now also setting the proper zoom level at the proper point in time 2009-06-29 13:40:26 +0200 fs r273470 : added svn:ignore to ignore output paths 2009-06-29 10:08:54 +0200 fs r273455 : #i103138# refactored the code for positioning/zooming the control Basically, we now allow adjustControlGeometry_throw (formerly known as positionControl_throw and setControlZoom) to take an additional ViewTransformation parameter, describing the transformation to obtain the actual control position/size. Consequently, positionControl itself also allows for a ViewTransformation parameter. This has become necessary since during painting, the device which we created our control for might not necessarily have a proper MapMode set. In this case, if we would use this map mode for calculating the control's position/size, this would lead to wrong results. Note that this problem was introduced by the fix for #i101398#: During the fix, we postponed the control creation to a later time (when it is really needed). At this later time, the MapMode at the device is broken, at the earlier time where we formerly crearted the control (createPrimitive2DSequence), it is not yet broken. Whether or not the MapMode is defined as "broken" might depend on one's point of view, however ... I consider it broken, since: - we need the map mode to obtain the proper zoom level, which is to be forwarded to the control - there are scenarios where the MapMode is *not* set to MAP_PIXEL (in those scenarios, everything works fine), and there are scenarios where it *is* set to MAP_PIXEL (in those the bug 103138 appears). It somehow feels wrong that one cannot rely on the device's map mode this way, but on the other hand one has no possibility to obtain the current zoom by other means. Note that one issue (still to be submitted) is left: In the page pane of a Draw/Impress document, controls have a wrong text size. This is because in this pane, the above-mentioned "broken" map mode is used, which means the controls have a zoom of "1:1" set, which is wrong here. 2009-06-25 13:41:35 +0200 msc r273380 : #100000# the tabs changed die to new properties 2009-06-24 12:42:40 +0200 msc r273330 : #102082# remove issue warning 2009-06-22 10:43:14 +0200 fs r273201 : createPrimitive2DSequence: care for being disposed 2009-06-18 12:35:13 +0200 oj r273109 : #i102305# make nooptfiles for gcc 2009-06-17 12:14:37 +0200 oj r273056 : #i102305# fix for linux 2009-06-17 07:20:22 +0200 oj r273046 : #i102305# move ValueTransfer into the for loop to avoid a crash under Linux 2009-06-17 07:17:28 +0200 oj r273045 : #i102305# use varchar 2009-06-15 14:11:27 +0200 fs r272983 : added since tag 2009-06-15 12:11:39 +0200 oj r272973 : #i102305# SAL_DLLPUBLIC_EXPORT inserted 2009-06-15 11:08:53 +0200 fs r272969 : #i10000# 2009-06-15 09:25:13 +0200 fs r272963 : merging fix for P1 issue #i102701# 2009-06-11 11:31:24 +0200 fs r272858 : #i10000# copied the fix which before the rebase was done in ../dialog/macropg.src 2009-06-11 09:38:14 +0200 fs r272846 : CWS-TOOLING: rebase CWS dba32c to trunk@272827 (milestone: DEV300:m50) 2009-06-02 09:53:10 +0200 fs r272483 : #i10000# 2009-05-29 15:55:03 +0200 fs r272465 : #i100818# 2009-05-29 12:58:43 +0200 fs r272452 : don't apply comphelper::getString on possibly VOID any 2009-05-29 10:38:35 +0200 oj r272437 : #i101519# handle where condition 2009-05-29 09:53:39 +0200 fs r272434 : #i100818# call into releaseStubs /without/ locked GlobalMutex 2009-05-28 07:53:44 +0200 oj r272375 : #i101369# parse tree changed 2009-05-27 14:53:36 +0200 fs r272347 : #i10000# 2009-05-27 09:29:15 +0200 oj r272327 : #i101626# check for double before hard cast 2009-05-27 09:13:58 +0200 oj r272326 : #i101626# handle void correctly 2009-05-27 08:04:39 +0200 oj r272321 : #i102256# wrong method signature used 2009-05-27 07:55:52 +0200 oj r272320 : #i101519# look up parameter typ if used in function 2009-05-27 06:49:07 +0200 oj r272319 : #i101519# set parameter from rowset as well 2009-05-26 13:30:56 +0200 oj r272297 : #i101987# impl XBatchExecution 2009-05-26 12:44:34 +0200 oj r272293 : #i101700# check if group is not set 2009-05-26 12:16:53 +0200 oj r272290 : #i101369# resolved some reduce7reduce problems with boolean_term and search_condition 2009-05-26 12:12:42 +0200 oj r272289 : #i101369# fix for or on one line criteria 2009-05-25 16:02:25 +0200 fs r272257 : #i999704# +PROPERTY_MOUSE_WHEEL_BEHAVIOR 2009-05-25 16:01:55 +0200 fs r272256 : merging the changes from CWS dba32b herein 2009-05-25 15:49:57 +0200 fs r272254 : #i999704# 2009-05-25 15:32:57 +0200 fs r272252 : #i99704# grid columns also to respect the MouseWheelBehavior property 2009-05-25 15:23:43 +0200 fs r272251 : don't pass empty Anys to ::comphelper::getString 2009-05-25 14:48:43 +0200 fs r272248 : merged changes from CWS dba32b herein 2009-05-25 14:44:40 +0200 fs r272247 : #i99704# support new MouseWheelBehavior property 2009-05-25 14:43:18 +0200 fs r272246 : #i99704# WheelWithoutFocus (peer property) superseded by MouseWheelBehavior (model property) 2009-05-25 14:41:03 +0200 fs r272245 : #i99704# no need to set the mouse wheel behavior at the peer, this is now a model property, having the right default 2009-05-25 14:39:31 +0200 fs r272243 : removed dead import 2009-05-25 14:35:36 +0200 fs r272242 : the new EnableVisible doesn't make sense for grid columns 2009-05-25 14:34:33 +0200 fs r272241 : #i99704# +MouseWheelBehavior - allow to enable/disable the mouse wheel for the control, or make it focus-dependent 2009-05-25 14:26:11 +0200 fs r272240 : #i99704# change MouseSettings wheel flag (NoWheelActionWithoutFocus) to a three-state option, allowing to completely ignore the mouse wheel 2009-05-23 21:35:59 +0200 fs r272213 : localize 'sub component opened/closed' event 2009-05-22 21:42:47 +0200 fs r272211 : #i102003# 2009-05-22 21:42:20 +0200 fs r272210 : grammar 2009-05-22 21:36:10 +0200 fs r272209 : #i102140# load only once, not twice, and show error messages during loading (and during any form action, that is) asynchronously 2009-05-22 21:35:11 +0200 fs r272208 : #i102140# +clear 2009-05-22 14:50:30 +0200 fs r272194 : #i102139# for newly created DB docs, set the MacroExecutionMode to USE_CONFIG 2009-05-22 12:03:42 +0200 fs r272180 : #i88878# provided by noel.power@novell.com implement a visibility property (EnableVisible) for toolkit controls, and usage in forms and UNO dialogs 2009-05-15 15:37:31 +0200 fs r271942 : #i100671# corrected some @since tags, so autodoc has better chances of correctly reading them 2009-05-15 15:33:11 +0200 fs r271940 : don't call comphelper::getFOO for VOID values 2009-05-15 15:08:31 +0200 fs r271937 : includes 2009-05-15 13:39:22 +0200 fs r271934 : #i101398# createPrimitive2DSequence: when we already have a control, use the old code. In particular, call positionControlForPaint 2009-05-15 12:33:48 +0200 fs r271933 : make the geometry a part of the ControlPrimitive2D's identity 2009-05-15 10:15:44 +0200 fs r271928 : #i10000# 2009-05-14 20:55:38 +0200 fs r271921 : #i101398# don't reuse the name PRIMITIVE_ID_CONTROLPRIMITIVE2D, make the name of our own ControlPrimitive2D unique 2009-05-14 20:55:31 +0200 fs r271920 : #i101398# don't reuse the name PRIMITIVE_ID_CONTROLPRIMITIVE2D, make the name of our own ControlPrimitive2D unique 2009-05-14 20:23:23 +0200 fs r271919 : #i101622# 2009-05-14 16:04:38 +0200 fs r271898 : don't use comphelper::getInt32 on voids 2009-05-14 16:04:12 +0200 fs r271897 : merge fix for issue whose number just slipped my memory ... (originally fixed in CWS dba32b) 2009-05-14 15:36:55 +0200 fs r271895 : merging changes from DEV300:m48 2009-05-07 14:43:19 +0200 fs r271670 : #i101477# 2009-05-07 14:37:30 +0200 fs r271668 : #i101477# 2009-05-07 09:27:30 +0200 oj r271628 : #i101343# remove pch 2009-05-06 09:36:02 +0200 fs r271568 : getFoo: diagnostics 2009-05-04 09:23:06 +0200 oj r271438 : CWS-TOOLING: rebase CWS dba32c to trunk@271427 (milestone: DEV300:m47) 2009-04-29 23:18:13 +0200 fs r271394 : #i101398# use a dedicated 2DPrimitive for UNO Controls, which is able to provide the B2DRange *without* actually creating the control 2009-04-29 13:52:25 +0200 fs r271366 : #i101308#
2009-07-03 14:21:50 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
break;
CWS-TOOLING: integrate CWS dba32c 2009-06-29 20:53:25 +0200 fs r273484 : #i103138# Rectangle conversion 2009-06-29 20:51:50 +0200 fs r273483 : #i103138# yet more refactoring, now also setting the proper zoom level at the proper point in time 2009-06-29 13:40:26 +0200 fs r273470 : added svn:ignore to ignore output paths 2009-06-29 10:08:54 +0200 fs r273455 : #i103138# refactored the code for positioning/zooming the control Basically, we now allow adjustControlGeometry_throw (formerly known as positionControl_throw and setControlZoom) to take an additional ViewTransformation parameter, describing the transformation to obtain the actual control position/size. Consequently, positionControl itself also allows for a ViewTransformation parameter. This has become necessary since during painting, the device which we created our control for might not necessarily have a proper MapMode set. In this case, if we would use this map mode for calculating the control's position/size, this would lead to wrong results. Note that this problem was introduced by the fix for #i101398#: During the fix, we postponed the control creation to a later time (when it is really needed). At this later time, the MapMode at the device is broken, at the earlier time where we formerly crearted the control (createPrimitive2DSequence), it is not yet broken. Whether or not the MapMode is defined as "broken" might depend on one's point of view, however ... I consider it broken, since: - we need the map mode to obtain the proper zoom level, which is to be forwarded to the control - there are scenarios where the MapMode is *not* set to MAP_PIXEL (in those scenarios, everything works fine), and there are scenarios where it *is* set to MAP_PIXEL (in those the bug 103138 appears). It somehow feels wrong that one cannot rely on the device's map mode this way, but on the other hand one has no possibility to obtain the current zoom by other means. Note that one issue (still to be submitted) is left: In the page pane of a Draw/Impress document, controls have a wrong text size. This is because in this pane, the above-mentioned "broken" map mode is used, which means the controls have a zoom of "1:1" set, which is wrong here. 2009-06-25 13:41:35 +0200 msc r273380 : #100000# the tabs changed die to new properties 2009-06-24 12:42:40 +0200 msc r273330 : #102082# remove issue warning 2009-06-22 10:43:14 +0200 fs r273201 : createPrimitive2DSequence: care for being disposed 2009-06-18 12:35:13 +0200 oj r273109 : #i102305# make nooptfiles for gcc 2009-06-17 12:14:37 +0200 oj r273056 : #i102305# fix for linux 2009-06-17 07:20:22 +0200 oj r273046 : #i102305# move ValueTransfer into the for loop to avoid a crash under Linux 2009-06-17 07:17:28 +0200 oj r273045 : #i102305# use varchar 2009-06-15 14:11:27 +0200 fs r272983 : added since tag 2009-06-15 12:11:39 +0200 oj r272973 : #i102305# SAL_DLLPUBLIC_EXPORT inserted 2009-06-15 11:08:53 +0200 fs r272969 : #i10000# 2009-06-15 09:25:13 +0200 fs r272963 : merging fix for P1 issue #i102701# 2009-06-11 11:31:24 +0200 fs r272858 : #i10000# copied the fix which before the rebase was done in ../dialog/macropg.src 2009-06-11 09:38:14 +0200 fs r272846 : CWS-TOOLING: rebase CWS dba32c to trunk@272827 (milestone: DEV300:m50) 2009-06-02 09:53:10 +0200 fs r272483 : #i10000# 2009-05-29 15:55:03 +0200 fs r272465 : #i100818# 2009-05-29 12:58:43 +0200 fs r272452 : don't apply comphelper::getString on possibly VOID any 2009-05-29 10:38:35 +0200 oj r272437 : #i101519# handle where condition 2009-05-29 09:53:39 +0200 fs r272434 : #i100818# call into releaseStubs /without/ locked GlobalMutex 2009-05-28 07:53:44 +0200 oj r272375 : #i101369# parse tree changed 2009-05-27 14:53:36 +0200 fs r272347 : #i10000# 2009-05-27 09:29:15 +0200 oj r272327 : #i101626# check for double before hard cast 2009-05-27 09:13:58 +0200 oj r272326 : #i101626# handle void correctly 2009-05-27 08:04:39 +0200 oj r272321 : #i102256# wrong method signature used 2009-05-27 07:55:52 +0200 oj r272320 : #i101519# look up parameter typ if used in function 2009-05-27 06:49:07 +0200 oj r272319 : #i101519# set parameter from rowset as well 2009-05-26 13:30:56 +0200 oj r272297 : #i101987# impl XBatchExecution 2009-05-26 12:44:34 +0200 oj r272293 : #i101700# check if group is not set 2009-05-26 12:16:53 +0200 oj r272290 : #i101369# resolved some reduce7reduce problems with boolean_term and search_condition 2009-05-26 12:12:42 +0200 oj r272289 : #i101369# fix for or on one line criteria 2009-05-25 16:02:25 +0200 fs r272257 : #i999704# +PROPERTY_MOUSE_WHEEL_BEHAVIOR 2009-05-25 16:01:55 +0200 fs r272256 : merging the changes from CWS dba32b herein 2009-05-25 15:49:57 +0200 fs r272254 : #i999704# 2009-05-25 15:32:57 +0200 fs r272252 : #i99704# grid columns also to respect the MouseWheelBehavior property 2009-05-25 15:23:43 +0200 fs r272251 : don't pass empty Anys to ::comphelper::getString 2009-05-25 14:48:43 +0200 fs r272248 : merged changes from CWS dba32b herein 2009-05-25 14:44:40 +0200 fs r272247 : #i99704# support new MouseWheelBehavior property 2009-05-25 14:43:18 +0200 fs r272246 : #i99704# WheelWithoutFocus (peer property) superseded by MouseWheelBehavior (model property) 2009-05-25 14:41:03 +0200 fs r272245 : #i99704# no need to set the mouse wheel behavior at the peer, this is now a model property, having the right default 2009-05-25 14:39:31 +0200 fs r272243 : removed dead import 2009-05-25 14:35:36 +0200 fs r272242 : the new EnableVisible doesn't make sense for grid columns 2009-05-25 14:34:33 +0200 fs r272241 : #i99704# +MouseWheelBehavior - allow to enable/disable the mouse wheel for the control, or make it focus-dependent 2009-05-25 14:26:11 +0200 fs r272240 : #i99704# change MouseSettings wheel flag (NoWheelActionWithoutFocus) to a three-state option, allowing to completely ignore the mouse wheel 2009-05-23 21:35:59 +0200 fs r272213 : localize 'sub component opened/closed' event 2009-05-22 21:42:47 +0200 fs r272211 : #i102003# 2009-05-22 21:42:20 +0200 fs r272210 : grammar 2009-05-22 21:36:10 +0200 fs r272209 : #i102140# load only once, not twice, and show error messages during loading (and during any form action, that is) asynchronously 2009-05-22 21:35:11 +0200 fs r272208 : #i102140# +clear 2009-05-22 14:50:30 +0200 fs r272194 : #i102139# for newly created DB docs, set the MacroExecutionMode to USE_CONFIG 2009-05-22 12:03:42 +0200 fs r272180 : #i88878# provided by noel.power@novell.com implement a visibility property (EnableVisible) for toolkit controls, and usage in forms and UNO dialogs 2009-05-15 15:37:31 +0200 fs r271942 : #i100671# corrected some @since tags, so autodoc has better chances of correctly reading them 2009-05-15 15:33:11 +0200 fs r271940 : don't call comphelper::getFOO for VOID values 2009-05-15 15:08:31 +0200 fs r271937 : includes 2009-05-15 13:39:22 +0200 fs r271934 : #i101398# createPrimitive2DSequence: when we already have a control, use the old code. In particular, call positionControlForPaint 2009-05-15 12:33:48 +0200 fs r271933 : make the geometry a part of the ControlPrimitive2D's identity 2009-05-15 10:15:44 +0200 fs r271928 : #i10000# 2009-05-14 20:55:38 +0200 fs r271921 : #i101398# don't reuse the name PRIMITIVE_ID_CONTROLPRIMITIVE2D, make the name of our own ControlPrimitive2D unique 2009-05-14 20:55:31 +0200 fs r271920 : #i101398# don't reuse the name PRIMITIVE_ID_CONTROLPRIMITIVE2D, make the name of our own ControlPrimitive2D unique 2009-05-14 20:23:23 +0200 fs r271919 : #i101622# 2009-05-14 16:04:38 +0200 fs r271898 : don't use comphelper::getInt32 on voids 2009-05-14 16:04:12 +0200 fs r271897 : merge fix for issue whose number just slipped my memory ... (originally fixed in CWS dba32b) 2009-05-14 15:36:55 +0200 fs r271895 : merging changes from DEV300:m48 2009-05-07 14:43:19 +0200 fs r271670 : #i101477# 2009-05-07 14:37:30 +0200 fs r271668 : #i101477# 2009-05-07 09:27:30 +0200 oj r271628 : #i101343# remove pch 2009-05-06 09:36:02 +0200 fs r271568 : getFoo: diagnostics 2009-05-04 09:23:06 +0200 oj r271438 : CWS-TOOLING: rebase CWS dba32c to trunk@271427 (milestone: DEV300:m47) 2009-04-29 23:18:13 +0200 fs r271394 : #i101398# use a dedicated 2DPrimitive for UNO Controls, which is able to provide the B2DRange *without* actually creating the control 2009-04-29 13:52:25 +0200 fs r271366 : #i101308#
2009-07-03 14:21:50 +00:00
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
++nRowCount;
sal_Bool bInsertAutoIncrement = sal_True;
ODatabaseExport::TPositions::const_iterator aPosIter = aColumnMapping.begin();
CWS-TOOLING: integrate CWS dbaperf2 2009-06-22 11:04:36 +0200 msc r273202 : #100000# fix to run this test 2009-06-22 09:41:04 +0200 msc r273200 : #100000# correct case 2009-06-22 09:02:42 +0200 msc r273199 : new SRB 2009-06-22 08:53:26 +0200 msc r273198 : #100000 2009-06-15 12:36:32 +0200 oj r272976 : test 2009-06-12 14:23:23 +0200 msc r272918 : #101587# unused feature was removed 2009-06-12 06:45:17 +0200 oj r272903 : use GUI instead of OS 2009-06-11 09:12:30 +0200 oj r272845 : remove unused dep 2009-06-11 09:11:09 +0200 oj r272844 : ColumnAliasInOrderBy not supported 2009-06-11 08:27:00 +0200 oj r272843 : CWS-TOOLING: rebase CWS dbaperf2 to trunk@272827 (milestone: DEV300:m50) 2009-06-10 15:30:17 +0200 msc r272822 : #100000 2009-06-10 15:27:40 +0200 msc r272820 : #102515# new function for the database type list 2009-06-10 15:26:09 +0200 msc r272818 : move file to dbaccess/tools/dbcreatetools.inc 2009-06-10 15:20:10 +0200 msc r272816 : #102515# new function for the database type list 2009-06-10 12:34:46 +0200 oj r272803 : #i101587# check extension 2009-06-10 11:53:45 +0200 oj r272800 : remove unused code 2009-06-09 09:57:25 +0200 oj r272752 : #i101587# EscapeDateTime moved into features section 2009-06-09 09:56:26 +0200 oj r272751 : enable finish 2009-06-08 11:50:37 +0200 oj r272726 : #i102588# move convert tzo saveDataSource 2009-06-05 11:54:20 +0200 jsk r272676 : #i102515# - NEW: Functions to retrieve Database names from API 2009-06-05 10:52:22 +0200 jsk r272671 : NEW: Functions to retrieve Database names from API 2009-06-05 09:36:54 +0200 oj r272666 : handle win and unx differently 2009-06-05 09:36:28 +0200 oj r272665 : handle win and unx differently 2009-06-04 13:41:56 +0200 oj r272625 : #i101268# make use of stringbuffer instead of oustring 2009-06-04 10:18:14 +0200 oj r272612 : add SAL_DLLPUBLIC_EXPORT 2009-05-28 10:56:33 +0200 oj r272381 : #i101587# create langpacks 2009-05-28 10:41:59 +0200 oj r272380 : #i101587# create langpacks 2009-05-28 10:29:30 +0200 oj r272379 : #i101587# create langpacks 2009-05-07 10:11:46 +0200 oj r271635 : fix compile warnings 2009-05-07 07:01:31 +0200 oj r271619 : change type from int32 to PathID 2009-05-07 06:53:19 +0200 oj r271618 : add all 2009-05-06 14:57:02 +0200 oj r271595 : add missing lib 2009-05-06 14:56:54 +0200 oj r271594 : no used anymore 2009-05-06 14:56:08 +0200 oj r271593 : no used anymore 2009-05-06 14:54:25 +0200 oj r271592 : no used anymore 2009-05-06 14:45:59 +0200 oj r271591 : add missing lib 2009-05-06 14:41:54 +0200 oj r271590 : change wnt 2009-05-06 14:22:21 +0200 oj r271589 : #i101587# use config for the drivers 2009-05-06 14:21:39 +0200 oj r271588 : #i101587# add new set for metadata and config data for driver 2009-05-06 14:19:36 +0200 oj r271587 : #i101587# handle metadata and props of driver 2009-05-06 10:11:11 +0200 oj r271570 : #i101587# correct wrong use of reference 2009-05-06 09:24:33 +0200 oj r271567 : #i101587# add new set for metadata 2009-05-06 08:52:06 +0200 oj r271563 : #i101587# add driver configuration 2009-05-06 08:51:04 +0200 oj r271562 : #i101587# add driver configuration 2009-05-04 10:24:41 +0200 oj r271442 : CWS-TOOLING: rebase CWS dbaperf2 to trunk@271427 (milestone: DEV300:m47) 2009-04-28 07:06:22 +0200 oj r271303 : compile error 2009-04-27 14:12:48 +0200 oj r271270 : #i101268# make use of stringbuffer instead of oustring 2009-04-27 14:12:27 +0200 oj r271269 : #i101268# make use of stringbuffer instead of oustring 2009-04-27 09:30:10 +0200 oj r271255 : use string buffer when possible 2009-04-24 11:56:01 +0200 oj r271207 : #i101268# remove end() call from loop 2009-04-23 14:24:03 +0200 oj r271171 : add dep 2009-04-23 13:25:25 +0200 oj r271164 : #i101268# add config entries for database drivers 2009-04-23 13:07:13 +0200 oj r271161 : #i101268# add config entries for database drivers 2009-04-23 13:06:33 +0200 oj r271160 : #i101268# add parent url pattern entry for driver node 2009-04-23 13:05:39 +0200 oj r271159 : #i101268# add config entry for driver node 2009-04-23 13:04:09 +0200 oj r271157 : #i101268# add config entry for driver node 2009-04-23 06:41:32 +0200 oj r271142 : #i101268# add new configuration file Drivers 2009-04-22 13:49:19 +0200 oj r271103 : convert EOL 2009-04-22 13:29:17 +0200 oj r271101 : #i101268# use of driver configuration entries for features and properties 2009-04-22 13:28:08 +0200 oj r271100 : #i101268# use of driver configuration entries for features and properties 2009-04-22 13:15:26 +0200 oj r271098 : #i101268# add new configuration file Drivers 2009-04-22 13:14:43 +0200 oj r271097 : #i101268# use of driver configuration entries for features and properties
2009-07-03 12:24:35 +00:00
ODatabaseExport::TPositions::const_iterator aPosEnd = aColumnMapping.end();
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
aCopyEvent.Error.clear();
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
try
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
// notify listeners
m_aCopyTableListeners.notifyEach( &XCopyTableListener::copyingRow, aCopyEvent );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
sal_Int32 nDestColumn( 0 );
sal_Int32 nSourceColumn( 1 );
ValueTransfer aTransfer( nSourceColumn, nDestColumn, aSourceColTypes, xRow, xStatementParams );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf2 2009-06-22 11:04:36 +0200 msc r273202 : #100000# fix to run this test 2009-06-22 09:41:04 +0200 msc r273200 : #100000# correct case 2009-06-22 09:02:42 +0200 msc r273199 : new SRB 2009-06-22 08:53:26 +0200 msc r273198 : #100000 2009-06-15 12:36:32 +0200 oj r272976 : test 2009-06-12 14:23:23 +0200 msc r272918 : #101587# unused feature was removed 2009-06-12 06:45:17 +0200 oj r272903 : use GUI instead of OS 2009-06-11 09:12:30 +0200 oj r272845 : remove unused dep 2009-06-11 09:11:09 +0200 oj r272844 : ColumnAliasInOrderBy not supported 2009-06-11 08:27:00 +0200 oj r272843 : CWS-TOOLING: rebase CWS dbaperf2 to trunk@272827 (milestone: DEV300:m50) 2009-06-10 15:30:17 +0200 msc r272822 : #100000 2009-06-10 15:27:40 +0200 msc r272820 : #102515# new function for the database type list 2009-06-10 15:26:09 +0200 msc r272818 : move file to dbaccess/tools/dbcreatetools.inc 2009-06-10 15:20:10 +0200 msc r272816 : #102515# new function for the database type list 2009-06-10 12:34:46 +0200 oj r272803 : #i101587# check extension 2009-06-10 11:53:45 +0200 oj r272800 : remove unused code 2009-06-09 09:57:25 +0200 oj r272752 : #i101587# EscapeDateTime moved into features section 2009-06-09 09:56:26 +0200 oj r272751 : enable finish 2009-06-08 11:50:37 +0200 oj r272726 : #i102588# move convert tzo saveDataSource 2009-06-05 11:54:20 +0200 jsk r272676 : #i102515# - NEW: Functions to retrieve Database names from API 2009-06-05 10:52:22 +0200 jsk r272671 : NEW: Functions to retrieve Database names from API 2009-06-05 09:36:54 +0200 oj r272666 : handle win and unx differently 2009-06-05 09:36:28 +0200 oj r272665 : handle win and unx differently 2009-06-04 13:41:56 +0200 oj r272625 : #i101268# make use of stringbuffer instead of oustring 2009-06-04 10:18:14 +0200 oj r272612 : add SAL_DLLPUBLIC_EXPORT 2009-05-28 10:56:33 +0200 oj r272381 : #i101587# create langpacks 2009-05-28 10:41:59 +0200 oj r272380 : #i101587# create langpacks 2009-05-28 10:29:30 +0200 oj r272379 : #i101587# create langpacks 2009-05-07 10:11:46 +0200 oj r271635 : fix compile warnings 2009-05-07 07:01:31 +0200 oj r271619 : change type from int32 to PathID 2009-05-07 06:53:19 +0200 oj r271618 : add all 2009-05-06 14:57:02 +0200 oj r271595 : add missing lib 2009-05-06 14:56:54 +0200 oj r271594 : no used anymore 2009-05-06 14:56:08 +0200 oj r271593 : no used anymore 2009-05-06 14:54:25 +0200 oj r271592 : no used anymore 2009-05-06 14:45:59 +0200 oj r271591 : add missing lib 2009-05-06 14:41:54 +0200 oj r271590 : change wnt 2009-05-06 14:22:21 +0200 oj r271589 : #i101587# use config for the drivers 2009-05-06 14:21:39 +0200 oj r271588 : #i101587# add new set for metadata and config data for driver 2009-05-06 14:19:36 +0200 oj r271587 : #i101587# handle metadata and props of driver 2009-05-06 10:11:11 +0200 oj r271570 : #i101587# correct wrong use of reference 2009-05-06 09:24:33 +0200 oj r271567 : #i101587# add new set for metadata 2009-05-06 08:52:06 +0200 oj r271563 : #i101587# add driver configuration 2009-05-06 08:51:04 +0200 oj r271562 : #i101587# add driver configuration 2009-05-04 10:24:41 +0200 oj r271442 : CWS-TOOLING: rebase CWS dbaperf2 to trunk@271427 (milestone: DEV300:m47) 2009-04-28 07:06:22 +0200 oj r271303 : compile error 2009-04-27 14:12:48 +0200 oj r271270 : #i101268# make use of stringbuffer instead of oustring 2009-04-27 14:12:27 +0200 oj r271269 : #i101268# make use of stringbuffer instead of oustring 2009-04-27 09:30:10 +0200 oj r271255 : use string buffer when possible 2009-04-24 11:56:01 +0200 oj r271207 : #i101268# remove end() call from loop 2009-04-23 14:24:03 +0200 oj r271171 : add dep 2009-04-23 13:25:25 +0200 oj r271164 : #i101268# add config entries for database drivers 2009-04-23 13:07:13 +0200 oj r271161 : #i101268# add config entries for database drivers 2009-04-23 13:06:33 +0200 oj r271160 : #i101268# add parent url pattern entry for driver node 2009-04-23 13:05:39 +0200 oj r271159 : #i101268# add config entry for driver node 2009-04-23 13:04:09 +0200 oj r271157 : #i101268# add config entry for driver node 2009-04-23 06:41:32 +0200 oj r271142 : #i101268# add new configuration file Drivers 2009-04-22 13:49:19 +0200 oj r271103 : convert EOL 2009-04-22 13:29:17 +0200 oj r271101 : #i101268# use of driver configuration entries for features and properties 2009-04-22 13:28:08 +0200 oj r271100 : #i101268# use of driver configuration entries for features and properties 2009-04-22 13:15:26 +0200 oj r271098 : #i101268# add new configuration file Drivers 2009-04-22 13:14:43 +0200 oj r271097 : #i101268# use of driver configuration entries for features and properties
2009-07-03 12:24:35 +00:00
for ( ; aPosIter != aPosEnd; ++aPosIter )
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
{
nDestColumn = aPosIter->first;
if ( nDestColumn == COLUMN_POSITION_NOT_FOUND )
{
++nSourceColumn;
// otherwise we don't get the correct value when only the 2nd source column was selected
continue;
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( bAutoIncrement && bInsertAutoIncrement )
{
xStatementParams->setInt( 1, nRowCount );
bInsertAutoIncrement = sal_False;
continue;
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( ( nSourceColumn < 1 ) || ( nSourceColumn >= (sal_Int32)aSourceColTypes.size() ) )
{ // ( we have to check here against 1 because the parameters are 1 based)
::dbtools::throwSQLException(
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Internal error: invalid column type index." ) ),
::dbtools::SQL_INVALID_DESCRIPTOR_INDEX,
*this
);
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
switch ( aSourceColTypes[ nSourceColumn ] )
{
case DataType::DOUBLE:
case DataType::REAL:
aTransfer.transferValue( &XRow::getDouble, &XParameters::setDouble );
break;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
case DataType::CHAR:
case DataType::VARCHAR:
case DataType::LONGVARCHAR:
case DataType::DECIMAL:
case DataType::NUMERIC:
aTransfer.transferComplexValue( &XRow::getString, &XParameters::setString );
break;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
case DataType::BIGINT:
aTransfer.transferValue( &XRow::getLong, &XParameters::setLong );
break;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
case DataType::FLOAT:
aTransfer.transferValue( &XRow::getFloat, &XParameters::setFloat );
break;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
case DataType::LONGVARBINARY:
case DataType::BINARY:
case DataType::VARBINARY:
2009-11-11 14:01:37 +01:00
case DataType::BIT:
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
aTransfer.transferComplexValue( &XRow::getBytes, &XParameters::setBytes );
break;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
case DataType::DATE:
aTransfer.transferComplexValue( &XRow::getDate, &XParameters::setDate );
break;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
case DataType::TIME:
aTransfer.transferComplexValue( &XRow::getTime, &XParameters::setTime );
break;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
case DataType::TIMESTAMP:
aTransfer.transferComplexValue( &XRow::getTimestamp, &XParameters::setTimestamp );
break;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
case DataType::BOOLEAN:
aTransfer.transferValue( &XRow::getBoolean, &XParameters::setBoolean );
break;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
case DataType::TINYINT:
aTransfer.transferValue( &XRow::getByte, &XParameters::setByte );
break;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
case DataType::SMALLINT:
aTransfer.transferValue( &XRow::getShort, &XParameters::setShort );
break;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
case DataType::INTEGER:
aTransfer.transferValue( &XRow::getInt, &XParameters::setInt );
break;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
2009-11-11 14:01:37 +01:00
case DataType::BLOB:
aTransfer.transferComplexValue( &XRow::getBlob, &XParameters::setBlob );
break;
case DataType::CLOB:
aTransfer.transferComplexValue( &XRow::getClob, &XParameters::setClob );
break;
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
default:
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
::rtl::OUString aMessage( String( ModuleRes( STR_CTW_UNSUPPORTED_COLUMN_TYPE ) ) );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
aMessage.replaceAt( aMessage.indexOfAsciiL( "$type$", 6 ), 6, ::rtl::OUString::valueOf( aSourceColTypes[ nSourceColumn ] ) );
aMessage.replaceAt( aMessage.indexOfAsciiL( "$pos$", 5 ), 5, ::rtl::OUString::valueOf( nSourceColumn ) );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
::dbtools::throwSQLException(
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
aMessage,
::dbtools::SQL_INVALID_SQL_DATA_TYPE,
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
*this
);
}
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
++nSourceColumn;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
xStatement->executeUpdate();
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
// notify listeners
m_aCopyTableListeners.notifyEach( &XCopyTableListener::copiedRow, aCopyEvent );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
catch( const Exception& )
{
aCopyEvent.Error = ::cppu::getCaughtException();
}
if ( aCopyEvent.Error.hasValue() )
bContinue = impl_processCopyError_nothrow( aCopyEvent );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
while( bContinue );
}
//-------------------------------------------------------------------------
void CopyTableWizard::impl_doCopy_nothrow()
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::impl_doCopy_nothrow" );
Any aError;
try
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
OCopyTableWizard& rWizard( impl_getDialog_throw() );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
WaitObject aWO( rWizard.GetParent() );
Reference< XPropertySet > xTable;
switch ( rWizard.getOperation() )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
case CopyTableOperation::CopyDefinitionOnly:
case CopyTableOperation::CopyDefinitionAndData:
{
xTable = rWizard.createTable();
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if( !xTable.is() )
{
OSL_ENSURE( false, "CopyTableWizard::impl_doCopy_nothrow: createTable should throw here, shouldn't it?" );
break;
}
if( CopyTableOperation::CopyDefinitionOnly == rWizard.getOperation() )
break;
}
// run through
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
case CopyTableOperation::AppendData:
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( !xTable.is() )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
xTable = rWizard.createTable();
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( !xTable.is() )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
OSL_ENSURE( false, "CopyTableWizard::impl_doCopy_nothrow: createTable should throw here, shouldn't it?" );
break;
}
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
bool bServerCopy = CommandType::TABLE == m_nCommandType && m_xSourceConnection.getTyped() == m_xDestConnection.getTyped() && !m_aSourceSelection.getLength();
try
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( bServerCopy )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
m_xDestConnection->createStatement()->executeUpdate( impl_getSelectStatement_nothrow(xTable) );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
}
catch( const Exception& e )
{
(void)e;
bServerCopy = false;
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( !bServerCopy )
{
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
::utl::SharedUNOComponent< XPreparedStatement > xStatement( impl_createSourceStatement_throw(), UNO_SET_THROW );
Reference< XResultSet > xSourceResultSet( xStatement->executeQuery() );
impl_copyRows_throw( xSourceResultSet, xTable );
}
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
break;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
case CopyTableOperation::CreateAsView:
rWizard.createView();
break;
default:
OSL_ENSURE( false, "CopyTableWizard::impl_doCopy_nothrow: What operation, please?" );
break;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
}
catch( const Exception& )
{
aError = ::cppu::getCaughtException();
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
// silence the error of the user cancelling the parameter's dialog
SQLException aSQLError;
if ( ( aError >>= aSQLError ) && ( aSQLError.ErrorCode == ::dbtools::ParameterInteractionCancelled ) )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
aError.clear();
m_nOverrideExecutionResult = RET_CANCEL;
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( aError.hasValue() && m_xInteractionHandler.is() )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
try
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
::rtl::Reference< ::comphelper::OInteractionRequest > xRequest( new ::comphelper::OInteractionRequest( aError ) );
m_xInteractionHandler->handle( xRequest.get() );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
catch( const Exception& )
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
DBG_UNHANDLED_EXCEPTION();
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
}
}
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
}
// -----------------------------------------------------------------------------
::rtl::OUString CopyTableWizard::impl_getSelectStatement_nothrow(const Reference< XPropertySet >& _xTable)
{
const Reference<XColumnsSupplier> xDestColsSup(_xTable,UNO_QUERY_THROW);
const Sequence< ::rtl::OUString> aDestColumnNames = xDestColsSup->getColumns()->getElementNames();
const Sequence< ::rtl::OUString > aColumnNames = m_pSourceObject->getColumnNames();
const Reference< XDatabaseMetaData > xDestMetaData( m_xDestConnection->getMetaData(), UNO_QUERY_THROW );
const ::rtl::OUString sQuote = xDestMetaData->getIdentifierQuoteString();
::rtl::OUStringBuffer sColumns;
// 1st check if the columns matching
const OCopyTableWizard& rWizard = impl_getDialog_throw();
ODatabaseExport::TPositions aColumnMapping = rWizard.GetColumnPositions();
ODatabaseExport::TPositions::const_iterator aPosIter = aColumnMapping.begin();
for ( sal_Int32 i = 0; aPosIter != aColumnMapping.end() ; ++aPosIter,++i )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( COLUMN_POSITION_NOT_FOUND != aPosIter->second )
{
if ( sColumns.getLength() )
sColumns.appendAscii(",");
sColumns.append(sQuote);
sColumns.append(aDestColumnNames[aPosIter->second - 1]);
sColumns.append(sQuote);
}
} // for ( ; aPosIter != aColumnMapping.end() ; ++aPosIter )
::rtl::OUStringBuffer sSql;
sSql.appendAscii("INSERT INTO ");
const ::rtl::OUString sComposedTableName = ::dbtools::composeTableName( xDestMetaData, _xTable, ::dbtools::eInDataManipulation, false, false, true );
sSql.append( sComposedTableName );
sSql.appendAscii(" ( ");
sSql.append( sColumns );
sSql.appendAscii(" ) ( ");
sSql.append( m_pSourceObject->getSelectStatement());
sSql.appendAscii(" )");
return sSql.makeStringAndClear();
}
//-------------------------------------------------------------------------
void SAL_CALL CopyTableWizard::initialize( const Sequence< Any >& _rArguments ) throw (Exception, RuntimeException)
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::initialize" );
::osl::MutexGuard aGuard( m_aMutex );
if ( isInitialized() )
throw AlreadyInitializedException( ::rtl::OUString(), *this );
sal_Int32 nArgCount( _rArguments.getLength() );
if ( ( nArgCount != 2 ) && ( nArgCount != 3 ) )
throw IllegalArgumentException(
String( ModuleRes( STR_CTW_ILLEGAL_PARAMETER_COUNT ) ),
*this,
1
);
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
try
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( nArgCount == 3 )
{ // ->createWithInteractionHandler
if ( !( _rArguments[2] >>= m_xInteractionHandler ) )
throw IllegalArgumentException(
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "The given interaction handler is invalid." ) ),
// TODO: resource
*this,
3
);
}
if ( !m_xInteractionHandler.is() )
m_xInteractionHandler.set( m_aContext.createComponent( "com.sun.star.sdb.InteractionHandler" ), UNO_QUERY_THROW );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
InteractionHandler xSourceDocHandler;
Reference< XPropertySet > xSourceDescriptor( impl_ensureDataAccessDescriptor_throw( _rArguments, 0, m_xSourceConnection, xSourceDocHandler ) );
m_pSourceObject = impl_extractSourceObject_throw( xSourceDescriptor, m_nCommandType );
InteractionHandler xDestDocHandler;
impl_ensureDataAccessDescriptor_throw( _rArguments, 1, m_xDestConnection, xDestDocHandler );
if ( xDestDocHandler.is() && !m_xInteractionHandler.is() )
m_xInteractionHandler = xDestDocHandler;
}
catch( const RuntimeException& ) { throw; }
catch( const IllegalArgumentException& ) { throw; }
catch( const SQLException& ) { throw; }
catch( const Exception& )
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
{
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
throw WrappedTargetException(
String( ModuleRes( STR_CTW_ERROR_DURING_INITIALIZATION ) ),
*this,
::cppu::getCaughtException()
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
);
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
}
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//-------------------------------------------------------------------------
::cppu::IPropertyArrayHelper& CopyTableWizard::getInfoHelper()
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::getInfoHelper" );
return *getArrayHelper();
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//------------------------------------------------------------------------------
::cppu::IPropertyArrayHelper* CopyTableWizard::createArrayHelper( ) const
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::createArrayHelper" );
Sequence< Property > aProps;
describeProperties( aProps );
return new ::cppu::OPropertyArrayHelper( aProps );
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//------------------------------------------------------------------------------
Dialog* CopyTableWizard::createDialog( Window* _pParent )
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::createDialog" );
OSL_PRECOND( isInitialized(), "CopyTableWizard::createDialog: not initialized!" );
// this should have been prevented in ::execute already
OCopyTableWizard* pWizard = new OCopyTableWizard(
_pParent,
m_sDestinationTable,
m_nOperation,
*m_pSourceObject,
m_xSourceConnection.getTyped(),
m_xDestConnection.getTyped(),
m_aContext.getLegacyServiceFactory()
);
impl_attributesToDialog_nothrow( *pWizard );
return pWizard;
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
//------------------------------------------------------------------------------
void CopyTableWizard::executedDialog( sal_Int16 _nExecutionResult )
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "uno", "Ocke.Janssen@sun.com", "CopyTableWizard::executedDialog" );
CopyTableWizard_DialogBase::executedDialog( _nExecutionResult );
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if ( _nExecutionResult == RET_OK )
impl_doCopy_nothrow();
// do this after impl_doCopy_nothrow: The attributes may change during copying, for instance
// if the user entered an unqualified table name
impl_dialogToAttributes_nothrow( impl_getDialog_throw() );
}
INTEGRATION: CWS dba24d (1.1.2); FILE ADDED 2007/12/05 15:46:11 fs 1.1.2.17: #i81658# ConnectionInfo 2007/11/26 14:23:46 fs 1.1.2.16: #i81658# allow to throw SQLExceptions from the ctors 2007/11/19 10:55:04 fs 1.1.2.15: #i81658# if the user cancelled the parameter request, return RET_CANCEL as overall execution result 2007/11/19 09:49:49 fs 1.1.2.14: #i81658# re-use the prepared statement already created by the CopyTableSource implementation, instead of creating a new one 2007/11/19 08:55:13 fs 1.1.2.13: more settings which are not allowed (read: not yet implemented) in the copy source descriptor 2007/11/19 08:39:01 fs 1.1.2.12: don't allow result sets as copy source, this is not yet supported 2007/11/19 08:32:25 fs 1.1.2.11: don't overwrite an externally-provided interaction handler with the one from the destination document 2007/11/17 21:12:51 fs 1.1.2.10: #i81658# disallow views when target connection does not support creating them / load some error strings from resource 2007/11/15 15:17:51 fs 1.1.2.9: #i81658# also allow to copy a table from an SDBC level connection 2007/11/15 10:08:01 fs 1.1.2.8: #i81658# in preparation of supporting SDBC-level source objects (DataAccessDescriptor::ConnectionResource), the wizard dialog has been re-worked to take an abstract ICopyTableSourceObject interface describing the to-be-copied object 2007/11/14 10:37:55 fs 1.1.2.7: #i81658# some dtor safety 2007/11/14 10:30:25 fs 1.1.2.6: #i81658# some dtor safety 2007/11/14 10:21:07 fs 1.1.2.5: #i81658# consistent interaction handler usage 2007/11/12 16:14:57 fs 1.1.2.4: #i81658# use an InteractionHandler for asking the user whether to continue copying 2007/11/12 12:14:45 fs 1.1.2.3: #i81658# call the listeners 2007/11/08 21:30:20 fs 1.1.2.2: some resource ids for the strings which are to be put into a resource (which happens in CWS dba24lms) 2007/11/08 14:18:16 fs 1.1.2.1: #i81658# UNO wrapper for the Copy Table wizard
2008-01-30 07:56:36 +00:00
//........................................................................
} // namespace dbaui
//........................................................................
extern "C" void SAL_CALL createRegistryInfo_CopyTableWizard()
{
static ::dbaui::OMultiInstanceAutoRegistration< ::dbaui::CopyTableWizard > aAutoRegistration;
}