Skip to content

xusyPersonal/spring-boot-querydsl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Application with JPA, REST, Audit (Envers), Lombok and QueryDsl

Employee and Phone example is taken from Java Persistence wikibook.

Executed query

	public Iterable<Employee> findEmployeesByPhoneNumber(String phoneNumber) {
		return repository.findAll(employee.phones.any().number.contains(phoneNumber));
	}

IntelliJ Idea configuration:

  • Go to Preferences -> Build, Execution, Deployment -> Annotation Processors;
  • Check Enable annotation processing checkbox;
  • In "Store generated sources relative to:" select Module content root.

Workarounds

  • package-info.java is required, for Revision.java to compile.

Links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%