-
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so …
- 64 views
- 0 answers
- 0 votes
-
I am calculating the user’s age based upon his dob as : SELECT DATE_FORMAT(FROM_DAYS(DATEDIFF(now(),u.date_of_birth)), ‘%Y’)+0 AS Age from users u …
- 62 views
- 2 answers
- 0 votes
-
I’m building a basic hotel management system with Spring and JPA. I have an entity called Order which represents a …
- 49 views
- 0 answers
- 0 votes
-
I want to store an HTML file in MySQL DB so that for every user I can change the HTML …
- 64 views
- 1 answers
- 0 votes
-
I have this native query: //return all children @Query( value = "WITH cte(uuid) AS" + " (" + " SELECT …
- 67 views
- 0 answers
- 0 votes
-
I have the following tables: customers orders @Entity public class Customer { String id; } @Entity public class Order { …
- 73 views
- 1 answers
- 0 votes
-
I am having a problem on how to write Join and than select from Application so I have to entities …
- 63 views
- 1 answers
- 0 votes
-
My goal is to use an in-memory database for these unit tests, and those dependancies are listed as: implementation("org.springframework.boot:spring-boot-starter-data-jpa") runtimeOnly("com.h2database:h2") …
- 57 views
- 4 answers
- 0 votes
-
Having following parent-child entity definitions, when using Spring’s @EntityGraph performs a LEFT OUTER JOIN instead of an INNER JOIN. @Entity …
- 62 views
- 0 answers
- 0 votes
-
Hello I have Enum below; public enum TaskStatusEnum { READY(1, "Ready"); ON_GOING(2, "On going"); private final long id; private final …
- 59 views
- 2 answers
- 0 votes