[omniORB] Working with databases

Erik Schjott es@pine.dk
Thu, 22 Apr 1999 09:38:17 +0200


Hi Cristi,
Are you using DB library or CT library? If you are using DB library, =
which is NOT multithread safe, that could be the problem. Try using CT =
library instead.

---
Erik Schj=F8tt
Pine Tree Systems A/S
DK-7100 Vejle, Denmark.
Tel. +45 75724477
mailto:es@pine.dk

----- Original Message -----=20
From: Cristi <bcristi@cti.ro>
To: OmniORB-list <omniorb-list@uk.research.att.com>
Sent: 21. april 1999 16:24
Subject: [omniORB] Working with databases


> Hi.
> Look what problem do i have:
>=20
>     I'm trying to write an object which has only one method.
>     This method returns a string in which I want to store the result =
of an
> SQL command. I want to use SYBASE server.
>     I don't know what I do wrong, maybe I miss something.
>     So, in the implementation of the method I just call a function to =
which
> I pass the SQL command, and it returns a string. But the client =
process
> hangs - up when I launch it. And I found out that the server process =
can not
> connect to the database.
> Everything seemed to be OK. The server is running...etc.
> I even made a sepparate program which is not using CORBA, but only =
that
> function to retrieve the information in the database (in fact it's =
only one
> table with 2 rows), and this program works.
> Can anybody give a suggestion?
> Please answer me. If you want more details I'll give them.
> Thanks,
> Cristi
>=20
>=20