ObjectDB Database Search

51-100 of 200 results

Null enums and IS (NOT) NULL: NullPointerException

.JpaQuery. getResultList (JpaQuery.java:716) at com.sun.enterprise.container.common.impl.QueryWrapper. getResultList (QueryWrapper.java:84) at TestBean.postConstruct(TestBean.java:29) at sun.reflect ... "); entities = query. getResultList (); } public void method() { TEntity entity = new TEntity(); testManager

Lazy loading does not work - crud takes long

= service. getResultList ();         Logger.getLogger(TableManager ... ) / 1000);     } Bean.class public List getResultList () {      ... ;      return query. getResultList ();     } Query.class @Entity

com.objectdb.o.InternalException: Unexpected internal exception

). getResultList (); I get the following exception: com.objectdb.o.InternalException: Unexpected internal ... .OBC.onObjectDBError(OBC.java:1556) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:728 ... :549) at com.objectdb.o.QRR.f(QRR.java:212) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java

Why the internal error was thrown?

:247) at com.objectdb.o.QRR.f(QRR.java:153) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java ... .objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:719) at com.btc.ep.base.dal.internal.services ... ("objectdb.result-fetch", "LAZY");     return q. getResultList (); } btc_es BTC

Schema-Update: Rename superclass and remove one subclass

. getResultList (); System.out.println("size: " + result.size()); We get an exception: [2016-11-14 10:48:56 #1 ... . getResultList (JpaQuery.java:719) at schemaupdate.delete.UpdateDB.main(UpdateDB.java:32) Exception in thread ... ) at com.objectdb.o.QRR.f(QRR.java:212) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:719

Updating Entities

.createQuery(str, Employee.class). getResultList (); } The problem I'm facing is when I use handleModify ... . getResultList ().forEach(p - System.out.println(p.getRate())); Main.paygradeDB.getTransaction().begin ... ("--------"); query. getResultList ().forEach(p - System.out.println(p.getRate())); } and got these results

Criteria query error: Unexpected query token

(); CriteriaQuery c = qb.createQuery(aClass); c.from(aClass); return entityManager.createQuery(c). getResultList ... ;  q.select(entityRoot);      return entityManager.createQuery(q). getResultList

Entity has be persistended,but query not fetched?

.setFlushMode(FlushModeType.AUTO); query. getResultList ();   maozf maozf The following example ... ; System.out.println("count: " + query. getResultList ().size());         em

CriteriaQuery using isNotNull with other conditions results in InternalException

.toArray(new Predicate[predicates.size()])); List results = em.createQuery(criteria). getResultList ... ) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:586) at org.jboss.seam.security

Items in list are doubled, when the entity class is not enhanced

); // delete all customers and items List l = em.createQuery("select c from Customer c"). getResultList (); em ... .createQuery("select i from Item i"). getResultList (); em.getTransaction().begin(); for(Object o : l

"where in" query

;      List resultList = query. getResultList ();       ... )); results = prezs. getResultList (); (Prez entities with id 1,3 do exist) Thanks. prezage Louis I tried

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

. getResultList ();         System.out.println(resultList);    ... () desc"); List resultList = query. getResultList (); System.out.println(resultList); em.close(); emf

ClassCastException of same object type

).getEntityManager().createQuery("select e from XCCompetitorCount e", XCCompetitorCount.class). getResultList ... ). getResultList ();   for( ICoreObject ico : list){    cop.add(ico);  

InternalError on query of empty database

.java:144) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:627) at sun.reflect ... . getResultList (Unknown Source) at com.contextspace.dao.impl.BaseDAOImpl.SearchByLdapFilter(BaseDAOImpl

Exception on creation when running multithreaded

.odb' (error 117) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:633) at com.contextspace ... .objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:627) ... 23 more Caused by: java.io.EOFException

find repeated records by JPQL

. getResultList (JpaQuery.java:636) at image.cleanDB.main(cleanDB.java:19) Caused by: com.objectdb.o.UserException ... .objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:627) ... 1 more Caused by: java.lang.OutOfMemoryError

OneToMany and cascade delete problem

(error 363) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:674) at com.objectdb.test.bug ... .query.QueryRunner.run(QueryRunner.java:204) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java

Eager Fetch is not stable for collection or map types?

);     List result = query.setParameter("id", id). getResultList ();     ... .class); List result = query.setParameter("id", id). getResultList (); if(result.size() 0) { Game g

TYPE Expression

;       List resultList = em.createQuery(cq). getResultList ();   ... ", A.class);         resultList = query. getResultList ();   

multiple LEFT JOINs do not work as expected

;    List resultList = query. getResultList ();         ... = 'root' OR n2.nodeId = 'root' OR n3.nodeId = 'root'"); List resultList = query. getResultList

Memory leak with OutOfMemoryError exception

. getResultList (JpaQuery.java:686) at newstockscreener.DBDataRetriever.getDailyEntriesForSymbol ... results = q. getResultList ();     em.close();     return results

how explorer queries work

, an untyped query: List result = em.createQuery(queryString). getResultList (); throws an exception like ... ;  at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:686)      

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

; query. getResultList ();   System.out.println( "persisted Guest count: " + guests.size() );   ... ;       return query. getResultList ();     } } clicker

How to use JOIN FETCH?

);   System.out.println(aq. getResultList ()); // Prints out both addresses OK.   TypedQuery q ... .addressHistory",Person.class);   List results = q. getResultList ();   em.close();  

Get multiple entities by Id

);         List resultList1 = query1. getResultList ();    ... ;  List resultList2 = query2. getResultList ();        

IN expression in a Criteria Query

