jpa repository spring boot query table not mapped code example
Example: jpa repository spring boot query table not mapped
public interface UserInfoRepository extends CrudRepository<UserModel, String>
@Query("SELECT ID, NAME FROM USER", nativeQuery = true)
Optional<List<UserModel>> findSomething();
}