QueryDSL Generated classes not able to access second level elements for querying
问题 I am using QueryDSL with Spring Data JPA in my Java Project and have Generated files using QueryDSL maven plugin to use the QueryDSL Model classes generated by it. This works great when i use it for one level nested objects, however if i try to access the 2nd level access objects it gives a NullPointerException saving the 2nd level model object is not initialized. Would appreciate some help. I am getting a NullPointerException in 3rd line qmachine.vendor is null. QTransaction qtransaction =