Your service tasks use EJB Stateless Session Beans, right?
And with SQL Server you mean Microsoft SQL Server, right?
You might mark either the class or the methods accessing the MS SQL Server database with annotation @TransactionAttribute( TransactionAttributeType.REQUIRES_NEW )
Then this part will be run in a new Transaction and is not part of the currently running transaction of the service task.