ObjectDB ObjectDB

Internal Website Search

161-170 of 200 resultsRefresh
16

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 ... ) doesn't populate the nested map and in the test project it does. If I use a query instead of find
3

javax.persistence.metamodel.PluralAttribute.CollectionType

MAP Map-valued attribute Map-valued attribute Since: JPA 2.0 CollectionType SET Set-valued attribute
3

PrimaryKeyJoinColumn.referencedColumnName

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). Default value: "" Since: JPA 1.0
3

PrimaryKeyJoinColumn.name

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). Default value: "" Since: JPA 1.0
3

MapKey.name

or property of the associated entity that is used as the map key. Default: If the name element is not specified, the primary key of the associated entity is used as the map key. If the primary key is a composite primary key and is mapped as IdClass, an instance of the primary key class is used as the key. Default value: "" Since: JPA 1.0
2

getProperties()

Method javax.persistence.EntityManagerFactory Map<String,Object> getProperties() Get the properties and associated values that are in effect for the entity manager factory. Changing the contents of the map does not change the configuration in effect. Returns: properties Throws
2

javax.persistence.metamodel.SingularAttribute

() Is the attribute collection-valued (represents a Collection, Set, List, or Map). Is the attribute collection-valued (represents a Collection, Set, List, or Map). Returns: boolean indicating
2

value()

Method javax.persistence.criteria.MapJoin Path<V> value() Create a path expression that corresponds to the map value. This method is for stylistic use only: it just returns this. Returns: path corresponding to the map value Since: JPA 2.0
2

PessimisticLockScope.NORMAL

is used, or if the entity is otherwise mapped to a secondary table, this entails locking the row(s ... contain the foreign key (such as relationships that are mapped to join tables or unidirectional
0

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

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support