Posts by Denner Lermen • 21 points
2 posts
-
1
votes1
answer698
viewsA: Session is closed! Spring + JPA (Hibernate)
I resolved. Removing spring datasource, leaving only JPA(persistence.xml). Anything put the codes. Abrçss Persistence <persistence-unit name="TwsPersistence" transaction-type="RESOURCE_LOCAL">…
-
1
votes1
answer698
viewsQ: Session is closed! Spring + JPA (Hibernate)
I’m trying to make an example of JPA + Spring. But I’m having trouble managing transactions. persistence.xml: <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.0"…