ObjectDB Database Search
51-100 of 200 resultsSchema-Update: Rename superclass and remove one subclass Hello, we renamed a superclass and removed one of the subclass. If we then try to open ... .close(); emf.close(); } Entities: @Entity @Access(AccessType.FIELD) public class SuperClass { public SuperClass () { } } ChildClassA: @Entity @Access(AccessType.FIELD) public class ChildClassA extends | |
AnnotationRef jakarta.persistence.Convert of a converter specified by a field or property of an embedded type or inherited mapped superclass ... other than java.util. Map , in which case the converter is applied to the elements of the collection. In ... is applied to the specified attribute of the embeddable instances contained in the collection a map | |
Error 990 when querying a class with persistence-capable-superclass added a persistence-capable- superclass so I guess it's related to that. spiffy Jonathan Harley Thank ... ? Could it be because of the superclass , as I guessed? Or a failure of run-time enhancement? RDBMS-based JDO/JPA implementations use a discriminator column when concrete superclasses are involved | |
AnnotationRef jakarta.persistence.NamedStoredProcedureQuery annotation can be applied to an entity or mapped superclass . The name element is the name ... ) that are used to map the results. The resultSetMappings element names one or more result set mappings ... that they are mapped using the same mechanism — e.g., either all via a set of result class | |
AnnotationRef jakarta.persistence.NamedNativeQuery to an entity class or mapped superclass . See Also: SqlResultSetMapping Since: JPA 1.0 Public Annotation Attributes ConstructorResult [] classes default {} Specifies the result set mapping ... native SQL query and, optionally, the mapping of the result of the native SQL query. Query names | |
InterfaceRef jakarta.persistence.metamodel.ManagedType Instances of the type ManagedType represent entity, mapped superclass , and embeddable types. Since: JPA 2.0 ... the managed type Since: JPA 2.0 MapAttribute getDeclaredMap (String name) Return the Map -valued ... ) Return the Map -valued attribute declared by the managed type that corresponds to the specified name | |
AnnotationRef jakarta.persistence.EntityListeners JPA Annotation EntityListeners Target: TYPE Implemented Interfaces: Annotation Specifies the callback listener classes to be used for an entity or mapped superclass . This annotation may be applied to an entity class or mapped superclass . The specified entity listener classes may have callback | |
IdentifiableType.getSupertype() - JPA Method JPA Method in jakarta.persistence.metamodel.IdentifiableType IdentifiableType getSupertype () Return the identifiable type that corresponds to the most specific mapped superclass or entity extended by the entity or mapped superclass . Return: supertype of identifiable type or null if no such supertype Since: JPA 2.0 | |
AnnotationRef jakarta.persistence.NamedAttributeNode Annotation Attributes String keySubgraph default "" (Optional) If the attribute references a Map type ... . A keySubgraph can not be specified without the Map attribute also being specified. If the target type ... subclass-specific attributes. Superclass subgraph entries are merged into subclass subgraphs | |
EnumRef jakarta.persistence.metamodel.Type | |
SELECT clause (JPQL / Criteria API) value path expressions can be used in the SELECT clause. Collection and map fields cannot be included | |
Index Definition for every index. A BTree is an ordered map data structure that ObjectDB maintains in the file | |
What are the main benefits of using ObjectDB? the execution time of object oriented applications significantly. For instance, collection and map | |
Can I use ObjectDB to access a relational database? To access relational databases using the Java Persistence API (JPA) you will need an Object Relational Mapping (ORM) tool, such as Hibernate, TopLink, EclipseLink, Open JPA or DataNucleus. The DataNucleus ORM implementation supports also the Java Data Objects (JDO) API. ObjectDB is a full featured | |
Deleting JPA Entity Objects for collection and map fields. For example: @Entity class Employee { : @OneToMany ( orphanRemoval | |
Entity Management Settings class, mapped super class or embeddable class). The element The element specifies global settings | |
JPA Annotations for Classes JPA defines three types of persistable classes which are set by the following annotations: Chapter 2 of the ObjectDB manual explains these annotations in detail. Entity and mapped super classes can be further configured by annotations that specify cache preferences and lifecycle event listener | |
AnnotationRef jakarta.persistence.ExcludeSuperclassListeners JPA Annotation ExcludeSuperclassListeners Target: TYPE Implemented Interfaces: Annotation Specifies that the invocation of superclass listeners is to be excluded for the entity class (or mapped superclass ) and its subclasses. Since: JPA 1.0 The JPA Lifecycle Events article explains how to use | |
AnnotationRef jakarta.persistence.EmbeddedId that the annotated persistent field or property of an entity class or mapped superclass is the composite ... and hashCode , defining value equality consistently with equality of the mapped primary key of the database table. The AttributeOverride annotation may be used to override the column mappings declared | |
AnnotationAttrRef jakarta.persistence.PrimaryKeyJoinColumn.referencedColumnName to the same name as the primary key column of the primary table of the superclass ( JOINED mapping strategy); the same name as the primary key column of the primary table ( SecondaryTable mapping ); or the same name as the primary key column for the table for the referencing entity ( OneToOne mapping ). Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.AttributeOverride.column JPA Annotation Attribute in jakarta.persistence.AttributeOverride Column column default null (Required) The column that is being mapped to the persistent attribute. The mapping type will remain the same as is defined in the embeddable class or mapped superclass . Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.PrimaryKeyJoinColumn.name the primary key column of the primary table of the superclass ( JOINED mapping strategy); the same name as the primary key column of the primary table ( SecondaryTable mapping ); or the same name as the primary key column for the table for the referencing entity ( OneToOne mapping ). Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.NamedAttributeNode.keySubgraph "" (Optional) If the attribute references a Map type, this element can be used to specify a subgraph for the Key in the case of an Entity key type. A keySubgraph can not be specified without the Map ... . These additional subgraphs are intended to add subclass-specific attributes. Superclass subgraph | |
AnnotationRef jakarta.persistence.PostLoad JPA Annotation PostLoad Target: METHOD Implemented Interfaces: Annotation Specifies a callback method 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 The JPA Lifecycle Events | |
AnnotationRef jakarta.persistence.NamedStoredProcedureQueries JPA Annotation NamedStoredProcedureQueries Target: TYPE Implemented Interfaces: Annotation Specifies multiple named stored procedure queries. Query names are scoped to the persistence unit. The NamedStoredProcedureQueries annotation can be applied to an entity or mapped superclass | |
InterfaceRef jakarta.persistence.metamodel.Metamodel cls) Return the metamodel managed type representing the entity, mapped superclass , or embeddable | |
AnnotationRef jakarta.persistence.NamedQueries JPA Annotation NamedQueries Target: TYPE Implemented Interfaces: Annotation Declares multiple named Jakarta Persistence query language queries. Query names are scoped to the persistence unit. The NamedQueries annotation can be applied to an entity or mapped superclass . See Also: NamedQuery | |
Metamodel.managedType(cls) - JPA Method JPA Method in jakarta.persistence.metamodel.Metamodel ManagedType managedType ( Class cls ) Return the metamodel managed type representing the entity, mapped superclass , or embeddable class. Parameters: cls - the type of the represented managed class Return: the metamodel managed | |
Subgraph.addKeySubgraph(attributeName,type) - JPA Method JPA Method in javax.persistence.Subgraph Subgraph addKeySubgraph ( String attributeName, Class type ) Add a node to the graph that corresponds to a map key ... of superclass subgraphs Parameters: attributeName - name of the attribute type - entity subclass Return | |
Subgraph.addKeySubgraph(attribute,type) - JPA Method JPA Method in javax.persistence.Subgraph Subgraph addKeySubgraph ( Attribute attribute, Class type ) Add a node to the graph that corresponds to a map key ... attributes of superclass subgraphs Parameters: attribute - attribute type - entity subclass Return | |
Graph | |
Graph | |
Graph | |
EnumRef jakarta.persistence.AccessType JPA Enum AccessType java.lang.Object ∟ java.lang.Enum ∟ jakarta.persistence.AccessType Used with the Access annotation to specify an access type to be applied to an entity class, mapped superclass , or embeddable class, or to a specific attribute of such a class. See Also: Access | |
AnnotationRef jakarta.persistence.Transient JPA Annotation Transient Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies that the annotated property or field is not persistent. May annotate a property or field of an entity class, mapped superclass , or embeddable class. Example: {@snippet : Since: JPA 1.0 This annotation is a marker annotation (with no attributes). | |
AnnotationRef jakarta.persistence.Access JPA Annotation Access Target: TYPE, METHOD, FIELD Implemented Interfaces: Annotation Used to specify an access type to be applied to an entity class, mapped superclass , or embeddable class, or to a specific attribute of such a class. Since: JPA 2.0 Public Annotation Attributes AccessType value | |
EntityGraph.addKeySubgraph(attribute,type) - JPA Method JPA Method in javax.persistence.EntityGraph Subgraph addKeySubgraph ( Attribute attribute, Class type ) Add a node to the graph that corresponds to a map ... of superclass subgraphs. Parameters: attribute - attribute type - entity subclass Return: subgraph | |
EntityGraph.addKeySubgraph(attributeName,type) - JPA Method JPA Method in javax.persistence.EntityGraph Subgraph addKeySubgraph ( String attributeName, Class type ) Add a node to the graph that corresponds to a map ... attributes of superclass subgraphs Parameters: attributeName - name of the attribute type - entity | |
AnnotationRef jakarta.persistence.GeneratedValue JPA Annotation GeneratedValue Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies a generation strategy for generated primary keys. The GeneratedValue annotation may be applied to a primary key property or field of an entity or mapped superclass in conjunction with the Id annotation | |
AnnotationRef jakarta.persistence.ExcludeDefaultListeners JPA Annotation ExcludeDefaultListeners Target: TYPE Implemented Interfaces: Annotation Specifies that the invocation of default listeners is to be excluded for the entity class (or mapped superclass ) and its subclasses. Since: JPA 1.0 The JPA Lifecycle Events article explains how to use | |
AnnotationRef jakarta.persistence.NamedNativeQueries JPA Annotation NamedNativeQueries Target: TYPE Implemented Interfaces: Annotation Declares multiple native SQL named queries. Query names are scoped to the persistence unit. The NamedNativeQueries annotation can be applied to an entity or mapped superclass . See Also: NamedNativeQuery Since: JPA 1 | |
IdentifiableType.getId(type) - JPA Method JPA Method in jakarta.persistence.metamodel.IdentifiableType SingularAttribute getId ( Class type ) Return the attribute that corresponds to the id attribute of the entity or mapped superclass . Parameters: type - the type of the represented id attribute Return: id attribute | |
IdentifiableType.getDeclaredVersion(type) - JPA Method JPA Method in jakarta.persistence.metamodel.IdentifiableType SingularAttribute getDeclaredVersion ( Class type ) Return the attribute that corresponds to the version attribute declared by the entity or mapped superclass . Parameters: type - the type of the represented declared | |
IdentifiableType.getVersion(type) - JPA Method JPA Method in jakarta.persistence.metamodel.IdentifiableType SingularAttribute getVersion ( Class type ) Return the attribute that corresponds to the version attribute of the entity or mapped superclass . Parameters: type - the type of the represented version attribute Return | |
IdentifiableType.getDeclaredId(type) - JPA Method JPA Method in jakarta.persistence.metamodel.IdentifiableType SingularAttribute getDeclaredId ( Class type ) Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass . Parameters: type - the type of the represented declared id attribute | |
AnnotationRef jakarta.persistence.PrePersist JPA Annotation PrePersist Target: METHOD Implemented Interfaces: Annotation Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass , or a callback listener class. A generated primary key value is available | |
AnnotationRef jakarta.persistence.PostUpdate JPA Annotation PostUpdate Target: METHOD Implemented Interfaces: Annotation Specifies a callback method 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 The JPA Lifecycle Events | |
AnnotationRef jakarta.persistence.PostRemove JPA Annotation PostRemove Target: METHOD Implemented Interfaces: Annotation Specifies a callback method 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 The JPA Lifecycle Events | |
AnnotationRef jakarta.persistence.metamodel.StaticMetamodel JPA Annotation StaticMetamodel Target: ElementType.TYPE Implemented Interfaces: Annotation The StaticMetamodel annotation specifies that the class is a metamodel class that represents the entity, mapped superclass , or embeddable class designated by the value element. Since: JPA 2.0 Public | |
AnnotationRef jakarta.persistence.PostPersist JPA Annotation PostPersist Target: METHOD Implemented Interfaces: Annotation Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass , or a callback listener class. Any generated primary key value |