Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 807383e

Browse files
ghillertilayaperumalg
authored andcommitted
gh-3351 Fix - Postgres: Task Search is not working
1 parent f6e4af6 commit 807383e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spring-cloud-dataflow-server-core/src/main/java/org/springframework/cloud/dataflow/server/repository/TaskDefinitionRepository.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@
1919
import org.springframework.data.domain.Page;
2020
import org.springframework.data.domain.Pageable;
2121
import org.springframework.data.repository.PagingAndSortingRepository;
22+
import org.springframework.transaction.annotation.Transactional;
2223

2324
/**
2425
* Repository to access {@link TaskDefinition}s.
2526
*
2627
* @author Michael Minella
2728
* @author Gunnar Hillert
2829
*/
30+
@Transactional
2931
public interface TaskDefinitionRepository extends PagingAndSortingRepository<TaskDefinition, String> {
3032

3133
Page<TaskDefinition> findByTaskNameContains(String taskName, Pageable pageable);

0 commit comments

Comments
 (0)