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

Failure to load JPA PersistenceServiceUnit used by Batch feature using V2 version of JobInstance entity. #3739

Closed
ajm01 opened this issue May 25, 2018 · 1 comment
Assignees
Labels
in:Batch Java Batch (JSR352) batch features release bug This bug is present in a released version of Open Liberty release-18.0.0.2

Comments

@ajm01
Copy link
Contributor

ajm01 commented May 25, 2018

We are interpreting the sql exceptions that are returned when determining the runtime version of our Entity objects. This is based on the presence or lack thereof of certain tables and columns when we execute JPA test queries. In some instances we are not checking for all possibilities when we execute certain jpa queries and the runtime erroneously gives up and fails to load the JPA PersistenceServiceUnit.

Need to fix the runtime to check for all possibilities so that the JPA PersistenceServiceUnit is created correctly for the given Entity version.

@ajm01 ajm01 self-assigned this May 25, 2018
@ajm01 ajm01 added the release bug This bug is present in a released version of Open Liberty label May 25, 2018
@scottkurz scottkurz changed the title Fix failure to load JPA PersistenceServiceUnit in JBatch Failure to load JPA PersistenceServiceUnit used by Batch feature using V2 version of JobInstance entity. May 30, 2018
@scottkurz scottkurz added the in:Batch Java Batch (JSR352) batch features label May 30, 2018
@scottkurz
Copy link
Member

Resolved by PR #3740

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in:Batch Java Batch (JSR352) batch features release bug This bug is present in a released version of Open Liberty release-18.0.0.2
Projects
None yet
Development

No branches or pull requests

3 participants