Package com.blazebit.persistence
Interface Executable
- All Known Subinterfaces:
DeleteCriteriaBuilder<T>
,InsertCriteriaBuilder<T>
,ModificationCriteriaBuilder<X>
,UpdateCriteriaBuilder<T>
public interface Executable
A base interface for executable query builders.
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Method Summary
Modifier and TypeMethodDescriptionint
Execute this modification statement and return the number of affected entities.javax.persistence.Query
getQuery()
Returns the JPA query for the built query.Returns the query string for the built query.
-
Method Details
-
getQueryString
String getQueryString()Returns the query string for the built query.- Returns:
- The query string
-
getQuery
javax.persistence.Query getQuery()Returns the JPA query for the built query. The returned query is already parameterized with all known parameters.- Returns:
- The typed query for the built query
-
executeUpdate
int executeUpdate()Execute this modification statement and return the number of affected entities.- Returns:
- The number of affected entities
-