-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
after reload old data returns #14
Comments
I checked the code and the current version is using file_path and not file_name. So we released a new driver, version 1.2 and published it. Please give this a try. |
are you suggesting we use com.wisecoders/dbf-jdbc-driver/1.1.2 ? If yes, I wrote about it above (the error Column ‘file_name’ not found is reproduced on it). I don't quite understand what is the difference between dbf-jdbc-driver and dbschema-dbf-jdbc |
The 'dbschema-dbf-jdbc' was wrong. Was used in the jar task, in build.gradle. We replaced it with dbf-jdbc-driver and published again as version 1.3 |
I rebuild version 1.3 after your fixes, I also checked that the record in the dbs_meta_files table is indeed deleted after calling ‘reload’, but I still get the old data ps: I get new data from the dbf-file only after restarting app(jvm) |
The reload is more or less for cleaning the caches and reloading the file. Probably it is a bug somewhere if the data is still in H2. If you confirm this we can start to research. |
the ‘reload’ method works normally only after the application is restarted, if you try to update the data while the application is running(in the same connection) you will get old data, If you use a connection pool (like dbcp2), the update will not occur even on new connections.
my current fix "reload":
|
Thank you for sending the fix. We included it in the current JDBC driver, and uploaded a new version of the driver on our website |
my dependencies:
if i use
I get an error
my code(I wrote it to reproduce the problem - in fact, I use the library in combination camel+karaf)
at a certain point in time it is replaced by a new file c:\tmp\sample\sample.dbf , but at the next iteration I see old data despite the method call st.execute("reload ...
ps: if i delete a folder /.DbSchema/
The text was updated successfully, but these errors were encountered: