About mapping

161-170 of 200Refresh
Forum
3

EntityManager JPA or JDO impl and different behavior

ask this is, I have an entity class that contains another entity, and that entity holds a Map. If I ... . However if I use em.find(SomeObject.class, id) the map is NOT populated. I created a simple test ... . That still doesn't change the fact that in my project the em.find(type, id) doesn't populate the nested map
JPA Doc
3

correlate(parentMap)

Method javax.persistence.criteria.Subquery MapJoin correlate(   MapJoin parentMap ) Create a subquery map join object correlated to a map join object of the enclosing query. Parameters: parentMap - join object of the containing query Returns: subquery join Since: JPA 2.0
JDO Doc
3

Discriminator.value

Annotation Element javax.jdo.annotations.Discriminator String value The value for the discriminator for objects of this class when using "value-map" strategy. Returns: The value for the discriminator for objects of this class when using "value-map" strategy Default value: "" Since: JDO 2.1
JDO Doc
3

Element.embeddedMapping

Annotation Element javax.jdo.annotations.Element Embedded[] embeddedMapping The embedded mapping for the element. Returns: the embedded mapping for the element Default value: {} Since: JDO 2.1
JPA Doc
3

entry()

Method javax.persistence.criteria.MapJoin Expression> entry() Create an expression that corresponds to the map entry. Returns: expression corresponding to the map entry Since: JPA 2.0
JPA Doc
3

getDeclaredPluralAttributes()

Method javax.persistence.metamodel.ManagedType Set> getDeclaredPluralAttributes() Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes ... attributes. Returns: declared Collection-, Set-, List-, and Map-valued attributes Since: JPA 2.0
JPA Doc
3

getModel()

Method javax.persistence.criteria.MapJoin MapAttribute getModel() Return the metamodel representation for the map attribute. Returns: metamodel type representing the Map that is the target of the join Since: JPA 2.0
JDO Doc
3

getPersistenceManagerFactory(overrides, name)

Static Method javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory(   Map overrides,   String name ) Returns a named PersistenceManagerFactory or persistence unit. Parameters: overrides - name - Since: JDO 2.1 See Also: getPersistenceManagerFactory(Map,String,ClassLoader,ClassLoader)
JDO Doc
3

getPersistenceManagerFactory(overrides, name, resourceLoader)

Static Method javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory(   Map overrides,   String name,   ClassLoader resourceLoader ) Returns a named PersistenceManagerFactory or persistence unit. Parameters: overrides - name - resourceLoader - Since: JDO 2.1 See Also: getPersistenceManagerFactory(Map,String,ClassLoader,ClassLoader)
JDO Doc
3

getPersistenceManagerFactory(props)

Static Method javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory(   Map props ) Get a PersistenceManagerFactory based on a Properties instance, using the current thread's ... . Since: JDO 1.0 See Also: getPersistenceManagerFactory(java.util.Map,ClassLoader)