ObjectDB ObjectDB

Internal Website Search

161-170 of 200 resultsRefresh

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

Storing objects problem

to the problem that you have described. support Support Main class:      EntityManagerFactory emf ... ().add(switch1);   router.getChildren().add(switch2);     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

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

get the connection need to traverse the LAZY relationship from the EntityManagerFactory and will able able to use it as long as the EntityManagerFactory is open. The connection used in not

javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test

.currentThread().setContextClassLoader(EntityManagerFactory.class.getClassLoader()); then it works. Regards ... to support e.g. Declarative Services and possibly provide EntityManagerFactory as a service

Is there an update on running ObjectDB purely in-memory?

.:     EntityManagerFactory emf =         Persistence.createEntityManagerFactory("objectdb:test.mem ... the explorer and server. EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb:test.mem

object creation during pmf.getPersistenceManager()

- when a database is opened and a PersistenceManagerFactory / EntityManagerFactory is created ... / EntityManagerFactory is a heavy one time operation (followed by many PersistenceManager / EntityManager

Wrong data stored in time only fields

.EntityManagerFactory; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType ... ");                 EntityManagerFactory emf =             Persistence.createEntityManagerFactory

persisting object with long[][] arrays of array

) {         EntityManagerFactory EMF = Persistence.createEntityManagerFactory("TESTDB.odb ... ;     }     public static void main(String[] args) {         EntityManagerFactory EMF

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