About mapping

51-60 of 200Refresh
Forum
24

Exception when querying Map property with @embedded & Enhancer enabled

Exception when querying Map property with @embedded & Enhancer enabled
Manual
24

JPA Entity Fields

Fields of persistable user defined classes (entity classes, embeddable classes and mapped ... (Mapped By) fields Primary key (ID) fields Version field The first three groups (transient, persistent ... and maps of entity types. Basic - for any other persistable type. In JPA only Basic is optional
Manual
18

JPA Named Queries

is attached to exactly one entity class or mapped superclass - usually to the most relevant entity ... can be defined in JPA XML mapping files instead of using the @NamedQuery annotation. ObjectDB supports JPA XML mapping files, including the definition of named queries. But, because mapping files are useful
Manual
18

JPA Metamodel API

, mapped super classes) Set allManagedTypes = metamodel.getManagedTypes ... instance: // Get a managed type (entity, embeddable or mapped super classes): ManagedType ... . IdentifiableType is as a super interface of: MappedSuperclassType - represents user defined mapped
Manual
17

Database Connection using JPA

of the createEntityManagerFactory method takes a map of persistence unit properties as a second parameter: Mapmap ... for instantiation of EntityManager that, like the factory, takes a map of properties as an argument
Manual
17

Retrieving JPA Entity Objects

collection and map persistent fields (i.e. through one-to-one and many-to-one relationships ... through non collection and map persistent fields are also retrieved. Theoretically, in some extreme ... ) private Employee manager; : } The default for non collection and map references is FetchType
Result
17

ObjectDB Object Database Features [2018-01-27]

elements are indexable (extremely fast JOIN queries). Map keys and values are indexable. Nested paths ... . Easy Learning Curve Easier than other JPA solutions - no need to learn and use O/R mapping. Easier ... to most developers. Friendly API JPA is very simple, except for mapping, which is irrelevant to ObjectDB
Result
17

ObjectDB Object Database Features [2018-10-27]

elements are indexable (extremely fast JOIN queries). Map keys and values are indexable. Nested paths ... . Easy Learning Curve Easier than other JPA solutions - no need to learn and use O/R mapping. Easier ... to most developers. Friendly API JPA is very simple, except for mapping, which is irrelevant to ObjectDB
Result
17

ObjectDB Object Database Features

(extremely fast JOIN queries). Map keys and values are indexable. Nested paths inside embedded objects ... than other JPA solutions - no need to learn and use O/R mapping. Easier to learn than other Object ... JPA is very simple, except for mapping, which is irrelevant to ObjectDB. Persistence is set using JPA
Manual
15

Storing JPA Entity Objects

element in the XML mapping file: mappings xmlns="http://java.sun.com/xml/ns/persistence/orm ... -unit-defaults> mappings> The mapping file