ObjectDB Database Search
1-50 of 200 resultsIs ObjectDB better than Object Relational Mapping (ORM)?All about Is ObjectDB better than Object Relational Mapping (ORM)? in Java/JPA database - explanations, examples, references, links and related information. | |
jakarta.persistence.EntityManagerFactory.createEntityManager(Map) createEntityManager ( Map map ) Create a new application-managed EntityManager with the given Map specifying property settings. This method returns a new EntityManager instance each time it is invoked. The EntityManager.isOpen method will return true on the returned instance. Parameters: map | |
jakarta.persistence.EntityManagerFactory.createEntityManager(SynchronizationType,Map) createEntityManager ( SynchronizationType synchronizationType , Map map ) Create a new JTA application-managed EntityManager with the specified synchronization type and map ... - how and when the entity manager should be synchronized with the current JTA transaction map - properties | |
jakarta.persistence.metamodel.PluralAttribute.CollectionType.MAP Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel.PluralAttribute.CollectionType MAP Map -valued attribute Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.Type.PersistenceType.MAPPED_SUPERCLASS Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel.Type.PersistenceType MAPPED _SUPERCLASS Mapped superclass Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.PersistenceConfiguration.properties(Map) Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration properties ( Map properties ) Set multiple properties of this persistence unit. Parameters: properties - the properties Returns: this configuration. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.EntityManager.refresh(Object,Map) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void refresh ( Object entity , Map properties ) Refresh the state of the given managed entity instance from the database, using the specified properties, and overwriting unflushed changes | |
jakarta.persistence.EntityManager.lock(Object,LockModeType,Map) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void lock ( Object entity , LockModeType lockMode , Map properties ) Lock an entity instance belonging to the persistence context, obtaining the specified lock mode , using the specified | |
jakarta.persistence.EntityManager.refresh(Object,LockModeType,Map) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void refresh ( Object entity , LockModeType lockMode , Map properties ) Refresh the state of the given managed entity instance from the database, overwriting unflushed changes | |
JPA Persistable Types supports all JPA persistable types, which include: User-defined classes: Entity classes, mapped ... `, `Date`, and math types. Multi-value types: Collections, maps , and arrays. Miscellaneous types: Enum ... . Mapped superclasses In JPA, classes that are declared as mapped superclasses have some of the features | |
JPA Attributes Annotations, relationship types, and data storage formats. General field mapping Configure standard state mapping behavior ... ;Identity and versioning mapping Annotations used to define primary keys and concurrency control ... to perform optimistic locking checks. Enum mapping Configure how Java enumerated types are persisted and used | |
SQL Queries Annotations Jakarta Persistence (JPA) provides a set of annotations to define and map native SQL queries ... dialect. Groups multiple @NamedNativeQuery definitions on a single class. Result set mapping Map ... how the result set of a native query maps to entities, scalar values, or constructor results. Groups | |
JPA Entity Fields The fields of persistable user-defined classes (entity classes, embeddable classes, and mapped ... : @OneToOne , @ManyToOne : For references to entity types. @OneToMany , @ManyToMany : For collections and maps ... the database. Special settings are available for inverse fields of type List or Map . For an inverse list field | |
JPA Named Queries methods. Each @NamedQuery annotation is attached to exactly one entity class or mapped superclass, usually ... class Country { ... } Note: You can also define named queries in JPA XML mapping files instead of using the @NamedQuery annotation. ObjectDB supports JPA XML mapping files, including the definition | |
Retrieving JPA Entities through all non-collection and non- map persistent fields, such as one-to-one and many ... and non- map references is FetchType . EAGER , which means the retrieval operation cascades ... until they are accessed. Conversely, the default fetch policy for persistent collection and map fields | |
JPA Metamodel Types defining the high-level classification of a type: BASIC , ENTITY , EMBEDDABLE , or MAPPED _SUPERCLASS ... , mapped superclasses, and embeddables, representing any type that manages attributes. A managed type with a persistent identity (primary key), serving as the superinterface of entities and mapped | |
ObjectDB - JPA Object Database for Java Mapping (ORM) tools can reduce some manual work but cannot eliminate the extra processing time ... with no mapping . See for yourself how easy it is. Download ObjectDB and follow the Getting Stated Tutorial ... or NetBeans . Forget relational databases, JDBC, drivers, tables, records, ORM tools and mapping | |
jakarta.persistence.MapKeyJoinColumn Interfaces: Annotation Target: Method, Field Specifies a mapping to an entity that is a map key. The map ... to represent the map . If no MapKeyJoinColumn annotation is specified, a single join column is assumed ... ") Map organization; } Example 2: @Entity public class VideoStore { @Id int id; String name; Address | |
jakarta.persistence.Convert of an embedded type or inherited mapped superclass. It is not necessary to use the Basic annotation (or ... may be applied to: a basic attribute, or a collection attribute of any type other than Map , in which case ... to the specified attribute of the embeddable instances contained in the collection a map collection | |
jakarta.persistence.MapKeyColumn: Annotation Target: Method, Field Specifies the mapping for the key column of a map whose map key ... = "IMAGE_FILENAME") @CollectionTable(name = "IMAGE_ MAPPING ") Map images; // map from image name ... ) The name of the map key column. The table in which it is found depends upon the context. If the map key | |
JPA Lifecycle Events only in a mapping XML file, such as orm.xml ; there is no equivalent annotation: This mapping file | |
Setting and Tuning of JPA Queries: For an EntityManagerFactory , use the createEntityManagerFactory method: Map properties = new HashMap(); properties ... . createEntityManagerFactory ("pu", properties); For an EntityManager , use the createEntityManager method: Map | |
Storing JPA Entities XML element in the XML mapping file: The mapping file must be in the default location, META-INF/orm | |
JPA Metamodel Attributes: COLLECTION , SET , LIST , or MAP . Represents an attribute typed as a generic java.util.Collection ... access. Represents an attribute typed as a java.util. Map , managing both keys and values | |
JPA Class Enhancer classes , embeddable classes , and mapped superclasses ) and is usually optional ... . Without enhancement, only persistent collection and map fields can be loaded lazily (by using proxy objects | |
What is the Java Persistence API (JPA)?. These implementations are Object Relational Mapping (ORM) tools. The mapping bridges between the data | |
JPA Metamodel and Graphs, mapped superclasses, and embeddables. Describes the hierarchy of attributes (persistent fields and properties), covering singular, plural (collection), and map attributes. For detailed examples | |
Database Schema Evolution to any collection or array that can contain that object as an element. From any map type to any other map type, as long as the keys and values are convertible (for example, from HashMap to TreeMap ). Any | |
jakarta.persistence.criteria.MapJoin: - the source type of the join - the type of the target Map value - the type of the target Map key Super ... collection that has been specified as a Map . Since: Jakarta Persistence (JPA) 2.0 Public Instance ... that corresponds to the map entry. Returns: expression corresponding to the map entry. Since: Jakarta | |
jakarta.persistence.MappedSuperclass Interfaces: Annotation Target: Type Declares a class which is not itself an entity, but whose mappings are inherited by the entities which extend it. A mapped superclass is not a persistent type, and is not mapped to a database table. The persistent fields and properties of a mapped superclass are declared | |
jakarta.persistence.EntityManagerFactory the application, and which must be colocated in their mapping to a single database. If two entity types ... mapping information, and information about stored procedure parameters. When the query is executed ... createEntityManager ( Map map ) Create a new application-managed EntityManager with the given Map | |
jakarta.persistence.JoinColumn() { return address; } Example: unidirectional one-to-many association using a foreign key mapping // In ... . If the join is for a OneToOne or ManyToOne mapping using a foreign key mapping strategy, the foreign key ... OneToMany mapping using a foreign key mapping strategy, the foreign key is in the table of the target | |
jakarta.persistence.metamodel.IdentifiableType: - The represented entity or mapped superclass type. Super Interfaces: ManagedType , Type An instance of the type IdentifiableType represents an entity or mapped superclass type. Since: Jakarta ... the attribute that corresponds to the id attribute declared by the entity or mapped superclass. Parameters | |
jakarta.persistence.metamodel.MappedSuperclassType Parameters: - The represented mapped superclass type Super Interfaces: IdentifiableType , ManagedType , Type An instance of the type MappedSuperclassType represents a mapped superclass type. Since: Jakarta ... the attribute that corresponds to the id attribute declared by the entity or mapped superclass | |
jakarta.persistence.Entity interface may not be designated as an entity. An entity has a primary table, mapped using the Table annotation, and may have one or more secondary tables, mapped using the SecondaryTable annotation ... type maps to a single column in one of the tables mapped by the entity, a field of property | |
jakarta.persistence.EntityManager of their occurrence in the select list and default JDBC type mappings are applied. Parameters: sqlString - a native ... query. Parameters: resultSetMapping - the name of the result set mapping sqlString - a native SQL query ... procedure are to be mapped procedureName - name of the stored procedure in the database Returns | |
jakarta.persistence.metamodel.EntityType ) Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass ... MapAttribute getDeclaredMap ( String name , Class keyType , Class valueType ) Return the Map -valued ... Persistence (JPA) 1.0 MapAttribute getDeclaredMap ( String name ) Return the Map -valued attribute | |
jakarta.persistence.criteria.PluralJoin Persistence (JPA) 1.0 Expression get ( MapAttribute map ) Create a path corresponding to the referenced map -valued attribute. Inherited from Path Parameters: map - map -valued attribute Returns: expression ... . Since: Jakarta Persistence (JPA) 1.0 MapJoin join ( MapAttribute map ) Create an inner join to the specified | |
jakarta.persistence.criteria.Root to the referenced attribute. Since: Jakarta Persistence (JPA) 1.0 Expression get ( MapAttribute map ) Create a path corresponding to the referenced map -valued attribute. Inherited from Path Parameters: map - map ... : the resulting join. Since: Jakarta Persistence (JPA) 1.0 MapJoin join ( MapAttribute map ) Create an inner | |
jakarta.persistence.criteria.SetJoin Persistence (JPA) 1.0 Expression get ( MapAttribute map ) Create a path corresponding to the referenced map -valued attribute. Inherited from Path Parameters: map - map -valued attribute Returns: expression ... ( MapAttribute map ) Create an inner join to the specified Map -valued attribute. Inherited from From Parameters | |
jakarta.persistence.criteria.CollectionJoin attribute. Since: Jakarta Persistence (JPA) 1.0 Expression get ( MapAttribute map ) Create a path corresponding to the referenced map -valued attribute. Inherited from Path Parameters: map - map -valued ... . Since: Jakarta Persistence (JPA) 1.0 MapJoin join ( MapAttribute map ) Create an inner join to the specified Map | |
SELECT clause (JPQL / Criteria API) only single-valued path expressions in the SELECT clause. Collection and map fields cannot be included | |
JPA Named Queries Annotations). It is defined on an entity or mapped superclass and assigned a unique name for retrieval | |
Index Definition is an ordered map data structure that ObjectDB maintains in the file system, not in memory. The B | |
What are the main benefits of using ObjectDB? the execution time of object oriented applications significantly. For instance, collection and map | |
JPA Runtime Tuning & Configuration): Defaults passed in a property map to the factory builder or defined in persistence.xml . EntityManager | |
jakarta.persistence.MapKey: Annotation Target: Method, Field Specifies the map key for associations of type Map when the map key is itself the primary key or a persistent field or property of the entity that is the value of the map . If a persistent field or property other than the primary key is used as a map key | |
jakarta.persistence.MapKeyClass: Annotation Target: Method, Field Specifies the type of the map key for associations of type Map . The map key can be a basic type, an embeddable class, or an entity. If the map is specified using Java ... id; ... @ElementCollection(targetClass = String.class) @MapKeyClass(String.class) Map images | |
jakarta.persistence.Graph Subgraph addKeySubgraph ( Attribute attribute ) Add a node to the graph that corresponds to a map key ... a node to the graph that corresponds to a map key that is a managed type with inheritance. This allows ... that corresponds to a map key that is a managed type. This allows for construction of multi-node entity | |
jakarta.persistence.EntityGraph ( Attribute attribute ) Add a node to the graph that corresponds to a map key that is a managed type ... a node to the graph that corresponds to a map key that is a managed type with inheritance ... a node to the graph that corresponds to a map key that is a managed type. This allows |