Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
5529a70e
Kaydet (Commit)
5529a70e
authored
Haz 27, 2007
tarafından
Jens-Heiner Rechtien
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS sdblogging (1.3.244); FILE MERGED
2007/04/11 13:51:03 fs 1.3.244.1: #i76119# logging meta data methods
üst
f8207906
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
4 deletions
+21
-4
DatabaseMetaData.hxx
connectivity/source/inc/java/sql/DatabaseMetaData.hxx
+21
-4
No files found.
connectivity/source/inc/java/sql/DatabaseMetaData.hxx
Dosyayı görüntüle @
5529a70e
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
*
*
* $RCSfile: DatabaseMetaData.hxx,v $
* $RCSfile: DatabaseMetaData.hxx,v $
*
*
* $Revision: 1.
3
$
* $Revision: 1.
4
$
*
*
* last change: $Author:
rt $ $Date: 2005-09-08 07:21:08
$
* last change: $Author:
hr $ $Date: 2007-06-27 14:38:54
$
*
*
* The Contents of this file are made available subject to
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
* the terms of GNU Lesser General Public License Version 2.1.
...
@@ -42,6 +42,8 @@
...
@@ -42,6 +42,8 @@
#include "TDatabaseMetaDataBase.hxx"
#include "TDatabaseMetaDataBase.hxx"
#endif
#endif
#include "java/sql/ConnectionLog.hxx"
namespace
connectivity
namespace
connectivity
{
{
class
java_sql_Connection
;
class
java_sql_Connection
;
...
@@ -52,17 +54,20 @@ namespace connectivity
...
@@ -52,17 +54,20 @@ namespace connectivity
class
java_sql_DatabaseMetaData
:
public
ODatabaseMetaDataBase
,
class
java_sql_DatabaseMetaData
:
public
ODatabaseMetaDataBase
,
public
java_lang_Object
public
java_lang_Object
{
{
java_sql_Connection
*
m_pConnection
;
java_sql_Connection
*
m_pConnection
;
java
::
sql
::
ConnectionLog
m_aLogger
;
protected
:
protected
:
// statische Daten fuer die Klasse
// statische Daten fuer die Klasse
static
jclass
theClass
;
static
jclass
theClass
;
// der Destruktor um den Object-Counter zu aktualisieren
// der Destruktor um den Object-Counter zu aktualisieren
static
void
saveClassRef
(
jclass
pClass
);
static
void
saveClassRef
(
jclass
pClass
);
public
:
public
:
static
jclass
getMyClass
();
static
jclass
getMyClass
();
virtual
~
java_sql_DatabaseMetaData
();
virtual
~
java_sql_DatabaseMetaData
();
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
java_sql_DatabaseMetaData
(
JNIEnv
*
pEnv
,
jobject
myObj
,
java_sql_Connection
*
_p
Connection
);
java_sql_DatabaseMetaData
(
JNIEnv
*
pEnv
,
jobject
myObj
,
java_sql_Connection
&
_r
Connection
);
virtual
sal_Bool
SAL_CALL
allProceduresAreCallable
(
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
sal_Bool
SAL_CALL
allProceduresAreCallable
(
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
sal_Bool
SAL_CALL
allTablesAreSelectable
(
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
sal_Bool
SAL_CALL
allTablesAreSelectable
(
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
...
@@ -213,6 +218,18 @@ namespace connectivity
...
@@ -213,6 +218,18 @@ namespace connectivity
virtual
sal_Bool
SAL_CALL
supportsBatchUpdates
(
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
sal_Bool
SAL_CALL
supportsBatchUpdates
(
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XResultSet
>
SAL_CALL
getUDTs
(
const
::
com
::
sun
::
star
::
uno
::
Any
&
catalog
,
const
::
rtl
::
OUString
&
schemaPattern
,
const
::
rtl
::
OUString
&
typeNamePattern
,
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int32
>&
types
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XResultSet
>
SAL_CALL
getUDTs
(
const
::
com
::
sun
::
star
::
uno
::
Any
&
catalog
,
const
::
rtl
::
OUString
&
schemaPattern
,
const
::
rtl
::
OUString
&
typeNamePattern
,
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int32
>&
types
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XConnection
>
SAL_CALL
getConnection
(
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XConnection
>
SAL_CALL
getConnection
(
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
private
:
sal_Bool
impl_callBooleanMethod
(
const
char
*
_pMethodName
,
jmethodID
&
_inout_MethodID
);
::
rtl
::
OUString
impl_callStringMethod
(
const
char
*
_pMethodName
,
jmethodID
&
_inout_MethodID
);
sal_Int32
impl_callIntMethod
(
const
char
*
_pMethodName
,
jmethodID
&
_inout_MethodID
);
sal_Bool
impl_callBooleanMethodWithIntArg
(
const
char
*
_pMethodName
,
jmethodID
&
_inout_MethodID
,
sal_Int32
_nArgument
);
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XResultSet
>
impl_callResultSetMethod
(
const
char
*
_pMethodName
,
jmethodID
&
_inout_MethodID
);
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XResultSet
>
impl_callResultSetMethodWithStrings
(
const
char
*
_pMethodName
,
jmethodID
&
_inout_MethodID
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
_rCatalog
,
const
::
rtl
::
OUString
&
_rSchemaPattern
,
const
::
rtl
::
OUString
&
_rLeastPattern
,
const
::
rtl
::
OUString
*
_pOptionalAdditionalString
=
NULL
);
};
};
}
}
#endif // _CONNECTIVITY_JAVA_SQL_DATABASEMETADATA_HXX_
#endif // _CONNECTIVITY_JAVA_SQL_DATABASEMETADATA_HXX_
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment