ObjectDB Database Search

151-200 of 200 results

Join query problem with new statetment

were from the beginning tagged as @Entity and I don't think it was ever changed. I've changed this query

General Performance Issues Illustrated with a Specific Method

.getTransaction(). begin ();         for (int i = 0; i

java.sql.Time field off by 30 minutes

;       em.getTransaction(). begin ();       

Need help to make this test work and define proper annotations for entities Lists

.createEntityManager();             em.getTransaction(). begin

List of Enum Values in an entity

.getTransaction(). begin ();         MyEntity entity = new MyEntity();  

OneToMany and cascade delete problem

of the mapped by side, using refresh :     em.getTransaction(). begin ();   

How to Remove records from many to many relationship tables in JPA

= entityManager.find(Conclusion.class, id); entityManager.getTransaction(). begin (); entityManager.remove

Error occured during initialization of boot layer

RequirementDBEntity("SRS1", "TestReq1"); em.getTransaction(). begin (); em.persist(req); em.getTransaction

Query by array element

(). begin ();         em.persist(new MyEntity());    

newbie - lots of exeptions

to the exception that was reported at the beginning of this thread. It may be the result of switching

Memory Leak in EntityManagerFactory ?

could happen if an EntityManager is closed while a transaction is still in progress (i.e. begin

Database Files

;       em.getTransaction(). begin ();         

Replicated cluster recovery

Currently the slave servers are limited to read only (it is indicated at the beginning of the page

java.sql.Date equals comparison not working with CriteriaAPI

();         em.getTransaction(). begin ();      

Get multiple entities by Id

.createEntityManager();         em.getTransaction(). begin ();    

Great product - needs better marketing - more popularity

on ObjectDB since the beginning of this year, but I think it would be much better if your db

Database size is much larger than expected (x2)

;jfe";   trans. begin ();   for (; i but byte[] is probably much more important. Yes, I agree. Thanks a lot. gzdillon Lai Yang

Bug with unique constraint exception not resulting in transaction roll back

to see when one transaction is ended and another one begins . if you are sure that there is a problem, you may try

TimeSeries and ObjectDB

Hi, I am using ObjectDB for storing TimeSeries (large ones) - when I get new points to add to the TimeSerie entity - I currently have to retrieve the whole timerserie since beginning of time, then add the new points, and then commit the whole timeserie again. I looked at Update queries

Unable to delete the .odb file programatically

;   pm.currentTransaction(). begin (); pm.currentTransaction().commit(); } catch

@MappedSuperclass and @Transient not working as I expected

.getTransaction(). begin ();   DataObject merged = em.merge(this);   em.getTransaction().commit

Group by date / time

.getTransaction(). begin ();         MyEntity e1 = new MyEntity

Too many persistable types (>10) - exceeds evaluation limit

in it. And if other entity types are in the db I would expect the error message to occur at the begin

Bulk Delete and Update - best practice?

.getTransaction(). begin (); em.persist(data); em.getTransaction().commit(); em.clear(); TypedQuery q = em

Stalling on "run File" in Netbeans when using -javaagent:lib/objectdb.jar

/objectdb.jar is present in the VM Options, in which case the class begins to execute then simply "stalls

How to define database structure and insert some initial objects from scratch

in the database:         em.getTransaction(). begin ();         for (int i = 0; i

Query on Embedded Primary Key?

").createEntityManager();         em.getTransaction(). begin ();    

EntityManager JPA or JDO impl and different behavior

;     em.getTransaction(). begin ();         Holder

How to delete M2M relationship?

. begin (); for(User u: attendeesToRemove){ for(int i=0;i

em.flush(); em.clear(); loosing data and not persisting managed objects

Test(); t.doit(); } public void doit() { String sbs = "This is a test String"; em.getTransaction(). begin (); for(int i=0;i

Insertion Speed Rate and Batch Load

;     em.getTransaction(). begin ();         for (int i = 1; i

Calendar in Criteria Querys

;             em.getTransaction(). begin ();  

Undeployment of an remote Glassfish application locks objectdb log file

:/ locked. The problem from the begining was that because glassfish could't undeploy the webapp in

LEFT (OUTER) JOIN problem when mappedBy is defined

/test.odb"); EntityManager em = emf.createEntityManager(); em.getTransaction(). begin (); Invoice i1

Auto Date for Creation and Update

(); final var transaction = manager.getTransaction(); transaction. begin (); manager.persist(test

com.objectdb.o.InternalException

(). begin ();          em.persist(mp);        

Strange behaviour with ORDER BY and IN

.getTransaction(). begin ();               

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

") javax.persistence.EntityManager em = emf.createEntityManager(); em.getTransaction(). begin

Mapped By Fetch is very Slow

.getTransaction().isActive()) {    em.getTransaction(). begin ();   }   // Write 100 000 entities with 1 child for each   for (int i=0;i

Use temporary files to enable very large transactions

an entity:   em.getTransaction(). begin ();   for (int i = 0; i

Eager Fetch of Map with Entities as Keys

.createEntityManager();         em.getTransaction(). begin ();   

ODB-FileWriter holds unecessary entity reference after transaction and entity manager are closed

().commit() em.clear() System.gc(); em.getTransaction(). begin (); // here we had a break point and did

Navigation through lazy loading from Detached Objects

.getTransaction(). begin ();         MyEntity e1 = new MyEntity(1

Issue with UPPER ?

+paste of Case(2) with all UPPER removed from the beginning of the query until it started suddenly

Unexpected exception when execute query without enhanced entities

;    em.getTransaction(). begin ();         em.persist(new

Issue with TYPE expression in Criteria API

.createEntityManager();         em.getTransaction(). begin ();   

NPE on em.createQuery(query).getResultList()

;   em.getTransaction(). begin ();          

Error 990 when querying a class with persistence-capable-superclass

multiple begin and commit transaction   IRule rule = new Rule();   ...    

Enhancing a class causes it to not save changes.

the content of the object at the beginning of the transaction to the current content of the object

Best practise loading big data

(); // create values em. getTransaction (). begin (); MyStepBlockCollection sbc = new MyStepBlockCollection