python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
NullPointer while using JPA EntityManager in a ThredPoolExecutor
I'm implementing a JavaEE8 application using CDI and running on an Open Liberty (v20.0.0.4). The application has a event-triggered job, which runs some code in an separate thread using the ThreadPoolE...
cloudy_rowdy
Votes: 0
Answers: 1
how configure transactionmanager for multiple databases
I have one transaction manager with many entitymanager one for each database but if there is any fails it does not access any, how I can resolve this problem?
@Primary
@Bean
public ChainedTransact...

Luis Enrique Rojas Perez
Votes: 0
Answers: 1
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
How to delete many-to-many relationship?
I have a many-to-many relationship (Car & driver) How, when deleting a Driver, delete a link in the driver_car table and delete cars that were bound to this driver, and vice versa, when deleting a...

user17835087
Votes: 0
Answers: 1