Package-level declarations

Types

Link copied to clipboard

Defines methods to be used via the companion objects of entities.

Link copied to clipboard

Defines methods to be used via the companion objects of entities.

Link copied to clipboard
@MappedSuperclass
open class PanacheEntity : PanacheEntityBase

Represents an entity with a generated ID field id of type Long. If your Hibernate entities extend this class they gain the ID field and auto-generated accessors to all their public fields (unless annotated with Transient), as well as all the useful methods from PanacheEntityBase.

Link copied to clipboard
@Generated(value = "org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor")
abstract class PanacheEntity_
Link copied to clipboard

Represents an entity. If your Hibernate entities extend this class they gain auto-generated accessors to all their public fields (unless annotated with Transient), as well as a lot of useful methods. Unless you have a custom ID strategy, you should not extend this class directly but extend PanacheEntity instead.

Link copied to clipboard
interface PanacheQuery<Entity : Any>

Interface representing an entity query, which abstracts the use of paging, getting the number of results, and operating on List or java.util.Stream.

Link copied to clipboard

Represents a Repository for a specific type of entity Entity, with an ID type of Long. Implementing this interface will gain you the exact same useful methods that are on PanacheEntity and PanacheCompanion. If you have a custom ID strategy, you should implement PanacheRepositoryBase instead.

Link copied to clipboard

Represents a Repository for a specific type of entity Entity, with an ID type of Id. Implementing this interface will gain you the exact same useful methods that are on PanacheEntity and PanacheCompanion.