Search code examples
javaquerydsl

QueryDSL JPA Insert


How to insert row in table using

<dependency>
    <groupId>com.querydsl</groupId>
    <artifactId>querydsl-jpa</artifactId>
</dependency>

For update I found JPAUpdateClause For delete I found JPADeleteClause

But how to insert row?


Solution

  • QueryDSL only supposer the DELETE and UPDATE - you will have to use the Hibernate or JPA to insert your entities.