All Questions
4 questions
1
vote
3
answers
3k
views
Spring Boot JPA how to handle child table updates
I've come from a background in my previous role of doing all data persistence with all custom SQL and JDBC. Just started a new job for a small business where I'm the only developer and have decided to ...
1
vote
1
answer
2k
views
Why can't I connect to database with JPA?
UserEntity:
package model.entity;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax....
0
votes
1
answer
4k
views
JPA retrieve objects from database
I'm triying to solve a Java programming exercise for the universisty, but I don't know how to solve the next problem. I have the next persistence.xml file:
<?xml version="1.0" encoding="UTF-8"?&...
10
votes
2
answers
15k
views
Can an entity class work without having a definition for all columns of the table
I implemented database querying for a table using jpa. I have added a new column in database for the table and completed my coding.
If after some time the deployment got reverted, consider I added a ...