ObjectDB ObjectDB

Internal Website Search

21-30 of 200 resultsRefresh
99

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
98

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
27

JPA Persistable Types

, Mapped superclasses, Embeddable classes. Simple Java data types: Primitive types, Wrappers, String, Date and Math types. Multi value types - Collections, Maps and Arrays. Miscellaneous types: Enum ... share the same class name, explicit entity name setting is required to avoid clashes. Mapped
23

JPA Persistence Unit

, embeddable classes and mapped superclasses) with related settings. Defining a persistence unit ... .Provider</provider> <mapping-file>META-INF/mappingFile.xml</mapping-file> <jar-file ... . If not specified, the first JPA implementation that is found is used. The mapping-file elements
22

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 ... : OneToOne, ManyToOne - for references of entity types. OneToMany, ManyToMany - for collections and maps
5

Constants.OPTION_MAPPING_HETEROGENEOUS_OBJECT_TYPE

Static Field javax.jdo.Constants String OPTION_MAPPING_HETEROGENEOUS_OBJECT_TYPE "javax.jdo.option.mapping.HeterogeneousObjectType" Since: JDO 2.1 See Also: PersistenceManagerFactory.supportedOptions()
5

Constants.OPTION_MAPPING_HETEROGENEOUS_INTERFACE_TYPE

Static Field javax.jdo.Constants String OPTION_MAPPING_HETEROGENEOUS_INTERFACE_TYPE "javax.jdo.option.mapping.HeterogeneousInterfaceType" Since: JDO 2.1 See Also: PersistenceManagerFactory.supportedOptions()
5

Constants.PMF_ATTRIBUTE_MAPPING

Static Field javax.jdo.Constants String PMF_ATTRIBUTE_MAPPING The name of the persistence manager factory element's "mapping" attribute. Since: JDO 2.1
5

Constants.PROPERTY_MAPPING

Static Field javax.jdo.Constants String PROPERTY_MAPPING "javax.jdo.option.Mapping" Since: JDO 2.1 See Also: PersistenceManagerFactory.getMapping()
5

DiscriminatorStrategy.VALUE_MAP

Enum Constant javax.jdo.annotations.DiscriminatorStrategy VALUE_MAP 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