transactional
Liferay transactions how-to
I am copying from Liferay forum - didn\'t get answer in 2 weeks. http://www.liferay.com/community/forums/-/message_boards/message/9384663[详细]
2023-03-15 19:52 分类:问答Entities Not Persisting - Spring + Hibernate + JPA
I\'m using Spring + Hibernate + JPA and I have a situation where I can\'t get my entities to persist to the database. I\'ve set up a service class that is annotated with @Transactional. It uses a DAO[详细]
2023-03-15 05:57 分类:问答using spring's @Transactional on a method which also makes use of aop:after advice
i was trying to see if there\'s already a similar question but couldn\'t find it so, here it is. we have a legacy code where a single BO makes method calls to many DAOs using reflection.[详细]
2023-03-13 02:29 分类:问答@Transactional Spring Junit test not doing rollback
I try to set up a Junit test case for my dao layer. However, I do NOT want the test data to be actually persisted to the DB.[详细]
2023-03-13 01:41 分类:问答@Transactional method calling another method without @Transactional anotation?
I\'ve seen a method in a Service class that was marked as @Tr开发者_如何学运维ansactional, but it was also calling some other methods in that same class which were not marked as @Transactional.[详细]
2023-03-10 06:46 分类:问答Hibernate is saving a completely new entity automatically(full stack of calls)
I have already asked this question two times, but I\'m new to stackoverflow and it seems that I don\'t know the rules for formatting my example code in here. Now I\'ve decided to give the full stack o[详细]
2023-03-09 11:08 分类:问答How to perform atomic operations in Hibernate?
Hi I have a hibernate entity which has a set of another entity as its field. Something like this: public class UserEntity implements Srializable {[详细]
2023-03-06 09:30 分类:问答Magento Transactional Email Links prefixed with x-msg
Objective Send out a Magento transactional email with a link back to the website with a variable on the end of the url.[详细]
2023-03-02 22:26 分类:问答How to implement "delete all" for a Spring Roo Entity?
I\'m trying to delete all database entries for a Spring Roo entity. When I look at *_Roo_Entity.aj it seems as if there is no \"delete all\" method. I tried to implement it myself (Licences is the nam[详细]
2023-02-24 23:23 分类:问答Spring3 's @Transactional @Scheduled not committed to DB?
This is my 1st time trying Spring3\'s @Scheduled , but found I cannot commit to DB. This is my code :[详细]
2023-02-19 18:40 分类:问答