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
Good morning everyone,
It would be interesting to standardize the behavior of Hibernate's @Subselect annotation. I was thinking of doing this through a dedicated annotation of this type:
Good morning everyone,
It would be interesting to standardize the behavior of Hibernate's @Subselect annotation. I was thinking of doing this through a dedicated annotation of this type:
@Documented @Retention(RUNTIME) @Target(ElementType.TYPE) public @interface VirtualEntity { String query(); boolean nativeQuery() default false; }
The idea is to specify a JPQL query as the default behavior, with the option to force it to a native query when necessary. What do you think?
The text was updated successfully, but these errors were encountered: