Willena / sqlite-jdbc-crypt

SQLite JDBC Driver with encryption support
Apache License 2.0
172 stars 33 forks source link

SQL Interface not used even if specified to #28

Closed Willena closed 3 years ago

Willena commented 3 years ago

While working on #25, I discovered a new bug.

The config builder expose a method to use the sql interface instead of the more traditional pragma statements. It turns out that even if set to true pragma statements are always used. This is due to the fact that the inner JDBC classes only works with Properties object which does not contain the 'useSQLInterface' property. As a result the default mode is used (pragma mode)