python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
EntityManagerFactory is initialing
I`m DONT use EJB/Spring etc.
Only Jpa + Servlet.
I`m trying to create
public abstract class AbstractEntityManagerFactory {
private static final EntityManagerFactory emf = Persistence.createEntityManag...
Jap_Story
Votes: 0
Answers: 1
How to Mock EntityManagerFactory In JUNIT
JUNIT Test How To Mock Entity Manager Factory. i'm writing junit test case for Entity Manager Factory but here in side when (when().then()) getting null.
Krish Gaur
Votes: 0
Answers: 1
Should EntityManagerFactory be closed at application shutdown?
I have a Java application that has a GUI made with Swing and that uses two databases interchangeably. One of the two databases is mongoDB and the other one is MySQL. Which database to use is chosen wi...
ClaudiaR
Votes: 0
Answers: 2
Creating EntityManager using EntityManagerFactory in web application without @PersistenceContext
I am creating a web application with JPA. I have configured Hibernate with connection pool c3p0.
In my case it is not possible to inject EntityManager using @PersistenceContext annotation.
In Java EE ...
Chrystian Kącki
Votes: 0
Answers: 1