ObjectDB ObjectDB

Internal Website Search

171-180 of 200 resultsRefresh
5

Multi-thread access to single EM's entities

javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax ... ) throws InterruptedException {         EntityManagerFactory emf = Persistence
5

use of Singleton into tomcat

hi all. i would write a class singleton that encapsulate the entitymanagerFACTORY into it.(the entitymanagerFactory IS A property of the only instance of class singleton. (the class singleton is not a Ejb!!!!!!!!!). into tomcat it not possible use ejbs............. i have to manage the concurrency
5

Bug: ClassCastException by retrieval

.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.EntityTransaction ... args   */ public static void main(String[] args) {   EntityManagerFactory emf = Persistence
5

Empty query results after JAR creation

. The main class of the test case looks like this:     EntityManagerFactory emf =         Persistence ... to access the database:     EntityManagerFactory emf =         Persistence.createEntityManagerFactory
5

Does ObjectDB support lazy loading?

"; EntityManagerFactory emf = Persistence.createEntityManagerFactory(path); EntityManager em = emf ... ? public static void main(String[] args)  {     String path = "test.odb";     EntityManagerFactory
5

com.objectdb.o.InternalException

; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax ... aqui...."); String ruta = "objectdb:BBDD/GestionDeServicios.odb;drop"; EntityManagerFactory emf
5

Remove a modified entity cause an optimistic lock exception

) {         EntityManagerFactory emf =             Persistence.createEntityManagerFactory ... ) { EntityManagerFactory emf = Persistence.createEntityManagerFactory( "objectdb:$objectdb/db/test.tmp;drop
1

Close() Method of EMF throwing "PersistenceException: Connection is closed" on first attempt to close.

the EntityManagerFactory associated with these ODBs by calling the EMF’s close() method. The exception / stack trace ... The exception indicates that the EntityManagerFactory was already closed when an attempt to close it happened
1

ObjectDB can't be activated

EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb://localhost:6136/test ... a ssh-tunel over port 1234 to local port 6136): EntityManagerFactory emf = Persistence
1

Strange Error with Criteria API and Sorting

.EntityManagerFactory; import javax.persistence.Persistence; import javax.persistence.criteria ... Test_OrderBy { public static void main(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