Skip to content

Commit 413cb80

Browse files
authored
0.0.4 - database#getConnection()
1 parent 306ccd4 commit 413cb80

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group = 'dev.team.hytalib'
7-
version = '0.0.3'
7+
version = '0.0.4'
88
sourceCompatibility = 21
99
targetCompatibility = 21
1010

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
package dev.team.hytalib.db;
22

3+
import java.sql.Connection;
4+
35
/**
46
* HytaLab Studio code @ 2025
57
*/
68
public interface Database {
79
void close();
10+
Connection getConnection();
811
}

src/main/java/dev/team/hytalib/db/DatabaseBuilder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ private JdbcDatabase buildRedis() {
9191

9292

9393

94+
9495
/// not subject to do redis --- all placeholder stuff.....
9596
if (filePath == null)
9697
throw new IllegalStateException("SQLite requires filePath.");

0 commit comments

Comments
 (0)