wwadge / hbnpojogen

Hibernate Pojo Generator
30 stars 20 forks source link

Repositories with Spring Boot 2.0 #15

Closed mrjavascript closed 6 years ago

mrjavascript commented 6 years ago

The repositories that are generated, e.g. ApplicationUserRepository, look like the following:

public interface ApplicationUserRepository extends JpaRepository<ApplicationUser, Long>, QueryDslPredicateExecutor<ApplicationUser> {

In Spring Boot 2, the Query DSL predicate executor changes to the following:

import org.springframework.data.querydsl.QuerydslPredicateExecutor; Changing the extends to use the lowercase convention fixes the issue.

wwadge commented 6 years ago

Try v1.5.9