Skip to content

Commit 83851a3

Browse files
committed
refactor: update DatabaseService to use constant for BINARY_DATA and remove obsolete test files
1 parent ae1a94e commit 83851a3

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

serialized-lob/src/main/java/com/iluwatar/slob/dbservice/DatabaseService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public void startupService()
9292
throws SQLException {
9393
try (var connection = dataSource.getConnection();
9494
var statement = connection.createStatement()) {
95-
if (dataTypeDb.equals("BINARY")) {
95+
if (dataTypeDb.equals(BINARY_DATA)) {
9696
statement.execute(CREATE_BINARY_SCHEMA_DDL);
9797
} else {
9898
statement.execute(CREATE_TEXT_SCHEMA_DDL);

0 commit comments

Comments
 (0)