ObjectDB ObjectDB

Internal Website Search

1-4 of 4 resultsRefresh
116

javax.persistence.PreRemove

javax.persistence Annotation PreRemove Target: Callback methods Is used to specify callback methods for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener class. Since: JPA 1.0 Learn how to define and use JPA
61

JPA Lifecycle Events

onPostUpdate() {} @PreRemove void onPreRemove() {} @PostRemove void onPostRemove ... the database (during commit or flush). @PreRemove - when an entity is marked for removal in ... ) {} @PostUpdate void onPostUpdate(Object o) {} @PreRemove void onPreRemove(Object o
17

Method Invocation On All Entities

). support Support Thanks for the quick reply. I've annotated a method with the PreRemove annotation
3

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

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support