ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh
5

JPA - ExceptionInInitializerError when creating EntityManager

{ EntityManagerFactory emf = javax.persistence.Persistence.createEntityManagerFactory("tmpCLMSPU ... static { javax.persistence.EntityManagerFactory emf = javax.persistence.Persistence
5

Entity factory - best practices

at the same time? Flying Banana Jiacong Xu Creating multiple EntityManagerFactory instances is thread safe but inefficient. It is more efficient to create one EntityManagerFactory per database
5

Deadlock, if two threads try to close an entity manager

is closing the EntityManagerFactory that owns that EntityManager. Both threads require locks on both the EntityManager and the EntityManagerFactory but in a different order, so that can cause a deadlock
5

Cannot sort descending, when ordering by caluculated float in a method

main(String[] args)     {         EntityManagerFactory emf =             Persistence ... ("javaapplication.*"); EntityManagerFactory emf = Persistence
5

Mysterious "Attempt to persist a reference to a non managed instance" error

.EntityManagerFactory; import javax.persistence.EntityTransaction; import javax.persistence.Persistence; import ... ) {     Enhancer.enhance("failing.*");       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

Selective merge/cascade of detatched entity

-persisted) company. The following code was run: EntityManagerFactory emf = Persistence ... for improvement would be where I'm inserting a new company each time, such as: EntityManagerFactory emf
4

Remove not working

;drop"; EntityManagerFactory emf = Persistence.createEntityManagerFactory(url
4

Issue with orphanRemoval and multiple EntityManagers

){         EntityManagerFactory emf =             Persistence.createEntityManagerFactory(                 "objectdb:test.tmp
4

problem when primary key value is zero

) {         EntityManagerFactory emf =             Persistence.createEntityManagerFactory

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