Home » Search

About step by step

111-120 of 200Refresh
Forum
3

Tutorial issue

right now, so I created the new project as specified in Step 1 The only thing I did differently was in steps two and three I used the source folder "Tutorial/src" which is what I used to create the project in Step 1; Here's the output; Exception in thread "main" [ObjectDB 2.5.4_04] javax.persistence
Forum
3

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

",          query="select g from guest.Guest g order by g.name" ) } ) @Stateless @TransactionManagement ... );   TypedQuery query = this.em.createQuery( "select g from guest.Guest g order by g.name ... ="select g from guest.Guest g order by g.name" ) } ) ... // NamedQuery does not work // TypedQuery
Issue
3

Blocked by find

, Object obj)" method which is synchronized and attempts to load an object by id using the EntityManager ... .ObjectDbInstanceContainer@9c71a4 owned by: DEV1-WSAgent-1-Existing/3 Total blocked: 190 Total waited: 69 ... : BLOCKED on com.objectdb.o.LKM@254e85f4 owned by: ODB-FileWriter Total blocked: 789 Total waited: 616
Forum
2

ORDER BY problem, when String starts with language specific character

Dear all, I have a problem with ORDER BY clause. I have a simple query: select u from User u order by u.name When the name starts with "normal/english" character, records are ordered correctly ... to JPQL and JDOQL) you can use the Normalizer expression directly in the query ORDER BY clause
Forum
2

Suspected memleak caused by bad state of EntityManager

and using. We find a slow memleak in our application recently, and by trace of Entity construct and finalize, we found the problem is caused by bad state of EntityManager. After first throwing ... and retrieved by EntityManagerFactory, and the instances of Entity constructed by ObjectDB
Forum
2

Should derived fields of an EmbeddedId be manually maintained by app code?

, of type ECompoundKeyMapItem, identified by their "key" within the EContainer class. The items ... "ECompoundKeyMapSubItem", identified by their keys. The embeddedId for the item class, ECompoundKeyMapItemId ... = parent; } [ObjectDB 2.3.0_01] Unexpected exception (Error 990) Generated by Java HotSpot(TM
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

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