Sorry for being unclear.
It's really a simple app using IBX 4.5 functionality, a tdbgrid and
very few lines of code added. And these lines just to
do explicit commits and reopen datasets. Nothing fancy at all.
Here is what I do in my D5 app:
I have a datamodule using:
TIBTable
TIBTransaction
TIBUpdateSQL
TIBQuery
TDatasource
SUPERIBEVENT
TTIMER
Transactionisolation is: readcommitted
Transaction default action: commitretaining
After post on TIBTABLE : transaction.commitretaining
TTIMEREvent:
transaction.commit
{reopen datasets}
SIBEVENTALERTER:
TIBTABLE.refresh
All D5 apps AND IBCONSOLE can see all data all changes all the time on all
workstations.
So this is all good and working. Nothing wrong here is there?
"In the other end", there is a web app using interclient reading the same
database.
Problem1:
NONE of the changes from the "web-side" are visible to the D5 apps and
none of the changes/inserts from the Delphi-side is visible to the "web-side".
Problem2:
Even with "hard commits" and forced write. A restart of the server discards all
changes/inserts. And there are no transactions in limbo according to gfix.
GFIX functions such as commit doesn't make a difference.
These are all new problems since using IB6. It all worked flawlessly with IB5.6.
What we did was that we recomplied the D5 apps with IBX 4.5 and installed new
client drivers.
That's it.
You might argue that recompiling did something. It might have, but nothing was
changed at
the "web-side".
Could it be:
a) My coding
b) The actual database, index config or ....
c) The database server configuration
d) A clientproblem
Has anyone experienced this problem?
TIA
//OLAS
Quote
Craig Stuntz wrote:
> Ola Samuelson wrote:
> > My apps that previously worked with 5.6 classic on Linux are suddenly
> > unable to make data stick even with explicit commits, gfix commits -
> > anything you can think of.
> You really need to tell us what you're doing; I can't guess from your
> message. Can you write a small program (< 50 lines) which demonstrates
> the problem? If so, post the text here. If not, what are you doing
> differently in your "real" program?
> > Data commited by my D5 apps does not appear to connections using JDBC -
> > but D5 apps can see all data/changes live.
> I'm confused: Is it the app which committed the changes which can see
> them, or is it a different app? What transaction isolation mode are you
> using in each app? Do you see the COMMITs using TIBSQLMonitor?
> -Craig
> --
> Craig Stuntz Vertex Systems Corporation
> Senior Developer http://www.vertexsoftware.com
> Delphi/InterBase weblog: http://delphi.weblogs.com