Skip to content
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

No support for writting TIMESTAMP #8

Open
hectorsipe opened this issue Mar 28, 2023 · 5 comments
Open

No support for writting TIMESTAMP #8

hectorsipe opened this issue Mar 28, 2023 · 5 comments

Comments

@hectorsipe
Copy link

Hi,
I get this error when I try to save the database:

java.lang.IllegalArgumentException: No support for writting TIMESTAMP
at com.linuxense.javadbf.DBFField.setType(DBFField.java:431)
at com.wisecoders.dbschema.dbf.schema.Table.createDBFField(Table.java:48)
at com.wisecoders.dbschema.dbf.io.H2Writer.(H2Writer.java:38)
at com.wisecoders.dbschema.dbf.H2Connection.saveDbf(H2Connection.java:154)
at com.wisecoders.dbschema.dbf.H2Connection.access$100(H2Connection.java:38)
at com.wisecoders.dbschema.dbf.H2Connection$StatementProxy.invoke(H2Connection.java:90)
at jdk.proxy3/jdk.proxy3.$Proxy137.execute(Unknown Source)

I thought that it was a problem with the insert clauses I made, but it occurs although saving without updating the database.

@dbschema-pro
Copy link
Owner

Could you please try to use the latest version of the driver?
The dependency 'com.github.albfernandez:javadbf:1.14.0' seems to be an older version in your case.

@hectorsipe
Copy link
Author

hectorsipe commented Mar 30, 2023

Thank you for your attention.
I downloaded the driver from this link: https://dbschema.com/jdbc-drivers/DBFJdbcDriver.zip
Isn't this the latest? It's in the readme.md of this repository.

@dbschema-pro
Copy link
Owner

Yes, this is the correct location. To be sure, we uploaded the latest right now again. Please try one more time.

@hectorsipe
Copy link
Author

I keep getting the same error. The latest version of the driver is 1.14.0, according to the repository 'com.github.albfernandez:javadbf' and it's the same version included in your driver. Is there an alternative to save only some specific tables where there are not timestamp fields. The tables I'm updating doesn't contain this type.

@dbschema-pro
Copy link
Owner

dbschema-pro commented Mar 31, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants