Internal Website Search

91-100 of 200 resultsRefresh

Left join fetch behaviour doesn't retrieve children?

.persistence.EntityManagerFactory; import javax.persistence.Id; import javax.persistence.ManyToMany; import ... ;         EntityManagerFactory emf = Persistence ... (String[] args) {   EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb

client server mod of communication

to communicate with server, in client server mode.    1)EntityManagerFactory emf ... =admin");    2)EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb ... ">Getter gtr;     EntityManagerFactory emf = Persistence

ODB IndexActivation NullPointerException

the creation of EntityManagerFactory or of EntityManager? Is it possible to ask ... the following code block after creating the EntityManagerFactory. this.entityManagerFactory ... /1060) EntityManager em = this.entityManagerFactory.createEntityManager(); final String

mapping file is not being loaded

with the Persistence api: EntityManagerFactory emf = Persistence ... -java"> import javax.persistence.Entity; import javax.persistence.EntityManagerFactory; import javax ... [] args) {         EntityManagerFactory emf =    

Memory leak

on aplication initialization and closed when the user logs out, as well as EntityManagerFactory. We use em ... ">EntityManagerFactory instances have been created and have not been closed, and ObjectDB is very sensitive for closing every opened EntityManagerFactory. Please try

ObjectDB within a resource adapter module and Java EE Connector Architecture

to generate an EntityManagerFactory. But when using ObjectDB you can either define a standard persistence ... > EntityManagerFactory emf = Persistence ... EntityManagerFactory it is not clear to me how to "inject" easily specs for which per-end-project database

Weird issue with variable naming

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

combined index not used

{ EntityManagerFactory emf = Persistence.createEntityManagerFactory("my.odb ... ;            entityManager = entityManagerFactoryEntityManagerFactory emf

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence ... [] args) {   EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb:$objectdb ... ;  EntityManagerFactory emf =            

Memory leak in com.objectdb.o.CST

class="code">EntityManagerFactory instances. Do you access 168 distinct databases concurrently ... ">EntityManagerFactory instance, use it for creating multiple EntityManager instances, and remember to close each EntityManagerFactory and