Skip to content

Commit

Permalink
SQLite теперь работает корректно
Browse files Browse the repository at this point in the history
  • Loading branch information
DenaryDev committed Jan 30, 2024
1 parent a99078a commit 3fd27ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group = me.denarydev
version = 2.1.0
version = 2.1.1-SNAPSHOT

org.gradle.caching = true
org.gradle.parallel = true
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void initialize() {
@Override
protected Connection createConnection(Path file) throws SQLException {
try {
return (Connection) this.connectionConstructor.newInstance("jdbc:sqlite:" + file.toAbsolutePath(), file.toAbsolutePath(), new Properties());
return (Connection) this.connectionConstructor.newInstance("jdbc:sqlite:" + file.toAbsolutePath(), file.toAbsolutePath().toString(), new Properties());
} catch (ReflectiveOperationException e) {
if (e.getCause() instanceof SQLException) {
throw (SQLException) e.getCause();
Expand Down

0 comments on commit 3fd27ef

Please sign in to comment.