summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/jdbc/Object.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2000-12-06 12:43:08 +0000
committerOcke Janssen <oj@openoffice.org>2000-12-06 12:43:08 +0000
commit91bdc3561367de15585e7f3ca46c821732d67b50 (patch)
treef14efb966d9dc051b5bc43840f6c1dd6e4d367c7 /connectivity/source/drivers/jdbc/Object.cxx
parent908f4915add618924e04a3f280e0974d47020beb (diff)
#81395# instanciate the jvm only when needed
Diffstat (limited to 'connectivity/source/drivers/jdbc/Object.cxx')
-rw-r--r--connectivity/source/drivers/jdbc/Object.cxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/connectivity/source/drivers/jdbc/Object.cxx b/connectivity/source/drivers/jdbc/Object.cxx
index 3d6f68d6a1..56574801fa 100644
--- a/connectivity/source/drivers/jdbc/Object.cxx
+++ b/connectivity/source/drivers/jdbc/Object.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: Object.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: oj $ $Date: 2000-11-22 14:44:26 $
+ * last change: $Author: oj $ $Date: 2000-12-06 13:43:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -285,18 +285,18 @@ jclass java_lang_Object::getMyClass()
java_lang_Object::java_lang_Object(const Reference<XMultiServiceFactory >& _rxFactory)
: object( 0 ),m_xFactory(_rxFactory)
{
- SDBThreadAttach t(m_xFactory);
- if( !t.pEnv )
- return;
-
- // Java-Call fuer den Konstruktor absetzen
- // temporaere Variable initialisieren
- char * cSignature = "()V";
- jclass tempClass;
- jmethodID mID = t.pEnv->GetMethodID( getMyClass(), "<init>", cSignature );
- tempClass = (jclass)t.pEnv->NewObjectA( getMyClass(), mID, NULL );
- saveRef( t.pEnv, tempClass );
- t.pEnv->DeleteLocalRef( tempClass );
+// SDBThreadAttach t(m_xFactory);
+// if( !t.pEnv )
+// return;
+//
+// // Java-Call fuer den Konstruktor absetzen
+// // temporaere Variable initialisieren
+// char * cSignature = "()V";
+// jclass tempClass;
+// jmethodID mID = t.pEnv->GetMethodID( getMyClass(), "<init>", cSignature );
+// tempClass = (jclass)t.pEnv->NewObjectA( getMyClass(), mID, NULL );
+// saveRef( t.pEnv, tempClass );
+// t.pEnv->DeleteLocalRef( tempClass );
}
// der protected-Konstruktor fuer abgeleitete Klassen