ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh
5

ObjectDB is opening too many sockets

pool size when you initialize the EntityManagerFactory:     Map<String, String> properties = new HashMap<>();     properties.put("javax.jdo.option.MaxPool", "10");     EntityManagerFactory emf
5

em.flush(); em.clear(); loosing data and not persisting managed objects

.persistence.EntityManagerFactory; import javax.persistence.Persistence; public class Test { private final EntityManagerFactory emf; private final EntityManager em; public Test
5

Date field Index is corrupted due to time change

.Entity; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory ... ");                 EntityManagerFactory emf =             Persistence.createEntityManagerFactory
5

Online backup problem

in my servlet : EntityManagerFactory emf = null;   EntityManager em = null;   String result = "OK ... .   EntityManagerFactory emf = Persistence.createEntityManagerFactory("HomplexServicesUnit");   EntityManager em = emf
5

Performance problem

objects) First version of code:     EntityManagerFactory emf =         Persistence ... ();     System.out.println((endTime - startTime)); Second version of code:     EntityManagerFactory emf
5

@OneToMany(fetch = FetchType.LAZY) list is always null

when using EAGER loading, but when I use LAZY with PersistenceUnit (not EntityManagerFactory), it fails ... LAZY with PersistenceUnit (not EntityManagerFactory), it fails. The no-detach option is currently not
4

Database size is much larger than expected (x2)

static void main(String[] args) {         EntityManagerFactory emf =             Persistence
4

A distinguished Name for server or explorer is good for maintaining!

In windows, the server runs as "javaw"; in Linux it is "java". If the server failed, for example, it always outputs this message, regardless changing IP setting: private final static EntityManagerFactory emf = Persistence .createEntityManagerFactory("objectdb://192.168.0.1/trie.odb;user=admin
1

Schema-Update: Rename superclass and remove one subclass

Database public static void main(String[] args) { EntityManagerFactory emf = Persistence ... (String[] args) { // no drop - reuse the existing file EntityManagerFactory emf = Persistence
0

Eager Fetch of Map with Entities as Keys

(String[] args) {         EntityManagerFactory emf =             Persistence

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