DATAJPA-1185 - Added integration test for wrapped dynamic projections.

Original pull request: #223.
This commit is contained in:
Jens Schauder
2017-09-25 12:38:46 +02:00
parent bcf9cfdf50
commit d9afe81f8b
2 changed files with 2214 additions and 2186 deletions

View File

@@ -475,6 +475,13 @@ public interface UserRepository
@Query(value = "SELECT firstname, lastname from SD_User WHERE id = ?1", nativeQuery = true)
NameOnly findByNativeQuery(Integer id);
// DATAJPA-1185
<T> Stream<T> findAsStreamByFirstnameLike(String name, Class<T> projectionType);
// DATAJPA-1185
<T> List<T> findAsListByFirstnameLike(String name, Class<T> projectionType);
interface RolesAndFirstname {
String getFirstname();