- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2017 10:13 AM
I am now implementing a cron job based on the scond part of the following tutorial (Scheduled Jobs | Alfresco Documentation ) . The Action Based cronjob is using a TransactionHelper in the parent class (
org.alfresco.repo.action.scheduled.CronScheduledQueryBasedTemplateActionDefinition)
. My question is now if Alfresco supports the start of a second transaction within the executeImpl function in the implementation class of this Action.
Thank you for your information in advance.
Regards
Kaffi
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2017 06:05 PM
Hi,
It is possible to create new transaction whilst within an existing transaction. However, they're essentially two separate transactions (not nested) that cannot see each others isolated DB changes. Do you really need a new transaction ?
Regards,
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2017 06:05 PM
