Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Commit 514e8c4

Browse files
authored
Merge pull request #55 from noobdevsam/25-modify_readme_for_docker_instructioins
merge from branch 25 - 2
2 parents d0b977b + 51449f3 commit 514e8c4

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/main/java/com/example/springprojectsteganographytool/controllers/StegoController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ public ResponseEntity<List<StegoEncodeResponseDTO>> listAllEncodings() {
264264
*/
265265
@GetMapping(path = "/encodings/{id}", produces = MediaType.APPLICATION_JSON_VALUE)
266266
public ResponseEntity<StegoEncodeResponseDTO> getById(@PathVariable("id") UUID id) {
267-
log.info("In Controller- Getting encoding by ID from DB. ");
267+
log.info("In Controller- Getting encoding by ID: {}", id);
268268
return ResponseEntity.ok(steganographyService.getById(id));
269269
}
270270

@@ -276,7 +276,7 @@ public ResponseEntity<StegoEncodeResponseDTO> getById(@PathVariable("id") UUID i
276276
*/
277277
@DeleteMapping(path = "/encodings/{id}")
278278
public ResponseEntity<Void> deleteById(@PathVariable("id") UUID id) {
279-
log.info("In Controller- Deleting encoding by ID from DB. ");
279+
log.info("In Controller- Deleting encoding by ID: {}", id);
280280
steganographyService.deleteById(id);
281281
return ResponseEntity.noContent().build();
282282
}

src/main/resources/application.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ spring:
44
threads:
55
virtual:
66
enabled: true
7+
main:
8+
lazy-initialization: true
79
servlet:
810
multipart:
911
max-file-size: 50MB
@@ -20,7 +22,7 @@ spring:
2022
properties:
2123
hibernate:
2224
format_sql: true
23-
dialect: org.hibernate.dialect.MySQL8Dialect
25+
dialect: org.hibernate.dialect.MySQLDialect
2426

2527

2628
app:

0 commit comments

Comments
 (0)