Answer the question
In order to leave comments, you need to log in
How to populate secondary key data in Hibernate JPA programmatically?
Tell me how to populate secondary key data in Hibernate + JPA + Spring Data programmatically? The table is created automatically, there is no data in the database, there are no tables in the database.
There are entities, for example, A and B .
A has a one-to-many relationship with B.
How to write data to table B ?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question