ObjectDB Database Search

51-80 of 80 results

Performance and memory usage of queries

; import javax.persistence. EntityManager ; import javax.persistence.EntityManagerFactory; import ... ;  .createEntityManagerFactory("objectdb:$objectdb/db/test.tmp;drop");   EntityManager em;   for (int i = 0; i

Attempt to begin a new transaction when a transaction is active

The code I have a RecordDao stateless java bean :  @Stateless public class RecordDao { private EntityManagerFactory emf; private EntityManager em; public RecordDao() { } @PostConstruct public ... the EntityManagerFactory and the EntityManager explicitly, but let the application server

javax.persistence.PersistenceException

: No Persistence provider for EntityManager named pilots.odb at javax.persistence.Persistence ... with " No Persistence provider for EntityManager named $objectdb/db/pilots.odb" as the cause.   When I

persisting object with long[][] arrays of array

.createEntityManagerFactory("TESTDB.odb");         EntityManager emg =EMF ... ("TESTDB2.odb");         EntityManager emg =EMF

connection pooling

them when it creates new EntityManager instances. See this manual page for more information on working with EntityManagerFactory  (which manages the connection pool) and EntityManager (which represents

Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers

EntityManager em; @PersistenceContext(unitName = "mysqlPU") private EntityManager em1; @Transactional

Cast exception?

.PersistenceException: No Persistence provider for EntityManager named xxx Upon closer examination, isn't javax ... == null) { /* 85 */ throw new PersistenceException("No Persistence provider for EntityManager named

Error using query with MAX() function

Test { private final EntityManagerFactory emf; private final EntityManager em; public Test() { emf

Problem with Criteria Querys

/test.tmp;drop");         EntityManager em = emf

Embedded List

;         EntityManager em = null;      

CriteriaQuery .where() for multiple conditions

= (EntityManagerFactory) servletContext.getAttribute("emf"); EntityManager em = emf.createEntityManager(); Person

Is redirecting the log file possible

the EntityManagerFactory (or is it the EntityManager ?) where to store the log-file

Puzzler: Not getting cascades on read from Spring context

Would it make sense to call entityManager .merge(o) for each of the objects returned to get the child

Objectdb EntityManagerFactory problem

one  EntityManagerFactory per application, with multiple  EntityManager instances for multiple database connections. support Support

Multiple Collection Fields not update correctly

, 8.0, 8.0 Merge it            EntityManager em = getEM();  

Failed to create a new file 'target\objectdb\log\archive' (error 112)

Christian Code we run:     private void registerTypes() { try { EntityManager em

How to Use a SF with extended Persistence Context?

Hey, I have a problem to use SF with an Extended Persistence Context Regarding to Transactions. The need for an extended persistence Context emerges for the need to create queries in advance for fast execution so I need to store the queries and I need an EntityManager that doesn't get closed

Problem with @UniqueConstraint

" ; EntityManagerFactory emf = Persistence . createEntityManagerFactory ( PATH ); EntityManager em = emf

Index on map key

;    EntityManager em = emf.createEntityManager();       

Does ObjectDB create one instance of each entity class on (web app) load ?

to the EntityManager metamodel for caching some oft-used information in an application-wide

ORDER BY problem, when String starts with language specific character

/test.odb");         EntityManager em = emf.createEntityManager

Error with org.springframework.data.jpa.domain.AbstractPersistable

; EntityManager em = emf.createEntityManager();         em

zip file or JAR manifest missing

EntityManager em = SingleManager.getEntityManager(); public void read(){   int iCnt = 10;  

General Performance Issues Illustrated with a Specific Method

; EntityManager em = emf.createEntityManager();         em

java.sql.Time field off by 30 minutes

; EntityManager em = emf.createEntityManager();            

UPDATE statemen crash when i put the WHERE clause.

Hello, i have a problem with a UPDATE statement. When i run the code without WHERE clause the cod is executed, but when i attach the WHERE the program stop there. The code looks like this. EntityManager em = emf.createEntityManager() ; em.getTransaction().begin() ; EntityManager updateEm = emf

ArrayIndexOutOfBoundsException on flush

at this point is performing a delete query for all entity objects that the database contains: EntityManager em

Can't open replicated database

( "objectdb://SE101388:6136//SE101352:6136/WorkflowHistory.odb;user=...;password=..."); EntityManager em

NullPointer when accessing persistent field

");         EntityManager em = emf.createEntityManager();  

Cascade.ALL with LAZY fetchtype does not clean up all references on remove

Hello, I have a tree of entity classes that reference others using Cascade.ALL in combination with FetchType.LAZY. If I now delete a root entity using EntityManager .remove all leaf nodes will not be deleted. This only applies to the leaf nodes. If I add an additional the behaviour changes