I generated the where query. It's always different. Is there a way to use this WHERE in the @Query for a JPARepository
@Query("SELECT e FROM Entity e WHERE :whereQuery")
List<Entity> getEntity(@Param("whereQuery") String whereQuery);
I generated the where query. It's always different. Is there a way to use this WHERE in the @Query for a JPARepository
@Query("SELECT e FROM Entity e WHERE :whereQuery")
List<Entity> getEntity(@Param("whereQuery") String whereQuery);