ObjectDB ObjectDB

Internal Website Search

151-160 of 200 resultsRefresh

How to Use a SF with extended Persistence Context?

13:52:03,022 INFO [org.jboss.as.jpa] (MSC service thread 1-9) JBAS011402: Starting Persistence Unit ... .as.jpa] (MSC service thread 1-10) JBAS011402: Starting Persistence Unit Service 'Paltzefomat.war ... Hey, I have a problem to use SF with an Extended Persistence Context Regarding to Transactions


javax.persistence Annotation Transient Target: Fields (including property get methods) Specifies that the property or field is not persistent. It is used to annotate a property or field of an entity class, mapped superclass, or embeddable class. Example: @Entity public class Employee


javax.persistence Annotation SecondaryTable Target: Classes Specifies a secondary table for the annotated entity class. Specifying one or more secondary tables indicates that the data for the entity ... that all persistent fields or properties of the entity are mapped to the primary table


javax.persistence Annotation Cacheable Target: Classes Specifies whether an entity should be cached if caching is enabled when the value of the persistence.xml caching element is ENABLE_SELECTIVE or DISABLE_SELECTIVE. The value of the Cacheable annotation is inherited by subclasses


Static Method javax.persistence.Persistence PersistenceUtil getPersistenceUtil() Return the PersistenceUtil instance Returns: PersistenceUtil instance Since: JPA 2.0


javax.persistence Annotation Entity Target: Classes Specifies that the class is an entity. This annotation is applied to the entity class. Since: JPA 1.0 Learn how to define and use entity classes in ... to the entity in queries. The name must not be a reserved literal in the Java Persistence query language. Default value: "" Since: JPA 1.0


javax.persistence Annotation Embedded Target: Fields (including property get methods) Specifies a persistent field or property of an entity whose value is an instance of an embeddable class. The embeddable class must be annotated as Embeddable. The AttributeOverride, AttributeOverrides


javax.persistence Annotation PostRemove 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


Annotation Element javax.jdo.annotations.Persistent Class[] types Types of the member. Used when the declared member type is a supertype of the actual type that is stored in the member. For example ... when used for persistence. Returns: the types Default value: {} Since: JDO 2.1


Annotation Element javax.jdo.annotations.Persistent String nullIndicatorColumn Null indicator column for this member. Used for nested embedded fields or properties to indicate whether the embedded instance should have a null value. Returns: the null indicator column Default value: "" Since: JDO 2.1

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