Hi, I'm using the trial HXTT Paradox JDBC drivers to prototype an application for a customer. If they go with it, it will be a large multiple site installation so they'll need lots of licenses.
They have a legacy application that uses a Paradox 7 database with tables up to 100mb in size.However, this is happening!!!
SELECT COUNT(*) FROM WORKRECORDS
WHERE (JobDate >= {d '2007-08-07'}) AND (JobDate <= {d '2007-08-07'})
java.sql.SQLException: java.io.IOException: Negative seek offset
at com.hxtt.global.SQLState.SQLException(Unknown Source)
at com.hxtt.concurrent.o.a(Unknown Source)
at com.hxtt.concurrent.v.try(Unknown Source)
at com.hxtt.concurrent.r.int(Unknown Source)
at com.hxtt.concurrent.r.try(Unknown Source)
at com.hxtt.concurrent.o.if(Unknown Source)
at com.hxtt.concurrent.o.a(Unknown Source)
at com.hxtt.sql.paradox.n.a(Unknown Source)
at com.hxtt.sql.paradox.t.a(Unknown Source)
at com.hxtt.sql.paradox.f.do(Unknown Source)
at com.hxtt.sql.paradox.f.a(Unknown Source)
at com.hxtt.sql.paradox.f.a(Unknown Source)
at com.hxtt.sql.paradox.m.a(Unknown Source)
at com.hxtt.sql.o.a(Unknown Source)
at com.hxtt.sql.ce.a(Unknown Source)
at com.hxtt.sql.aw.a(Unknown Source)
at com.hxtt.sql.dc.a(Unknown Source)
at com.hxtt.sql.dc.a(Unknown Source)
at com.hxtt.sql.cv.e(Unknown Source)
at com.hxtt.sql.dc.a(Unknown Source)
at com.hxtt.sql.bm.a(Unknown Source)
at com.hxtt.sql.ag.a(Unknown Source)
at com.hxtt.sql.ag.a(Unknown Source)
at com.hxtt.sql.ag.executeQuery(Unknown Source)
at uk.co.webenableit.server.Paradox.executeQuery(Paradox.java:63)
|
>They have a legacy application that uses a Paradox 7 database with tables
> up to 100mb in size.
HXTT Paradox can't do concurrent update on the same database with your legacy application.
>SELECT COUNT(*) FROM WORKRECORDS
>WHERE (JobDate >= {d '2007-08-07'}) AND (JobDate <= {d '2007-08-07'})
>java.sql.SQLException: java.io.IOException: Negative seek offset
It sees that one table information in your WORKRECORDS.DB(or PX) is invalid. You can backup all WORKRECORDS.* files, and use one file cutter to trim the first 128kb content of WORKRECORDS.db, then send us the first 128kb.
ftp site: ftp.hxtt.com
ftp user: anonymous@hxtt.com
ftp password: (empty)
login mode: normal (not anonymous)
ftp port:21
upload directory: incoming
After upload, you can't(HXTT can) see that upload file, but it has been upload.
Then notify us through webmaster@hxtt.com or reply simply that thread.
Then we will verify whether your db sample is invalidation.
|
Hi, just to let you know that we did not expect to be able to do concurrent updates - we are using the HXTT driver to only read the database. Is this ok if the legacy application is updating the database?
|
>we are using the HXTT driver to only read the database. Is this ok
> if the legacy application is updating the database?
It can. But if you wish HXTT Paradox see all updates at once, you should try lockTimeout=-1 connection property.
|