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

javax.persistence.AssociationOverrides

get methods) Used to override mappings of multiple relationship properties or fields. Example ... AssociationOverride[] value (Required) The association override mappings that are to be applied to the relationship field or property . (Required) The association override mappings that are to be applied to the relationship field or property . Since: JPA 1.0
3

javax.persistence.MapsId

a ManyToOne or OneToOne relationship attribute that provides the mapping for an EmbeddedId primary key ... ; ... @MapsId("empid") // maps the empid attribute of embedded id @ManyToOne ... maps the entity’s primary key. Default value: "" Since: JPA 2.0
3

javax.persistence.InheritanceType

A strategy in which fields that are specific to a subclass are mapped to a separate table ... . A strategy in which fields that are specific to a subclass are mapped to a separate table than the fields
3

javax.persistence.PessimisticLockScope

is otherwise mapped to a secondary table, this entails locking the row(s) for the entity instance in ... key (such as relationships that are mapped to join tables or unidirectional one-to-many relationships
3

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

javax.jdo.annotations.Discriminator

-map" strategy. 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
0

Value.embeddedMapping

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

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

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