python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to implement a search table with many to many relationship in Hibernate with a 3rd class entity
I am trying to learn Hibernate to create on startup the Db from entities, but I have only found articles suggesting how to implement many to many relationship with only 2 entities, but what if I wante...
PontiacGTX
Votes: 0
Answers: 1
JAP: table column with name id but not primary key
I have a table with the columns vendorid and id (and more, omitted here; using lombok for definition):
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "vendor_store&qu...
Eddie
Votes: 0
Answers: 1
JPA created too many fields in table
enter image description here
I am trying to map some entities to tables in MySQL database using Spring Boot JPA. I have a problem with one of the tables because in that one too many foreign keys are a...
User123qaz
Votes: 0
Answers: 1
Accessing Spring application context on startup
I'm migrating a project to Spring Boot and I'm having some trouble with using the old database repositories. The old project was built as a WAR running on Tomcat, using persistence.xml with context.xm...
krillov
Votes: 0
Answers: 0