Class PanacheEntity
java.lang.Object
io.quarkiverse.groovy.hibernate.orm.panache.PanacheEntityBase
io.quarkiverse.groovy.hibernate.orm.panache.PanacheEntity
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.
If you want a custom ID type or strategy, you can directly extend PanacheEntityBase
instead, and write your own ID field. You will still get auto-generated accessors and
all the useful methods.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.quarkiverse.groovy.hibernate.orm.panache.PanacheEntityBase
delete, isPersistent, persist, persist, persist, persist, persistAndFlush
-
Field Details
-
id
The auto-generated ID field. This field is set by Hibernate ORM when this entity is persisted.- See Also:
-
-
Constructor Details
-
PanacheEntity
public PanacheEntity()
-
-
Method Details