Package io.quarkus.spring.data.runtime
Class RepositorySupport
java.lang.Object
io.quarkus.spring.data.runtime.RepositorySupport
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voiddeleteAll(io.quarkus.hibernate.orm.panache.common.runtime.AbstractManagedJpaOperations<io.quarkus.hibernate.orm.panache.PanacheQuery<?>> operations, Iterable<?> entities) static List<?> findByIds(io.quarkus.hibernate.orm.panache.common.runtime.AbstractManagedJpaOperations<io.quarkus.hibernate.orm.panache.PanacheQuery<?>> operations, Class<?> entityClass, Iterable<?> ids) static voidstatic ObjectgetById(io.quarkus.hibernate.orm.panache.common.runtime.AbstractManagedJpaOperations<io.quarkus.hibernate.orm.panache.PanacheQuery<?>> operations, Class<?> entityClass, Object id) Deprecated.static ObjectgetOne(io.quarkus.hibernate.orm.panache.common.runtime.AbstractManagedJpaOperations<io.quarkus.hibernate.orm.panache.PanacheQuery<?>> operations, Class<?> entityClass, Object id) Deprecated.use} instead.invalid @link
{@link RepositorySupport#getReferenceById)static ObjectgetReferenceById(io.quarkus.hibernate.orm.panache.common.runtime.AbstractManagedJpaOperations<io.quarkus.hibernate.orm.panache.PanacheQuery<?>> operations, Class<?> entityClass, Object id)
-
Method Details
-
findByIds
-
deleteAll
public static void deleteAll(io.quarkus.hibernate.orm.panache.common.runtime.AbstractManagedJpaOperations<io.quarkus.hibernate.orm.panache.PanacheQuery<?>> operations, Iterable<?> entities) -
getOne
@Deprecated public static Object getOne(io.quarkus.hibernate.orm.panache.common.runtime.AbstractManagedJpaOperations<io.quarkus.hibernate.orm.panache.PanacheQuery<?>> operations, Class<?> entityClass, Object id) Deprecated.use} instead.invalid @link
{@link RepositorySupport#getReferenceById)Add call to the Panache method implementing the actual retrieving of a reference to an entity with the given class and identifier.- Parameters:
operations- an instance ofAbstractJpaOperationsused to perform JPA operationsentityClass- theClassobject of the entity type to be retrievedid- the identifier of the entity to be retrieved- Returns:
- a reference to the entity of the specified class with the given identifier
-
getById
@Deprecated public static Object getById(io.quarkus.hibernate.orm.panache.common.runtime.AbstractManagedJpaOperations<io.quarkus.hibernate.orm.panache.PanacheQuery<?>> operations, Class<?> entityClass, Object id) Deprecated.use} instead.invalid @link
{@link RepositorySupport#getReferenceById)Add call to the Panache method implementing the actual retrieving of a reference to an entity with the given class and identifier.- Parameters:
operations- an instance ofAbstractJpaOperationsused to perform JPA operationsentityClass- theClassobject of the entity type to be retrievedid- the identifier of the entity to be retrieved- Returns:
- a reference to the entity of the specified class with the given identifier
-
getReferenceById
-
clear
-
flush
-
invalid @link
{@link RepositorySupport#getReferenceById)