Re: [dba-dev] ODatabaseMetaDataResultSet

2006-08-02 Thread Ocke Janssen
I know that you have to release the mutex before you are calling listeners, but I thought, that would have made the whole think a lot more complicated :-) -- OJ PS: I wrote xParent not m_xParent ;-) Otherwise you right. Frank Schönheit - Sun Microsystems Germany wrote: Hi Ocke, Hi André,

Re: [dba-dev] ODatabaseMetaDataResultSet

2006-08-02 Thread Frank Schönheit - Sun Microsystems Germ any
Hi Ocke, Hi André, >>When should I use a Mutex in my functions? > > This question is discussed very often. :-) The best way is to use it in > every* method which is public available. That's a good level-0-approximation, but not really correct :) Talking about multi-threading concepts would pr

Re: [dba-dev] ODatabaseMetaDataResultSet

2006-08-01 Thread Ocke Janssen
Hi André, A. Klitzing wrote: Hello Ocke, it was too late yesterday... doesn't matter :-) getTableTypes was a good example at all. I mixed getTables and getTableTypes a little bit. I have correct tablenames in oobase now. ;-) That's good. When should I use a Mutex in my functions? This

Re: [dba-dev] ODatabaseMetaDataResultSet

2006-08-01 Thread A. Klitzing
Hello Ocke, it was too late yesterday... I mixed getTables and getTableTypes a little bit. I have correct tablenames in oobase now. ;-) When should I use a Mutex in my functions? When can it happen that two threads use "getTables()" or something like this? Thanks, André Klitzing signature.asc

Re: [dba-dev] ODatabaseMetaDataResultSet

2006-07-31 Thread Ocke Janssen
Hi André , A. Klitzing wrote: Hello, I have a problem with "ODatabaseMetaDataResultSet". I can't find any documentation about it and I don't know how it works. Do you mean the class in connectivity/source/inc/FDatabaseMetaDataResultSet.hxx? In that class all table structures are defined whi

[dba-dev] ODatabaseMetaDataResultSet

2006-07-31 Thread A. Klitzing
Hello, I have a problem with "ODatabaseMetaDataResultSet". I can't find any documentation about it and I don't know how it works. I wanted to add table information to it in ODatabaseMetaData::getTableType() to get the tables but it don't work. My connection to the database works... but I can't se