Posts by Felipe Martins • 1 point
1 post
-
0
votes2
answers104
viewsA: JPA - Java does not insert data into the database
How is your setup with the database? Apparently the transaction is missing there. Before the persist do: manager.getTransaction().begin(); And after the persist: manager.getTransaction().commit();…