ObjectDB ObjectDB

Internal Website Search

71-80 of 147 resultsRefresh
9

How to use JOIN FETCH?

(String[] args) throws Exception {   File file = new File("eager.odb");   if (file.exists ... .createEntityManagerFactory("eager.odb");   EntityManager em = emf.createEntityManager();   em.getTransaction
9

Problem with merging / persisitng objects with @Embeddable field

, Convertable { (...) @ElementCollection(fetch = FetchType.EAGER) List<ProductSet> productSets; @Embeddable public class ProductSet implements Serializable { @ManyToMany(fetch = FetchType.EAGER
9

PostUpdate collection null

=FetchType.EAGER) private ArrayList<OtherEntity> myCollection = new ArrayList<OtherEntity>(); } Thanks ... {         @Id int id;                 @OneToMany(fetch=FetchType.EAGER, cascade=CascadeType.PERSIST
9

Database Inconsistency or corruption

.persistence.CascadeType.ALL, fetch = javax.persistence.FetchType.EAGER, orphanRemoval = true) @javax ... .EAGER) @javax.persistence.JoinColumn(name="value") private metamodel.Value value; public Attribute
9

GWT RPC is throwing serialization exception when I have object db date value

), otherwise the List will alway be empty after detaching. @OneToMany(fetch = FetchType.EAGER, cascade ... the collection, and using EAGER fetch mode is one way to do that. support Support I ran in
9

OEM enhancing

Hello, I have question regarding OEM licence enhancement. @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL) private SomeClass[] props; @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL) private Map<String, SomeClass2> vars = new TreeMap<String, SomeClass2
9

How to query for list of lists ?

(fetch = FetchType.EAGER) protected List<Integer> filterDescription; (...) } Whene i try to run ... ") @ElementCollection(fetch = FetchType.EAGER) private List<String> reviewSnippets; ... Finally the query
6

Issue with orphanRemoval and multiple EntityManagers

;         @OneToMany(cascade=CascadeType.ALL, fetch=FetchType.EAGER, orphanRemoval=true)         private List
1

ObjectDB 2.7.6

to read from file" error (issue #2322). Added an option for eager background purge of weak references ... . Changed query optimisation to prefer set retrieval during query execution. Improved eager fetch
1

NullPointerException on TreeSet load

of ObjectDB, is to set fetch type to EAGER:     @Entity     public static class MyEntity {         @OneToMany(cascade=CascadeType.PERSIST, fetch = FetchType.EAGER)         Set<MyElement> set

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