ObjectDB ObjectDB

Internal Website Search

21-30 of 86 resultsRefresh
22

Error 363 - Failed to read value of inverse relationship

private String id; @OneToMany(mappedBy="town") private Set<EEvent> events; public ... >(), blockedUserList = new ArrayList<Player>(); @ManyToMany(mappedBy = "friendWishList") private List<Player> possibleFriends; @ManyToMany(mappedBy = "blockedUserList") private List
21

Left join fetch behaviour doesn't retrieve children?

Hello Support, Another strange bug ... I just added an attribute with mappedBy to the parent. This just break the test ! Test by yourself by adding / removing the mappedBy on the OneToOne annotation ... (targetEntity = MyEntityChild2.class, mappedBy = "myEntity") // This mapped break the test   public
19

find() cost unreasonable time!

="parent") protected Nodes parent; @OneToMany(mappedBy="parent",fetch=FetchType.EAGER) protected ... ") protected Nodes parent; @OneToMany(mappedBy="parent",fetch=FetchType.EAGER) protected List ... mappedBy="parent" from the definition of Sons:     @OneToMany(fetch=FetchType.EAGER) Initialize
19

Mapped By Fetch is very Slow

again :( ). Here is the test case : 1- Create 100 000 entities with for each 1 entity with @OneToOne(mappedBy ... .ALL,mappedBy = "myEntity") // Test by adding / remove "mappedBy" public MyEntityChild getEntityChild ... the mappedBy attribute. In bidirectional relationships you should try to make the side from
4

javax.persistence.OrderBy

{ ... @ManyToMany(mappedBy="students") @OrderBy // ordering by primary key is assumed
4

javax.persistence.AssociationOverride

(mappedBy="contactInfo.phoneNumbers") Collection employees; } Since: JPA 1.0
3

Unexpected Exception during commit

(and other classes). Please notice that ObjectDB can manage collections directly with no mappedBy - and it is also much more efficient. Therefore, consider removing the mappedBy definition instead of defining ... that are not used as a collection, I assumed a mappedBy relationship would be better. Most often I
0

javax.jdo.annotations.Value

) should be indexed. Default value: "" Since: JDO 2.1 String mappedBy Name of a member in the key class
0

javax.jdo.annotations.Persistent

value: "" Since: JDO 2.1 String mappedBy Name of the related member in the other class where this value
0

javax.jdo.annotations.Key

.1 String mappedBy Name of a member in the value class where this key is stored. Name of a member in

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