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

Select fetching of relations with embedded ids fails with a NPE #601

Closed
beikov opened this issue Jul 13, 2018 · 0 comments

Comments

@beikov
Copy link
Member

commented Jul 13, 2018

Description

An entity view for an entity with an embedded id maps a collection via FetchStrategy.SELECT. A NPE is thrown during VALUES clause generation.

Expected behavior

Actual behavior

Steps to reproduce

Environment

Version:
JPA-Provider:
DBMS:
Application Server:

@beikov beikov added this to the 1.3.0 milestone Jul 13, 2018

@beikov beikov self-assigned this Jul 13, 2018

beikov added a commit to beikov/blaze-persistence that referenced this issue Jul 19, 2018
[Blazebit#601] Added test showing NPE when batch select correlating a…
…n entity with embedded id and fix sporadic NPE in flushing due to collection replacing of create only views
beikov added a commit to beikov/blaze-persistence that referenced this issue Jul 19, 2018
[Blazebit#601] Make use of the THIS placeholder for implicit correlat…
…ed mappings instead of the id to support correlating entites with embedded ids. Fixes Blazebit#601
beikov added a commit to beikov/blaze-persistence that referenced this issue Jul 20, 2018
[Blazebit#601] Make use of the THIS placeholder for implicit correlat…
…ed mappings instead of the id to support correlating entites with embedded ids. Fixes Blazebit#601
beikov added a commit to beikov/blaze-persistence that referenced this issue Jul 20, 2018
[Blazebit#601] Make use of the THIS placeholder for implicit correlat…
…ed mappings instead of the id to support correlating entites with embedded ids. Fixes Blazebit#601

@beikov beikov closed this in f10c566 Jul 20, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.