Internal Website Search

141-150 of 200 resultsRefresh

Is it possible to remove parent/child entities without refresh?

javax.persistence.EntityManagerFactory; import javax.persistence.FetchType; import javax ... createEntityManager(String dbFileName, boolean delete) {   EntityManagerFactory emf = null;  

Date field Index is corrupted due to time change

.EntityManagerFactory; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType ... ;             EntityManagerFactory emf

Merge with Parent/Child entities not possible

.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.FetchType; import ... ; EntityManagerFactory emf = null;   if (delete) {    new File(dbFileName).delete

Performance problem

;EntityManagerFactory emf =         Persistence.createEntityManagerFactory ... :     EntityManagerFactory emf =   

failure to enforce NOT NULL for java.lang.String

() { EntityManagerFactory emf = Persistence.createEntityManagerFactory("target/test.odb;drop"); EntityManager em ... ;     EntityManagerFactory emf =         

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) {   

"Attempt to lock a non entity object" error

.EntityManagerFactory; import javax.persistence.LockModeType; import javax.persistence.Persistence ... void main(String[] args) {         EntityManagerFactory emf

@MappedSuperclass and @Transient not working as I expected

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

Navigation through lazy loading from Detached Objects

">EntityManagerFactory and enable  lazy loading) - until serialization, which completes ... ");         EntityManagerFactory emf =     

NullPointerException when using multithreading

of the EntityManagerFactory and each thread has its own instance of EntityManager.  After 500 persists ... ; factory.close(); After 3 minutes the EntityManagerFactory