. getResultList ();         System.out.println(results);    ... ;       List results = query. getResultList ();      

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

Connection is closed (error 526) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:695 ... ) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:686) ... 2 more 6.) If I re-start

UserException - Object User#2 belongs to another EntityManager

.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:695) at com.pingushare.control.TradesC.findTradeByClient ... .objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:686) ... 107 more The problem can be fixed by

Like fails if both underscore and percent are used

, StringHolder.class); query.setParameter("filter", "_oo%"); List results = query. getResultList ... .class); query = query.select(c); return em.createQuery(query). getResultList (); } } Andrew asdf Thank

ODB should auto-restart if it detects it's necessary

.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:686) at xxx.xxx.extra.ReadWorkoutPlan.read ... :211) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:686) at xxx.xxx.extra.ReadWorkoutPlan

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

;and then execute the query using getResultList :     criteriaQuery.select(root);   ... = query. getResultList (); For more details see this manual page . support Support Please delete

@OneToMany(fetch = FetchType.LAZY) list is always null

= query. getResultList (); } public void addParent() { Parent parent = new Parent(); manager.persist ... Parent p"); parents = query. getResultList (); } public void addParent() { Parent parent = new Parent

Merge Issue: Attempt to reuse an existing primary key value

.class). getResultList ();         Assert.assertEquals(2 ... b", B.class). getResultList ();         Assert.assertEquals(2

Query on Embedded Primary Key?

mif", Primkey2.class);         List ret = query. getResultList ... . getResultList ();         String q2 = ret2.get(0).toString();   

query on calendar class

.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:725) at cdr_analiza.GUI$3.actionPerformed(GUI.java:150 ... .g(QRR.java:247) at com.objectdb.o.QRR.f(QRR.java:153) at com.objectdb.jpa.JpaQuery. getResultList

"Unexpected query expression" using CriteriaQuery FetchParent Interface

);   System.out.println(em.createQuery(criteriaQuery). getResultList ()); } }   Exception in ... . getResultList (JpaQuery.java:725) flavioreboucassantos Flávio Rebouças Santos Thank you for this bug

Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers

.createQuery("SELECT t FROM Transfer t"). getResultList ();     System.out.println(t.size ... ;   List t = em1.createQuery("SELECT t FROM Transfer t"). getResultList ();    

Wrong data stored in time only fields

. getResultList ();         Iterator itr = resultList.iterator ... ; resultList = q. getResultList ();         itr = resultList.iterator

JPQL support for mapped by (inverse) collections

; //System.out.println(query. getResultList ().size());         // SELECT a FROM ... ", A.class). getResultList ();         System.out.println(list1);   ... ;       .setParameter("list", new ArrayList(list1)). getResultList ();  

Schema-Update: Rename superclass and remove one subclass

. getResultList (); System.out.println("size: " + result.size()); We get an exception: [2016-11-14 12:48:56 #1 ... . getResultList (JpaQuery.java:719) at schemaupdate.delete.UpdateDB.main(UpdateDB.java:32) Exception in thread ... ) at com.objectdb.o.QRR.f(QRR.java:212) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:719

Internal objectdb exception when using different language on a machine

MIGRATION: at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:721) 2019-01-29 08:34:54 ... .dal.MigrationUtility - PROFILE MIGRATION: at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java ... .JpaQuery. getResultList (JpaQuery.java:721) btc_es BTC EmbeddedSystems Hello, a hint

Unexpected Exception (Error 990) with ArrayIndexOutOfBoundsException

.i(QRR.java:225) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:721) at backend ... happens here: final List results = query. getResultList ();) : private void only50000Rows(EntityManager ... ); query.setFirstResult(50000); final List results = query. getResultList (); final Query queryDelete = em .createQuery("DELETE FROM EventLogPersistEntry p WHERE p.id

Problem using "and" for joined entities and indexed fields

Parent p join p.children c where c.age = 42", Parent.class). getResultList ().size());    ... .children c where c.name = 'Foo'", Parent.class). getResultList ().size());       ... .age = 42 and c.name = 'Foo'", Parent.class). getResultList ().size());     

Querying error - java.lang.ClassCastException: com.objectdb.o.STV

.QRR.g(QRR.java:210) at com.objectdb.o.QRR.b(QRR.java:138) at com.objectdb.jpa.JpaQuery. getResultList ... :216) at com.objectdb.o.QRR.b(QRR.java:139) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java

EOFException

. getResultList (JpaQuery.java:675) at rbccm.felix.objectdb.workflow.ObjectDbGraphContainer.find(Unknown ... .objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:666) ... 10 more Caused by: java.io.EOFException

version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later

.onObjectDBError(OBC.java:1504) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:695) at luc ... .objectdb.o.QRR.f(QRR.java:153) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:686) lucobjdb

com.objectdb.o.InternalException

No idea what happened.  A simple getResultList () opearation. DB table affected size is ~ 26000 records, physical DB file size is ~ 8.5MB Thanks for any help ! Leon log file ... ) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:719) at com.gsi.sync.UpDowloadProcessor

Schema-Update: Deactivation of automatic entity class removing and introduction of a new class remove in the schema config

.java:549) at com.objectdb.o.QRR.f(QRR.java:212) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery ... .objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:719) at removedSubClass.UpdateDB.main(UpdateDB.java

Null pointer exception being thrown from within ObjectDB.

.java:153) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:719) at za.co.synthesis.regulatory ... .setMaxResults(maxRecords). getResultList (); ...   Screenshots attached for database explorer. 

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

(QRR.java:155) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:721) at pl.hobsoft.lohare ... )); //templateKeys is empty by mistake List services = em.createQuery(cq). getResultList (); As exception