ObjectDB ObjectDB

Internal Website Search

141-150 of 200 resultsRefresh


javax.persistence Annotation EntityResult Target: Used to map the SELECT clause of a SQL query ... that are mapped to the entity object. This should include foreign key columns to related entities ... of the result. The class of the result. Since: JPA 1.0 FieldResult[] fields Maps the columns specified in


javax.persistence Annotation JoinColumns Target: Fields (including property get methods) Defines mapping for composite foreign keys. This annotation groups JoinColumn annotations for the same ... See Also: JoinColumn JoinColumn[] value The join columns that map the relationship. The join columns that map the relationship. Since: JPA 1.0


Annotation Element javax.persistence.AttributeOverride Column column (Required) The column that is being mapped to the persistent attribute. The mapping type will remain the same as is defined in the embeddable class or mapped superclass. Since: JPA 1.0


Annotation Element javax.persistence.MapKeyJoinColumns MapKeyJoinColumn[] value (Required) The map key join columns that are used to map to the entity that is the map key. Since: JPA 2.0


javax.persistence Annotation AttributeOverrides Target: Classes and fields (including property get methods) Used to override mappings of multiple properties or fields. Example: @Embedded ... or property mapping overrides. (Required) One or more field or property mapping overrides. Since: JPA 1.0


to a persistent field or property of an entity class or mapped superclass to denote a composite primary ... . The AttributeOverride annotation may be used to override the column mappings declared ... to the relationship to the parent entity. Relationship mappings defined within an embedded id class are not

addSubquery(sub, variableDeclaration, candidateCollectionExpression, parameters)

candidateCollectionExpression, Map parameters ) Add a subquery to this query. The Map version of the method treats the key of each map entry as the name of the parameter in the subquery, with or ... is the empty String for either the parameter or the value of the String[], or for any map key or value


for the key of a map relation. Corresponds to the xml element "key". Since: JDO 2.1 String column Name ... : "" Since: JDO 2.1 Embedded[] embeddedMapping The embedded mapping for the key. The embedded mapping for the key. Returns: the embedded mapping for the key Default value: {} Since: JDO 2.1 Extension[] extensions


is embedded Default value: "" Since: JDO 2.1 Embedded[] embeddedMapping The embedded mapping for the element. The embedded mapping for the element. Returns: the embedded mapping for the element Default


Method javax.jdo.PersistenceManagerFactory String getMapping() Get the Mapping setting for this factory. This is used to find the object-datastore mapping file(s). Returns: the Mapping setting. Since: JDO 1.0

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