Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

State repository iterator doesn't find states for machineId==null [SPR-17498] #22030

Closed
spring-projects-issues opened this issue Nov 15, 2018 · 1 comment
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) status: invalid An issue that we don't feel is valid

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Nov 15, 2018

Dmytro Holubyev opened SPR-17498 and commented

When using Oracle as a repository database, population of data fails due to invalid iterator condition. Line 83:

for (RepositoryState s : stateRepository.findByMachineId(machineId == null ? "" : machineId)) {

<expr> == "" (as equivalent to <expr> == NULL) in Oracle always fails, thus returning empty result set. Operator "IS NULL" should be used instead.

Maven: org.springframework.statemachine:spring-statemachine-data-common:2.0.2.RELEASE


Attachments:

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Nov 15, 2018

Juergen Hoeller commented

This JIRA is just the issue tracker for the core Spring Framework project. Please report your issue to the Spring Statemachine team through GitHub: https://github.com/spring-projects/spring-statemachine/issues

@spring-projects-issues spring-projects-issues added type: bug A general bug status: invalid An issue that we don't feel is valid in: data Issues in data modules (jdbc, orm, oxm, tx) and removed type: bug A general bug labels Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) status: invalid An issue that we don't feel is valid
Projects
None yet
Development

No branches or pull requests

1 participant