If you are using hibernate (not sure about other JPA implementations) you may add methods with @Query
annotations like this:
@Query("select e from Employee as e where e.customeFields[:key] = :value")
List<Employee> findSomeHow(@Param("key") String key, @Param("value") String value)