ObjectDB Database Search

101-150 of 200 results

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

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

Query causes an nternal exeption

.objectdb.o.OBC.onObjectDBError(OBC.java:1591) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:738 ... .java:225) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:726) ... 22 common frames omitted

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

JPA vs JDO - which is more efficient for OneToMany queries?

.createQuery ("SELECT o FROM Order o WHERE o.customer="+c). getResultList (); QUESTION: Apart from the loss

Type xxx is not found (error 301)

The error: Type User is not found (error 301) occurs when I query the db for a type before any instances of that type have been persisted, e.g.: return em.createQuery ("SELECT a FROM User a"). getResultList (); What I was expecting was an empty list, not an error. Is there some enhancement

New to Product & Having An Issue

departments; try{ do{ departments = q. getResultList (); em.getTransaction().begin(); for(Department d

Is there any faster select method?

SELECT: TypedQuery query = em.createQuery(     "SELECT p FROM Point p WHERE p.id = " + element.getId(), Point.class); List points = query. getResultList (); WRITE: em.persist(p); ** the Point class is of the tutorial. I found the above select method is ten times slower

java.lang.UnsupportedOperationException

(); Is there a workaround? Guschtl Markus The obvious workaround is to use remove : List results = query. getResultList

Query perfromance problem

.setFirstResult(start).setMaxResults(count). getResultList ();    logger.debug("Query executed

ArrayIndexOutOfBoundsException at com.objectdb.o.ALS.c(ALS.java:89)

(queryString, classOf[LogEntry]) var result: scala.collection.Seq[LogEntry] = query. getResultList

find() delay

. getResultList (); // this works 3. typeC p = em.find(typeC.class, i);  // this p will be null

How to creat a Query with Sql which returns a List marks

="+oldAthlete.getId(), Mark.class); List results = query. getResultList (); if (results.size() == 1) { Mark

Removing an entity throws exception

"). getResultList (); Code for removing:     em.getTransaction().begin();    

ORDER BY problem, when String starts with language specific character

("a", "c"));         List resultList = query. getResultList ();  

Help with 'not like/lower' query

= query. getResultList ();         System.out.println(resultList

LEFT (OUTER) JOIN problem when mappedBy is defined

resultList = query. getResultList (); System.out.println(resultList); em.close(); emf.close(); } } @Entity

Version 2.2.7 build 7/8 issue

( "SELECT c FROM Customer c order by c.getNormalizedName()"); List resultList = query. getResultList

Group by date / time

;  List resultList = query. getResultList ();        

InternalError on multiple AND and JOIN Query

.QRR.b(QRR.java:144) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:627) at com.contextspace

Is there a function of "drop table" or "delete from table"?

been updated yet. support Support Thanks. I never think it is "executeUpdate()", query. getresultlist

member visiting in jpql

baURI is a byte[]; JP QL select e.baURI.length from URI e where id=82778 JP QL [ObjectDB 2.2.9_04] javax.persistence.PersistenceException Navigation from 'byte[]' through 'length' is invalid (error 763) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:636) at util.JPQLcmd.QureyCMD(JPQLcmd

Unexpected behaviour upon update. Bug?

;     . getResultList ().listIterator().next(); System.out.println(simple.v

Groovy JPA example

") .createEntityManager() .createQuery ("SELECT u FROM User u") . getResultList () .each { println it } dmoshal David

Listing large number of complicated objects with paging.

.setFirstResult(start).setMaxResults(count). getResultList (); is quite slow. Well, after first request and "warming

How to query for list of lists ?

Hi, I have a problem with constructing query, that gets only embedded list of integers from Entity. Here's the example : Query query = em.createQuery("SELECT i.filterDescription FROM Inspiration i"); List result = query. getResultList (); where Inspiration is like this : @Entity(name = "Inspiration

java.io.IOException: Illegal seek

.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:666) [09:44:46.992] ... 19 more [09:44:46.992] Caused

Problem with @Basic(fetch = FetchType.LAZY)

.createEntityManager(); sample = em.createQuery("select s from Sample s", Sample.class). getResultList ().get(0); em

Storing Images and Object Pooling

= query. getResultList (); Producing everytime ResultList ( Garbage collection destroy and remake ) slows

Issue with orphanRemoval and multiple EntityManagers

; ElectronicAddress.class);         List res3 = q3. getResultList ();   

Possible issue for JPQL IS EMPTY expression

;    System.out.println(query. getResultList ().size());      

Empty query results after JAR creation

= em.createQuery(s, Case.class); List allCases = q. getResultList (); for (Case c1 : allCases) {  

Restrict by class in query

I have the following bit of code: public List findFolderByName(String folderName) { TypedQuery byNameQuery = this.entityManager.createQuery("SELECT f FROM Entry f WHERE f.name=:name", Folder.class); return byNameQuery.setParameter("name", folderName). getResultList (); } I would have assumed

Extra uninitialised entities spawned on merge()

.class);         List results = query. getResultList ();   

Problem with queries on lists with reverse mapping

= query7. getResultList (); assertEquals(1, q7results.size()); It looks like the result is not filtered

Degrading performance overtime

:151) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:686) "ODB-FileWriter" - Thread t@116

Using Enum type in NamedQuery: Field is not found in type

= query. getResultList ();         System.out.println(resultList

openejb jpa jaas module

("UserPrincipal.findAll", UserPrincipal.class); List resultList = namedQuery. getResultList

Unexpected exception during query, if entity is not enhanced

.jpa.JpaQuery. getResultList (JpaQuery.java:733) at com.btc.ep.base.dal.internal.services ... .JpaQuery. getResultList (JpaQuery.java:721) ... 19 more   btc_es BTC EmbeddedSystems The log message

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

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

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

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

[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null

); } return q. getResultList (); } finally { em.close(); } }     Also, the entity class @Entity

UnexpectedException on query

.QRR.b(QRR.java:143) at com.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:586) at com.googlecode

com.objectdb.o.InternalException NPE

. getResultList (JpaQuery.java:635) at com.vaisala.jx.db.gdm.facade.DataValueFacade.find(DataValueFacade.java

Unexpected Internal Exception

.objectdb.jpa.JpaQuery. getResultList (JpaQuery.java:695) [objectdb-2.4.0.jar:] [snip] at java.lang

JPA Composite Key make Object Db throws "Unexpected exception (Error 990)"

;      List resultList = query. getResultList ();      

Update query bug

Some code. Problem in UPDATE query. TypedQuery query = (TypedQuery ) em.createQuery("SELECT t FROM Person p JOIN p.transports t WHERE p.personalCode = :code"); query.setParameter("code", personalCode); List list = query. getResultList (); List temp = new Vector (); temp.add((Transport

Strange Error with Criteria API and Sorting

). getResultList ();   for (TestEntity e : result)   {    System.out.println("Name