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)
Entity Manager read old values even if locking with PESSIMISTIC_WRITE
I'm in the following scenario. Handling message inside an MDB, container managed transaction. MDB implements MessageListenerer interface so when a message is received it gets invoked (onMessage method...
Maki
Votes: 0
Answers: 0
Atomikos with Hibernate(MySQL) have connection error
I setted below properties cause MySQL bug(https://www.atomikos.com/Documentation/KnownProblems#MySQL_XA_bug)
com.atomikos.icatch.serial_jta_transactions=false
pinGlobalTxToPhysicalConnection="tru...
clapmin
Votes: 0
Answers: 1
What is the CDI equivalent of EJB's SessionSynchronization#afterCompletion method?
I've read CDI 2.0 specification (JSR 365) and found out the existence of the @Observes(during=AFTER_SUCCESS) annotation, but it actually requires a custom event to be defined in order to work.
This is...
cidra
Votes: 0
Answers: 1
How to configure EJB/JPA in JTA transaction mode?
This is a simple guide for configuring JPA and connecting to your database using JTA transaction mode. Also it is including the most common mistakes that developers do and you should avoid them.
Hope ...
mtz1406
Votes: 0
Answers: 1