Home » Search

About step by step

121-130 of 200Refresh
Forum
2

Cannot sort descending, when ordering by caluculated float in a method

Hi, I have found an issue in ordering by a method. I have two entities : Invoice and InvoiceItem ... ...) select i from Invoice i order by i.getPrice() desc/asc it gives the same order for desc and asc ... .createQuery(             "SELECT i FROM Invoice i ORDER BY i.getPrice() DESC");         List resultList
Forum
2

Merge of entity classes with "mapped by" very slow

Hi, I have found a strange behavior when merging entities with "mapped by" set on @OneToMany ... - one with mapped by, second with adding entities list without "mapped by". The difference is huge event for such small objects - 2ms (without mapped by) vs ~50ms (with mapped by) Is there any chance
Issue
2

Removed entities can be found by query in the same transaction

Hello, we opened a transaction, load an entity from database and removed this entity by em.remove(). Afterwards the entity can be load again by query although the resulted entity have an attribute ... . Every snapshot represents a picture of the database as seen by a particular transaction. When changes
Issue
2

Bulk load of eager mapped by (inverse) relationships

When a collection of objects is retrieved by ObjectDB (e.g. by a query) ordinary referenced objects ... . However, inverse (mapped by) references that have to be loaded eagerly currently do not participate ... a separate client-server round trip. Future versions of ObjectDB should load eager mapped by (inverse
Forum
2

find repeated records by JPQL

.getResultList(JpaQuery.java:636) at image.cleanDB.main(cleanDB.java:19) Caused by: com.objectdb.o ... (QRR.java:197) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:627) ... 1 more Caused by ... MySQL? TIA Subqueries are not support by ObjectDB yet - see this feature request. Getting
Forum
2

Grouping by date()

have to group by date(). For few queries I was concatenating 'date' from year()-month()-day() calls ... implementation. There is only one small problem with new version. When you group by date() there are two days per day. I mean group by divides each day for two parts. You can see an example in attached
Issue
2

Lazy loading of mapped by (inverse) singular references

ObjectDB ignores lazy setting of non collection mapped by (inverse) fields and loads them always eagerly. This is allowed by JPA since lazy is only hint but it is not efficient. The reason ... , so it is always available. For mapped by (inverse) reference fields no information is stored in the entity
Forum
2

persistence.xml classes not respected by ObjectDB

have the old DB on my development machine. By adding class by class into ... DB, the DB that got added class by class, as development went by. Providing an example is a little ... unspecified classes. If there is a bug and it could be demonstrated by a sample application, we will look
Forum
2

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

with field "type" GOOD found by the the NamedQuery does not correspond with the actual data present ... application, but addressing this by our support team is expected to take much more time. Images in ... . That's it. Anyway...it's just a NamedQuery that is executed by an EntityManager. That's all. I would really appreciate a fix
Forum
2

Connection is closed Caused by: java.io.EOFException

. Caused by: com.objectdb.o.UserException: Connection is closed at com.objectdb.o.MSG.d(MSG.java ... :160) ... 39 more Caused by: java.io.EOFException at com.objectdb.o.NTS.z(NTS.java ... if your application might create EntityManager instances without closing them. By the way, following your report