You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AbstractPersistable defines a protectedsetter for the id property which will by default be omitted by the framework support only considering public methods. This results in the following reflection configuration
Also the @Id annotation is present directly on the id property which would in turn not get registered if the field does not show up in the reflection config. Because of all this the JPA mapping for the id property does not work as expected preventing application start.
Caused by: org.hibernate.AnnotationException: Entity '...' has no identifier (every '@Entity' class must declare or inherit at least one '@Id' or '@EmbeddedId' property)
Till the issue is solved one may use RuntimeHintsRegistrar providing the required hints as outlined below.
AbstractPersistable
defines aprotected
setter for theid
property which will by default be omitted by the framework support only consideringpublic
methods. This results in the following reflection configurationAlso the
@Id
annotation is present directly on theid
property which would in turn not get registered if the field does not show up in the reflection config. Because of all this the JPA mapping for theid
property does not work as expected preventing application start.Till the issue is solved one may use
RuntimeHintsRegistrar
providing the required hints as outlined below.The text was updated successfully, but these errors were encountered: