Posts by Danilo Pereira • 26 points
2 posts
-
0
votes1
answer132
viewsA: How to map a Map in Hibernate
You can create a converter to convert the data so that JPA can interpret it: import java.io.IOException; import java.util.HashMap; import java.util.Map; import javax.persistence.AttributeConverter;…
-
1
votes1
answer36
viewsA: "lazily" error in java web application
I believe this error is occurring because the ORM cannot boot from the abstraction. Try to initialize variables from your lists this way: @JoinTable(name = "AutorLivro", joinColumns =…