public class ServiceCommandTransactionProxy extends Object
This means that if you run a service command the multi-method-call way without an additional containing transaction that the command can join, you run the risk of Hibernate errors. If you are running a service without a containing transaction, use the single method "execute and catch exceptions" method.
ServiceCommand
Constructor and Description |
---|
ServiceCommandTransactionProxy(org.springframework.transaction.PlatformTransactionManager transactionManager) |
ServiceCommandTransactionProxy(org.springframework.transaction.PlatformTransactionManager transactionManager,
String isolationLevel,
String propagation) |
Modifier and Type | Method and Description |
---|---|
ServiceCommand |
proxyCommand(ServiceCommand command,
Class proxyInterface) |
public ServiceCommandTransactionProxy(org.springframework.transaction.PlatformTransactionManager transactionManager)
public ServiceCommand proxyCommand(ServiceCommand command, Class proxyInterface)
Copyright © 2003–2015 Atlassian. All rights reserved.