├── .gitignore ├── .mvn └── wrapper │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── LICENSE ├── README.md ├── mvnw ├── mvnw.cmd ├── pom.xml └── src ├── main └── java │ ├── org │ └── springframework │ │ └── data │ │ └── repository │ │ └── query │ │ ├── MyResultProcessor.java │ │ ├── ReturnTypeWarpper.java │ │ └── TupleConverter.java │ └── th │ └── co │ └── geniustree │ └── springdata │ └── jpa │ └── repository │ ├── JpaSpecificationExecutorWithProjection.java │ └── support │ ├── DefaultQueryHints.java │ └── JpaSpecificationExecutorWithProjectionImpl.java └── test ├── java ├── org │ └── springframework │ │ └── data │ │ └── projection │ │ └── PropertiesSourceTest.java └── th │ └── co │ └── geniustree │ └── springdata │ └── jpa │ ├── DemoApplication.java │ ├── DemoApplicationTests.java │ ├── SpecificationExecutorProjectionTest.java │ ├── domain │ ├── Document.java │ └── FormType.java │ ├── repository │ ├── DocumentRepository.java │ └── DocumentRepository2.java │ └── specification │ └── DocumentSpecs.java └── resources ├── application.properties └── import.sql /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/.gitignore -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/README.md -------------------------------------------------------------------------------- /mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/mvnw -------------------------------------------------------------------------------- /mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/mvnw.cmd -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/pom.xml -------------------------------------------------------------------------------- /src/main/java/org/springframework/data/repository/query/MyResultProcessor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/src/main/java/org/springframework/data/repository/query/MyResultProcessor.java -------------------------------------------------------------------------------- /src/main/java/org/springframework/data/repository/query/ReturnTypeWarpper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/src/main/java/org/springframework/data/repository/query/ReturnTypeWarpper.java -------------------------------------------------------------------------------- /src/main/java/org/springframework/data/repository/query/TupleConverter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/src/main/java/org/springframework/data/repository/query/TupleConverter.java -------------------------------------------------------------------------------- /src/main/java/th/co/geniustree/springdata/jpa/repository/JpaSpecificationExecutorWithProjection.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/src/main/java/th/co/geniustree/springdata/jpa/repository/JpaSpecificationExecutorWithProjection.java -------------------------------------------------------------------------------- /src/main/java/th/co/geniustree/springdata/jpa/repository/support/DefaultQueryHints.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/src/main/java/th/co/geniustree/springdata/jpa/repository/support/DefaultQueryHints.java -------------------------------------------------------------------------------- /src/main/java/th/co/geniustree/springdata/jpa/repository/support/JpaSpecificationExecutorWithProjectionImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/src/main/java/th/co/geniustree/springdata/jpa/repository/support/JpaSpecificationExecutorWithProjectionImpl.java -------------------------------------------------------------------------------- /src/test/java/org/springframework/data/projection/PropertiesSourceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/src/test/java/org/springframework/data/projection/PropertiesSourceTest.java -------------------------------------------------------------------------------- /src/test/java/th/co/geniustree/springdata/jpa/DemoApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/src/test/java/th/co/geniustree/springdata/jpa/DemoApplication.java -------------------------------------------------------------------------------- /src/test/java/th/co/geniustree/springdata/jpa/DemoApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/src/test/java/th/co/geniustree/springdata/jpa/DemoApplicationTests.java -------------------------------------------------------------------------------- /src/test/java/th/co/geniustree/springdata/jpa/SpecificationExecutorProjectionTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/src/test/java/th/co/geniustree/springdata/jpa/SpecificationExecutorProjectionTest.java -------------------------------------------------------------------------------- /src/test/java/th/co/geniustree/springdata/jpa/domain/Document.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/src/test/java/th/co/geniustree/springdata/jpa/domain/Document.java -------------------------------------------------------------------------------- /src/test/java/th/co/geniustree/springdata/jpa/domain/FormType.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/src/test/java/th/co/geniustree/springdata/jpa/domain/FormType.java -------------------------------------------------------------------------------- /src/test/java/th/co/geniustree/springdata/jpa/repository/DocumentRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/src/test/java/th/co/geniustree/springdata/jpa/repository/DocumentRepository.java -------------------------------------------------------------------------------- /src/test/java/th/co/geniustree/springdata/jpa/repository/DocumentRepository2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/src/test/java/th/co/geniustree/springdata/jpa/repository/DocumentRepository2.java -------------------------------------------------------------------------------- /src/test/java/th/co/geniustree/springdata/jpa/specification/DocumentSpecs.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/src/test/java/th/co/geniustree/springdata/jpa/specification/DocumentSpecs.java -------------------------------------------------------------------------------- /src/test/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/src/test/resources/application.properties -------------------------------------------------------------------------------- /src/test/resources/import.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pramoth/specification-with-projection/HEAD/src/test/resources/import.sql --------------------------------------------------------------------------------