About GROUP BY

91-100 of 200Refresh
Forum
6

Master database switching to read-only mode, possibly caused by slave failure

, slave became unresponsive and the master switched to read-only mode. By the look of it the slave ... .java:240) .............................................................. Caused by: com.objectdb.o ... : [2012-04-04 19:25:59 #4 store] Database '/opt/objectdb/db/$replication/contextspace.odb' is closed by
Forum
6

order by string with numbers

  The sql that works is ORDER BY CAST(SUBSTR(username FROM 4) AS UNSIGNED) ASC Using JPQL SELECT u FROM Users u ORDER BY SUBSTRING(u.username,4)*1 ASC If you have other alternative for JPA CriteriaBuilder to do it as sql did please let me know. Thanks   It seems that this is not supported by JPA
Forum
6

Update is ignored by ObjectDB

! Automatic update following direct modification of fields is supported by ObjectDB if any ... must also be enhanced. It is a good practice (and actually required by JPA but not enforced by ObjectDB) to avoid ... of the desired class should be used (e.g. by using the get and set methods). If you follow this practice
Forum
6

Multi threading on DMOs by lazy loading

It is possible to use lazy loading on fields of attached entities by several threads? Example ... the identical instance of EntityZ. Thread1 access fieldX by lazy loading. Thread2 access fieldY by lazy loading. Thread3 access list by lazy loading. Does the multi threading access on different fields work
Forum
6

Extending model by "common entity"

] Caused by: java.lang.ClassNotFoundException: pl.hplxtool.model.BaseEntity at com.objectdb.o.TYM ... . This schema change should be handled by ObjectDB - so the exception is unexpected. Maybe you have to restart the server (I see that the stack trace is generated by the server). If it doesn't help
Issue
6

JPQL support for mapped by (inverse) collections

, SIZE, MEMBER OF, IN) are currently not supported for mapped by (inverse) collections. These operations are supported for direct (not mapped by) collections. Navigation and JOIN is supported for both direct and mapped by collections. The following test case demonstrates a problematic query
Forum
6

Need help to analyse very high memory usage by objectdb (PRU, SEV, VAL[])

exceeded" exception. Nearly 90% of the memory are taken by com.objectdb.o.PRU (49%) com.objectdb.o.SEV ... Forum Thread Need help to analyse very high memory usage by objectdb objects (PRU, SEV, VAL[]) has been created. This may be caused by large insert / update transactions, with large amount of data
Issue
6

Alias not used in ORDER BY

(builder.asc(upperPath)) I would have expected the alias to be used in the ORDER BY clause, something like SELECT $1, UPPER($1.someStringProperty) AS TEST FROM T ORDER BY TEST However what I actually get as query string is SELECT $1, UPPER($1.someStringProperty) AS TEST FROM T ORDER BY UPPER($1
Forum
6

UserException: Package com.example.model is not found by the enhancer

get the exception: com.objectdb.o.UserException: Package com.example.model is not found by ... ?   It may be a class loader conflict, i.e. the Enhancer and your classes are loaded by different class loaders and the Enhancer do not have access to the classes. Enhancing by invoking the Enhancer from
Manual
6

Query Parameters in JPA

) The following method retrieves a Country object from the database by its name: public Country ... method. The setParameter method supports method chaining (by returning the same TypedQuery instance ... . Named parameters can be easily identified in a query string by their special form, which is a colon