User: hr Date: 06/04/19 06:20:35 Modified: /dba/dbaccess/source/ui/inc/ DExport.hxx
Log: INTEGRATION: CWS oj17 (1.14.40); FILE MERGED 2006/03/09 07:47:13 oj 1.14.40.1: #i62561# use a prepared statement when the rowset can not be used for insertion File Changes: Directory: /dba/dbaccess/source/ui/inc/ ======================================= File [changed]: DExport.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/DExport.hxx?r1=1.14&r2=1.15 Delta lines: +17 -12 --------------------- --- DExport.hxx 19 Jan 2006 15:42:16 -0000 1.14 +++ DExport.hxx 19 Apr 2006 13:20:32 -0000 1.15 @@ -41,12 +41,6 @@ #ifndef _COM_SUN_STAR_SDBC_XRESULTSETMETADATA_HPP_ #include <com/sun/star/sdbc/XResultSetMetaData.hpp> #endif -#ifndef _COM_SUN_STAR_SDBC_XRESULTSETUPDATE_HPP_ -#include <com/sun/star/sdbc/XResultSetUpdate.hpp> -#endif -#ifndef _COM_SUN_STAR_SDBC_XROWUPDATE_HPP_ -#include <com/sun/star/sdbc/XRowUpdate.hpp> -#endif #ifndef _COM_SUN_STAR_BEANS_XPROPERTYSET_HPP_ #include <com/sun/star/beans/XPropertySet.hpp> #endif @@ -78,11 +72,19 @@ #ifndef _DBAUI_COMMON_TYPES_HXX_ #include "commontypes.hxx" #endif +#ifndef DBAUI_IUPDATEHELPER_HXX +#include "IUpdateHelper.hxx" +#endif -namespace com { namespace sun { namespace star { namespace awt -{ +namespace com { namespace sun { namespace star { + namespace awt{ struct FontDescriptor; -}}}} + } + namespace sdbc{ + class XPreparedStatement; + class XDatabaseMetaData; + } +}}} class Window; namespace dbaui @@ -111,10 +113,9 @@ ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess> m_xTables; // container SharedConnection m_xConnection; // dest conn + ::boost::shared_ptr<IUpdateHelper> m_pUpdateHelper; ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > m_xResultSet; // - ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetUpdate > m_xResultSetUpdate; // ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > m_xResultSetMetaData; // - ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowUpdate > m_xRowUpdate; // ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter > m_xFormatter; // a number formatter working with the connection's NumberFormatsSupplier ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory> m_xFactory; @@ -177,6 +178,10 @@ void enableCheckOnly() { m_bCheckOnly = sal_True; } sal_Bool isCheckEnabled() const { return m_bCheckOnly; } + + static ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XPreparedStatement > createPreparedStatment( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData>& _xMetaData + ,const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet>& _xDestTable + ,const TPositions& _rvColumns); }; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
