UCanAccess:截断模式支持不起作用

UCanAccess: truncate schema support not working

ucanaccess 有什么方法可以支持 HSQLtruncate schema PUBLIC and commit? 它不适用于 UCanAccess 版本 4.0.4

干杯

UCanAccess 确实支持几个 HSQLDB 功能作为 Access SQL 方言的扩展,但它不支持 TRUNCATE TABLE 和 TRUNCATE SCHEMA,因为 UCanAccess 同步更改的方式HSQLDB 后备数据库和 Access 数据库文件。

HSQLDB documentation 中所述:

TRUNCATE TABLE
...
Delete all rows of a table without firing its triggers.


TRUNCATE SCHEMA
...
Performs the equivalent of a TRUNCATE TABLE ... AND COMMIT on all the table in the schema.

UCanAccess 依靠 HSQLDB 触发器来执行同步。