Timeline for Persistence unit as RESOURCE_LOCAL or JTA?
Current License: CC BY-SA 3.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 5, 2017 at 20:03 | comment | added | Radu Linu | @informatik01 Thanks. Is very interesting because on my flush action the changes are sent to DB and could ne be reverted | |
Oct 5, 2017 at 19:31 | comment | added | informatik01 | @LinuRadu This answer might be helpful for you: What's the use of session.flush() in Hibernate | |
Oct 5, 2017 at 19:22 | comment | added | Radu Linu | @informatik01 Ok... I think there are common rules with JTA and I want to clarify on think. Is correct that flush is sending data to DB if is triggered? In my case I trigger flush some changes are propagated to DB and also exception is occurring; after I trigger rollback (using setRollbackOnly) but the propagated changes are still in DB. | |
May 23, 2017 at 19:16 | comment | added | informatik01 | @KorayTugay Oh, it's OK. Hope you found useful information here ) | |
May 23, 2017 at 19:14 | comment | added | Koray Tugay | @informatik01 upvote button. (i can not just comment plus 1, not allowed!) | |
May 23, 2017 at 19:13 | comment | added | informatik01 | @KorayTugay I am sorry, didn't quite understand what you say, what triangle? | |
May 23, 2017 at 18:08 | comment | added | Koray Tugay | I am hitting the triangle facing up because of the link you provided. | |
May 16, 2016 at 10:46 | history | edited | informatik01 | CC BY-SA 3.0 |
Minor corrections for better readability.
|
Mar 1, 2016 at 16:22 | comment | added | Ravi Parekh |
In my project transaction-type=RESOURCE_LOCAL and @PersistenceContext and @Transactional managed by Spring
|
|
Nov 6, 2015 at 11:52 | history | edited | informatik01 | CC BY-SA 3.0 |
Minor text formatting improvement for better readability.
|
Jun 23, 2015 at 12:09 | comment | added | Sam | Just wanted to add one point: If you are using Spring you can use @ PersistenceContext and EntityManager with Resource_Local. In this case the Spring container can manage the transaction using @ Transactional annotation. | |
Mar 18, 2015 at 23:55 | history | edited | informatik01 | CC BY-SA 3.0 |
Note about this answer.
|
Mar 11, 2015 at 22:00 | history | edited | informatik01 | CC BY-SA 3.0 |
added 39 characters in body
|
Mar 11, 2015 at 21:52 | history | answered | informatik01 | CC BY-SA 3.0 |