Subject about threads
Author Tiberiu Horvath
Delphi 2007, Firebird 2.03, IBX components, JVCL.

I develop a client-server database application that, sometimes, generates
have some unreproductible errors, as described in the following link. I use
TJvThread.

Are there any techniques to avoid these errors and use only one TIBDatabase
and one TIBTransaction ?

http://dn.codegear.com/ru/article/28796



" All access to the database takes place in "critical sections", so only one thread can access the data at one time. Sometimes the application runs fine for thousands of transactions, and then it raises the exception. What's going on? SOLUTIONInterBase's client software is not thread safe. Each thread must have its own connection and the connection must be remote (the connection string must specify the server's name or IP address), even if the multi-threaded applicatiuon runs on the same machine as the InterBase server. Note: This applies to InterBase versions prior to 7.x."



Thank you,

Tiberiu



____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping

[Non-text portions of this message have been removed]