How to integrate querydsl in your javaee7 project
This guide requires knowledge on: maven git eclipse querydsl wild fly We will show you how to modify the javaee7-archetype project ...

- maven
- git
- eclipse
- querydsl
- wild fly
Follow this guide to setup your project:
http://czetsuya-tech.blogspot.com/2017/04/how-to-setup-arquillian-testing-with.html
Take note, of the arquillian configuration, as we will need it later.
- In resources I have added a JPAQueryFactoryProducer:
@Produces public JPAQueryFactory produceJPQQueryFactory() { return new JPAQueryFactory(em); }
- Note that I have modified Member entity, added a BaseEntity and Identifiable interface.
- I have added a new package: com.broodcamp.javaee_querydsl_demo.repository and the classes inside it.
- I have also modified: MemberRegistrationTest, so that we can run the arquillian test correct.
Post a Comment