我有一个简单的应用程序,可以将数据从 MySQL 数据库写入 Access .accdb
数据库。
我已经使用了 4 个月,没有遇到任何问题。
昨天我尝试使用它,现在我遇到了问题。如果我尝试使用 Microsoft Access 打开文件并尝试打开表 CodScontrini
,我会看到所有记录。如果我尝试打开 Scontrini
表,我会收到以下消息:
bookmark not valid
如果我尝试从 Eclipse 运行我的 Java 应用程序,我会看到这条警告消息:
WARNING:Error in the metadata of the table CodScontrini: table's row count in the metadata is 665 but 499 records have been found and loaded by UCanAccess. All will work fine, but it's better to repair your database.
最佳答案
这意味着在您的访问数据库中检测到数据和元数据之间存在不一致。压缩和修复工具将解决这个问题。
关于java - Access 数据库中的 "Bookmark not valid"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29385597/