ObjectDB ObjectDB

Internal Website Search

171-180 of 200 resultsRefresh

Java 6/7 Performance Comparison

(); EntityManagerFactory emf =             Persistence.createEntityManagerFactory("$objectdb/db/points.odb ... . Thanks - Andrew cojan_duffy Andrew David Duffy Opening an EntityManagerFactory and an EntityManager


once in the application:     EntityManagerFactory entityManagerFactory =         Persistence

ODB tries to create log files inside its own jar on Win7

.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax ... { EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb:test.odb"); EntityManager

Drop the entire database, Change the schema

:     EntityManagerFactory emf =         Persistence.createEntityManagerFactory("myDbFile.odb;drop ... :     EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb:myDbFile

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

Drop in Client/server mode not working

.persistence.EntityManagerFactory; import javax.persistence.Persistence; public class T627 {     public static void main(String[] args) {         EntityManagerFactory emf = Persistence

ODB-WeakRefPurger threads not closing at all

(or EntityManagerFactory) is created and exited when it is closed. Could you please verify ... . It is very similar to JPA's EntityManagerFactory and EntityManager, so please see this manual page

@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

Getting an error when adding activation code to conf file

.persistence.Entity; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory ... ObjectDBPopulator { public static void main(String[] args) { EntityManagerFactory emf

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

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