ObjectDB ObjectDB

Internal Website Search

141-150 of 200 resultsRefresh
5

Performance problem

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

failure to enforce NOT NULL for java.lang.String

public void regressionTest() { EntityManagerFactory emf = Persistence ... ){         EntityManagerFactory emf =             Persistence.createEntityManagerFactory
5

Failed to read DB file while online backup is running

(); } } and here is the interesting part of JDODatabase: private EntityManagerFactory emf; private EntityManagerFactory getEntityManagerFactory() {   if(emf == null) {    synchronized (this) {     if(emf
5

"Attempt to lock a non entity object" error

; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax ... ) {         EntityManagerFactory emf = Persistence.createEntityManagerFactory(           "objectdb:D:\\eclipse
5

@MappedSuperclass and @Transient not working as I expected

.persistence.EntityManagerFactory; import javax.persistence.GeneratedValue; import javax.persistence ... protected int id; @Version protected long version; @Transient protected EntityManagerFactory emf
5

IN expression in a Criteria Query

public class T1108 {         public static void main(String[] args) {         EntityManagerFactory ... (String[] args) {         EntityManagerFactory emf =             Persistence
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

find() delay

){         EntityManagerFactory emf = Persistence.createEntityManagerFactory(             "$objectdb/db/test.odb ... final class Test { public static void main(String[] args){   EntityManagerFactory emf
5

multiple LEFT JOINs do not work as expected

static void main(String[] args) {         EntityManagerFactory emf =             Persistence ... class T616 { public static void main(String[] args) { EntityManagerFactory emf
1

NullPointerException when using multithreading

commits. The client application has a single instance of the EntityManagerFactory and each thread ... );     factory.close(); After 3 minutes the EntityManagerFactory is closed with all its EntityManager instances

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