eclipse-ee4j / eclipse-ee4j/eclipselink

Provide API to cancel a query like Hibernates cancelQuery

Open
#1,900 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
246
Forks
202
Avg merge
1d 22h
Merged PRs (30d)
14

Description

Hibernates Session interface provides a cancelQuery() method. Would it be possible to add this to EclipseLink? We have a application in which queries can be canceled by the user and currently we cancle everything about the DB query but have to wait until the DB query returns or fails with our predefined timeout.

Contributor guide

Open the contributing guide

Research direction

Review the EclipseLink Session interface and Hibernate's cancelQuery() method as the stated reference point. Determine the API and cancellation behavior needed so a user can stop an executing database query without waiting for the predefined timeout; done means the capability is exposed and its behavior is defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.