```
If this is the JDBI @Transaction annotation only works on a sql object method (declarative api). From the snippet, it looks like you might be annotating something other than dao interface, then invoking methods on that interface.
The way to do this which would work would be something like:
```
interface MyDao {
@Transaction
public default void updateEmployee(Employee employee, Department dept) {
this.updateEmp(employee);
TimeUnit.SECONDS.sleep(90); // Pause
this.updateDepartment(dept)
}
@SqlUpdate("...")
void updateEmp(Employee emp);
@SqlUpdate("...")
void updateDepartment(Department dept);
}
```
-Brian