Home » Search

About mapped

31-40 of 200Refresh
Manual
20

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
20

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
Forum
19

Mapped (Inverse) LAZY @OneToMany vs. Unmapped LAZY @OneToMany

to console a lazy @OneToMany mapped field after a finding entity manager closes. There is a switch DO_VIEW ... manager closes and as expected both a mapped @OneToMany list and an unmapped @OneToMany list are viewable: a.listA_mapped:[{A}[4]"ownedElement1", {A}[5]"ownedElement2"] a.listB_unmapped:[{B}[2]"b1", {B}[3
Forum
18

Optimization of Map Queries

hi! I am having loads and loads of occurrences of something like ((com.test.MyEntity) $1.map.get('com.test.MyEntity')).someProperty ... ((com.test.MyEntity) $1.map.get('com.test.MyEntity')).someOtherProperty .. ((com.test.MyEntity) $1.map.get('com.test.MyEntity')).someMoreProperties I need
Manual
18

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
18

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
18

ObjectDB Object Database Features

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
Forum
18

Index on map key

Is there a way to create an Index with @Index on the key of a map? Indexes on map keys as well as queries on map keys are currently not supported. But as a workaround you can use a collection ... ();         Query query = em.createQuery(             "SELECT o FROM MyEntity o JOIN o.map e WHERE e.key
Issue
18

Eager load Map

I'm having an issue eager loading a nested map. I've attached @ManyToMany(fetch=FetchType.EAGER) attributes to no avail. If the map is viewed in the debugger or force iterated in the code it loads ok ... it to a db and re-loads it. The EntityManager is closed before accesing any fields. Finally the nested map
Forum
17

Extended mapping-definitions

The described feature is not available in any object-db I know, but possible with mapping ... its class) gets mapped to a java class. So cats get mapped to the java class 'Cat', dogs to 'Dog ... consequence I would get a huge main-table with the default-mapping, containing dogs and cats mixed