ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh

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

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

Date field Index is corrupted due to time change

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

Online backup problem

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

Performance problem

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

@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

Database size is much larger than expected (x2)

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

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://;user=admin

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

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