ObjectDB ObjectDB

Internal Website Search

21-30 of 75 resultsRefresh
5

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

: RequestBean []: Created: com.greensoft.entity.Activity [null](TEST: activity 4 (AND composite)) INFO: RequestBean []: Persisted: com.greensoft.entity.Activity [21](TEST: activity 4 (AND composite)) INFO ... []: Updated: com.greensoft.entity.Activity [21](TEST: activity 4 (AND composite)) INFO: RequestBean
5

javax.persistence.JoinColumns

javax.persistence Annotation JoinColumns Target: Fields (including property get methods) Defines mapping for composite foreign keys. This annotation groups JoinColumn annotations for the same relationship. When the JoinColumns annotation is used, both the name and the referencedColumnName elements
5

combined index not used

The query planner considered the composite index but eventually selected another query plan. We will try to understand that selection and provide a fix. support Support The reason for not using the composite ... all of them and missed the best combination of using the composite index on these 4 fields. Increasing
5

javax.persistence.IdClass

javax.persistence Annotation IdClass Target: Classes Specifies a composite primary key class that is mapped to multiple fields or properties of the entity. The names of the fields or properties in the primary key class and the primary key fields or properties of the entity must correspond
5

javax.persistence.MapKeyJoinColumns

javax.persistence Annotation MapKeyJoinColumns Target: Fields (including property get methods) Supports composite map keys that reference entities. The MapKeyJoinColumns annotation groups MapKeyJoinColumn annotations. When the MapKeyJoinColumns annotation is used, both the name
5

javax.persistence.EmbeddedId

javax.persistence Annotation EmbeddedId Target: Fields (including property get methods) Applied to a persistent field or property of an entity class or mapped superclass to denote a composite primary key that is an embeddable class. The embeddable class must be annotated as Embeddable
5

MapKey.name

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
5

javax.persistence.PrimaryKeyJoinColumns

javax.persistence Annotation PrimaryKeyJoinColumns Target: Classes and fields (including property get methods) Groups PrimaryKeyJoinColumn annotations. It is used to map composite foreign keys. Example: ValuedCustomer subclass @Entity @Table(name="VCUST") @DiscriminatorValue("VCUST
5

javax.persistence.MapKey

of the associated entity is used as the map key. If the primary key is a composite primary key and is mapped
5

MapsId.value

Annotation Element javax.persistence.MapsId String value (Optional) The name of the attribute within the composite key to which the relationship attribute corresponds. If not supplied, the relationship maps the entity’s primary key. Default value: "" Since: JPA 2.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