Skip to content

Fix MappedSuperclass for JPA entity attributes #120

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

Merged
merged 9 commits into from
Apr 24, 2019
Merged

Conversation

igdianov
Copy link
Collaborator

@igdianov igdianov commented Apr 24, 2019

This PR fixes class cast exception when mapping of @MappedSuperclass attribute from base class, i.e.

@ManyToOne(fetch= FetchType.LAZY)
SuperAuthor author;

@igdianov igdianov self-assigned this Apr 24, 2019
@igdianov igdianov added the bug label Apr 24, 2019
@codecov
Copy link

codecov bot commented Apr 24, 2019

Codecov Report

Merging #120 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #120      +/-   ##
============================================
+ Coverage     66.35%   66.37%   +0.01%     
- Complexity      379      381       +2     
============================================
  Files            34       34              
  Lines          2030     2031       +1     
  Branches        302      302              
============================================
+ Hits           1347     1348       +1     
  Misses          552      552              
  Partials        131      131
Impacted Files Coverage Δ Complexity Δ
...jpa/query/schema/impl/GraphQLJpaSchemaBuilder.java 87.29% <100%> (+0.02%) 115 <2> (+2) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fc3c919...4017f13. Read the comment docs.

@igdianov igdianov merged commit c67073a into master Apr 24, 2019
@igdianov igdianov deleted the fix-travis-build branch April 24, 2019 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants