Jonathan.Moebius (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=62ace13...
) *commented* on HHH-15946 (
https://hibernate.atlassian.net/browse/HHH-15946?atlOrigin=eyJpIjoiZDY0YT...
)
Re: jpa-modelgen fails silently upon faulty annotation (
https://hibernate.atlassian.net/browse/HHH-15946?atlOrigin=eyJpIjoiZDY0YT...
)
Hi, sorry, I guess, I wasn’t clear enough in my enthuiasm =)
The point is not, that the code doesn’t compile, but the point ist, that a compile error
in one Type annotation switches off annotation processing entirely. The code will compile
neither as-is nor with the type-annotation commented out. But in the second case, the JPA
Modelgen prints out its starting message prior to the compile error while it will not
print out any message with the type annotation present.
This will affect any other class to be compiled as well. Say you have an E2.java which
does compile - with the defective @Type annotation you won’t get an E2_.java. With only a
“normal” compile error, an E2_.java will be generated.
(
https://hibernate.atlassian.net/browse/HHH-15946#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15946#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100214- sha1:02c55de )