Internal Website Search

51-100 of 200 results

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

Searching lists within objects

;       List results = typedQuery. getResultList ();   If I try ... .QRR.g(QRR.java:220) at com.objectdb.o.QRR.b(QRR.java:143) at com.objectdb.jpa.JpaQuery. getResultList ... (SharedEntityManagerCreator.java:310) at $Proxy74. getResultList (Unknown Source) at com.contextspace

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

Object as parameter results in exception

; TypedQuery q = getEntityManager().createQuery(c);   List resultList = q. getResultList ();   ... = q. getResultList ();   if(resultList.size() 0){    return resultList.get(0);   ... , company);     List resultList = q. getResultList ();   if(resultList.size() 0){  

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

Error 363 - Failed to read value of inverse relationship

reflection (error 363) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:580) at com.pvdc.odb ... . getResultList (JpaQuery.java:575) ... 21 more Caused by: com.objectdb.o.UserException: Entity is not ... ;     return query.setParameter("name", playerName). getResultList (); //  

ClassCastException of same object type

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

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

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

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 ();    

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

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

Get multiple entities by Id

);         List resultList1 = query1. getResultList ();    ... ;  List resultList2 = query2. 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

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

Query on Embedded Primary Key?

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

IN expression in a Criteria Query

. getResultList ();         System.out.println(results);    ... ;       List results = 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

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

TYPE Expression

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

TypedQuery implementation problems

= query. getResultList (); return retList; }   The previous code worked very well now that I ... ... + "", Budget.class ); retList = query. getResultList (); return retList; }   wazoox carlos lopez

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

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

Java FX tableview fill with an aggregated query

) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:738) at application.MainController ... ) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:726) ... 61 more   paulfo Paul Boon

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)      

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();  

Wrong data stored in time only fields

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

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

Embedded Entity in EmbeddedId not persisted. Error 631 at select.

(em.createQuery("select a from A a", A.class). getResultList ());     }    ... #1 (error 631) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:738) at debug.OdbError631

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

Memory leak with OutOfMemoryError exception

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

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

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

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

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

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

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

", Element.class); List elements = query. getResultList (); for (Element e : elements) { log_info($i ... ;       List elements = query. getResultList ();      ... . getResultList ();         return elements;     } } support

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());     

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

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 ();  

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

Unexpected exception when execute query without enhanced entities

] at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:738) ~[na:na] btc_es BTC EmbeddedSystems ... ;    "select max(uid) from MyEntity"). getResultList ();      

Tracking changes to new collections (in enhancement mode) after flush

= query. getResultList (); for (MappingImpl mapping : mappingList) { mapping.element.getUid(); mapping ... ", MappingImpl.class); mappingList = query. getResultList (); for (MappingImpl mapping : mappingList

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

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

Using SELECT BETWEEN with LocalDate

" , date) . getResultList () ; I get the following error for e.date in IntelliJ (Type mismatch: number, date ... ;  at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:733) ~[objectdb-2.8.3_01.jar:na

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. 

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

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

NullPointerException: Cannot invoke "com.objectdb.o.RFV.S()" because "" is null

and c.name = 'Foo' order by name", Parent.class). getResultList ().size());      ... .jpa.JpaQuery. getResultList (JpaQuery.java:726) at org.example.NullTest.main(NullTest.java:43) Netzverb