ObjectDB Database Search

151-182 of 182 results

java.lang.ClassCastException: CriteriaQueryImpl cannot be cast to java.util.List

;and then execute the query using getResultList :     criteriaQuery.select( root );  

evictAll() behavior

/persistent-nontransactional   i've checked state of root object, objects are persisted correctly

Failed to commit transaction: Java heap space (error 613)

: a) What do you suggest to fix the issue above at the root - other than increasing heap size (currently not

Searching lists within objects

;    Root cdi = q.from(CDI.class);          

Cascading merge() leading to "Attempt to persist a reference to a non managed instance" error

= owner;     }   } } The root cause is: com.objectdb.o.UserException: Attempt

Failed to resize file - file system limitation error

? Also, is there any additional debugging that we could enable to help with determining root cause if this occurs

Out of Memory Error

this further you can look in the profiler (e.g. VisualVM) for the roots that start the chains of objects that hold these MST objects in the heap. support Support

Replication issue, Replayer failing due to NullPointerException.

the path etc. which isn't correct as it was running as root , I just had this suspicious feeling

Criteria query error: Unexpected query token

= criteriaBuilder.createQuery(aClass);      Root entityRoot = q.from(aClass);    

A lot of ENT and SIV instances which are not cleared by GC

. Are you using enhanced classes? Are you using  "objectdb.temp.no-detach" ? Try to find the roots

lockfiles in client/server mode

. for example, /usr/local/share/objectdb: lrwxrwxrwx 1 root staff 24 Apr 5 16:44 work - /var/local/objectdb

Login Error (bad username 'admin' or password)

I am getting following error when i am trying to connect to server: [com.objectdb.o._PersistenceException: Login Error (bad username 'admin' or password)] with root cause com.objectdb.o.UserException: Login Error (bad username 'admin' or password) at com.objectdb.o.MSG.d(MSG.java:61) at com

Type ... is not defined as an entity (@Entity is missing) (error 302)

in a libs directory on the root of the eclipse project and then add it to the classpath runtime

creating EntityManager on odb file created on Mac 64bit on Windows 32bit

\ root \Desktop\CellFateScout\SMMD.odb' Failed to write to file: 'D:\temp\odb-synthetic

IMK Stall with certain query

(OrderData.class);        Root order = query.from(OrderData.class

In version 2.5.2_05 does not work greatest by Date

In earlier versions this query worked fine. In version 2.5.2_05 does not work .orderBy(cb.desc(cb.greatest( root .get("createDate").as(Date.class)))).distinct(true) Thank you for your help. galandor Orlov Sergey Please try build 2.5.2_06 that should fix this regression (of casting to Date ). support Support

Sample JDO Architecture for Follow Up Questions

for the database requests. * Probably, all persisted instances will be root objects with unique

Refreshing a dirty object causes permanent JDOOptimisticVerificationException

the database was wrong. However, because I don't understand the root cause of the issue, I don't know

Deploy ObjectDB in WildFly 10

), and then right click the project root and run (Run As Run on Server) with WildFly if installed on Eclipse.   support Support

Restrict by class in query

have a class hierarchy in which both Link and Folder are subclasses of a common root Entry

Deploying objectdb.jar to karaf 4.0.7 seems to fail

/objectdb.jar   karaf@ root () list START LEVEL 100 , List Threshold: 50 ID | State  | Lvl

Threading Problem (maybe with Criteria)

.class); Root person = cquery.from(PersonTest.class); cquery.select(cbuilder.construct(AdvoluxUID

Heap Limit reached although the option 'objectdb.temp.page-file' is activated

related to entity objects hold in memory. Please check for GC roots to the entity objects in order

Alias not used in ORDER BY

Hi, I am doing something simple like final Root from = criteria.from(T.class) final Path path = from.get("someStringProperty") final Expression upperPath = builder.upper((Expression ) path); upperPath.alias("TEST"); criteria.multiselect(from, path); criteria.orderBy(builder.asc(upperPath)) I

Server out of memory exceptions

databases. (If you think this is the root of the problem then I can switch it off across the board

ObjectDB 2.3.3

of more than one class path root ( issue #554 ). Fixed a NullPointerException on detachment of some objects. Fixed Linux "Name or service not known" error on server stop.

Null pointer exception being thrown from within ObjectDB.

.createQuery(ReportDownloadObject.class);     Root r = q.from(ReportDownloadObject.class

Internal exception: NPE on criteria query with IN clause and empty collection

= em.getCriteriaBuilder(); CriteriaQuery cq = cb.createQuery(Service.class); Root rootService = cq.from

Out of Memory - Slow leak?

most of these instances (i.e. a path to the root ) may help. support Support Ok, I've uploaded the 3rd heap dump now

StaticMetamodel throws NPE with Spring-Data in PathImpl.get()

From my Entities a StaticMetamodel is generated through Hibernate JPA 2 Metamodel Generator. When i now try to build a query with the Specification-Interface [new Specification () {     @Override public Predicate toPredicate(final Root benutzerRoot, final CriteriaQuery

JPQL support for Maps (JPA 2.0)

;  private Map data; } Error : Stacktrace:] with root cause com.objectdb.o.UserException

Objects are not garbage collected

root objects (which cannot be released by the GC). Can you share a full heap dump after GC