ObjectDB ObjectDB

Internal Website Search

161-170 of 200 resultsRefresh
15

how to query by properties of onetomany relations? (Error 990)

. You have to use JOIN to define a variable that will iterate over the collection elements. This specific query should be rewritten as follows: select f from Foo f join f.bars b where b.name = ?1 ... up after i a short night and remembered sql joins :) in my last projects i have been using mongodb
3

queries under 2.7.6_4 significantly slower than under 2.7.6

. What we can report is: using a reference query (you have our test db) select distinct o from ObjectNode o join o ... .linkedObjects join v$1). [Step 2b] Evaluate fields in ObjectNode (v$1) instances. [Step 2c] Filter ... .ObjectProperty locating ObjectProperty (v$2) instances that satisfy: (o.properties join v$2). [Step 3b
3

each 1-2 days objects on some objectdb level lock/block each other

Zwicker here are some typical queries: select o from ObjectNode o join o.properties p1 join o ... distinct o from ObjectNode o join o.properties p1 join o.properties p2 where (o.classIdentifier ... = "startableState" and p2.doubleValue = 0))) select distinct o from ObjectNode o join o.properties p1
2

getModel()

Method javax.persistence.criteria.SetJoin SetAttribute<?,E> getModel() Return the metamodel representation for the set attribute. Returns: metamodel type representing the Set that is the target of the join Since: JPA 2.0
2

JoinType.RIGHT

Enum Constant javax.persistence.criteria.JoinType RIGHT Right outer join. Since: JPA 2.0
2

JoinTable.inverseJoinColumns

Annotation Element javax.persistence.JoinTable JoinColumn[] inverseJoinColumns (Optional) The foreign key columns of the join table which reference the primary table of the entity that does not own the association. (I.e. the inverse side of the association). Uses the same defaults as for JoinColumn. Default value: {} Since: JPA 1.0
2

JoinTable.name

Annotation Element javax.persistence.JoinTable String name (Optional) The name of the join table. Defaults to the concatenated names of the two associated primary entity tables, separated by an underscore. Default value: "" Since: JPA 1.0
2

JoinTable.joinColumns

Annotation Element javax.persistence.JoinTable JoinColumn[] joinColumns (Optional) The foreign key columns of the join table which reference the primary table of the entity owning the association. (I.e. the owning side of the association). Uses the same defaults as for JoinColumn. Default value: {} Since: JPA 1.0
2

MapKeyJoinColumn.referencedColumnName

Annotation Element javax.persistence.MapKeyJoinColumn String referencedColumnName (Optional) The name of the column referenced by this foreign key column. The referenced column is in the table of the target entity. Default (only applies if single join column is being used.) The same name as
2

MapKeyJoinColumns.value

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

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