ObjectDB Database Search

101-150 of 200 results

Multiple Collection Fields not update correctly

.getTransaction(). begin ();             em.merge(myEntity

Immediately retrieve unique id

The beginning of my "Sample" class looks like: @Entity @SequenceGenerator(name = "sampleSeqGenerator", initialValue = 1, allocationSize = 100) public class Sample implements Serializable { private static final long serialVersionUID = 1L; private String sampleName; @GeneratedValue(strategy

problem with lazy loading - unittest project attached

me to call entityManager.getTransaction(). begin ()/commit() and i also can not set the isolation to READ

Activation Issue

a deliberate error (e.g. at the beginning of the file) and try restarting the server. If the server

Problem with @UniqueConstraint

. createEntityManager (); em. getTransaction (). begin (); CI ci = new CI (); ci.name = "abc" ; em

Index on map key

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

find() cost unreasonable time!

;  em.clear();     trans. begin ();    }   }   trans.commit

ORDER BY problem, when String starts with language specific character

.getTransaction(). begin ();         em.persist(new MyEntity("a"));   

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

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

Problem with distinct select, order by and equivalent alias/attribute path

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

EntityManager refresh problem

;           entityManager.getTransaction(). begin

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

ArrayIndexOutOfBoundsException on flush

= _emf.createEntityManager(); em.getTransaction(). begin (); try { Query query = em.createQuery("DELETE

Strange Error with Criteria API and Sorting

  em.getTransaction(). begin ();   OtherEntity o1 = new OtherEntity("Name C");  

JDO PersistenceManager.getSequence() returns null sometimes

) System.out.println("getSequence 1 returned null"); // it should never be null pm.currentTransaction(). begin

NullPointer when accessing persistent field

;       em.getTransaction(). begin ();       

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 ();