Commit
environment - TRUNK-4183
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,7 @@ | |
import org.openmrs.api.OrderService; | ||
import org.openmrs.api.context.Context; | ||
import org.openmrs.api.db.OrderDAO; | ||
import org.springframework.transaction.annotation.Propagation; | ||
import org.springframework.transaction.annotation.Transactional; | ||
import org.springframework.util.StringUtils; | ||
|
||
|
@@ -218,6 +219,7 @@ public List<Order> getOrderHistoryByConcept(Patient patient, Concept concept) { | |
* @see org.openmrs.api.OrderService#getNextOrderNumberSeedSequenceValue() | ||
*/ | ||
@Override | ||
@Transactional(propagation = Propagation.REQUIRES_NEW) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
wluyima
Member
|
||
public Long getNextOrderNumberSeedSequenceValue() { | ||
return dao.getNextOrderNumberSeedSequenceValue(); | ||
} | ||
|
@djazayeri what do you think of this? Having @transaction annotation on the service impl makes it fail and daniel added this as a fix