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

WINDUP-698: JPA tables not resolved for Entity that extends base class #1299

Merged
merged 1 commit into from May 10, 2018

Conversation

jsight
Copy link
Member

@jsight jsight commented May 9, 2018

@@ -233,7 +233,7 @@ private void addParsedClassToFile(GraphRewrite event, EvaluationContext context,
{
Extendable<?> extendable = (Extendable<?>) javaSource;
String superclassName = extendable.getSuperType();
if (Strings.isNullOrEmpty(superclassName))
if (!Strings.isNullOrEmpty(superclassName))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bugs like these will make you pull your hair out sometimes. Fun one to find.

(also, I bet I wrote that line)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, written about four years ago. :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

youthful mistake 😉

Copy link
Member

@mrizzi mrizzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks.

Tested also the JPA page in the static report and it looks good
screenshot from 2018-05-10 14-34-45

@mrizzi mrizzi merged commit a1c84a2 into windup:master May 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants