Home » Search

About PreUpdate

11-16 of 16Refresh
Forum
2

auto generate timestamp

an ordinary Date / Timestamp field and update it in an event callback method (@PrePersist, @PreUpdate). Not
Issue
2

Bean Validation (JPA 2.0)

JPA 2 adds support for integration with the Bean Validation API. Constraints that are defined for entity and embeddable classes by using annotations can be checked automatically on PrePersist, PreUpdate and PreRemove JPA lifecycle events. Integration with the Validation API is not supported yet by
Forum
2

Compress ODB file with XML content

value on PrePersist and PreUpdate. Another improvement can be achieved by replacing the fields context
Forum
2

JPA 2.1 and AttributeConverter

String in JPA lifecycle events methods (such as PostLoad, PrePersist, PreUpdate). Bot01
Forum
2

Partial Indexing

and @PreUpdate). The new field should be indexed and used in queries. Thanks! Your reply do make sense. gzdillon
Forum
2

PostUpdate collection null

Hello, I have an entity MyEntity with a collection attribute myCollection. I have an EntityListener on MyEntity with a @PostUpdate method. When I try to access myCollection from the PostUpdate method, this collection is null. If I try to access the collection from the PreUpdate method