About getResultList

191-200 of 200Refresh
Forum
1

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
Forum
1

Retrieve data of all entity classes in a single query

, Athlete.class); // I want to avoid this List results = query.getResultList
Forum
1

Should I be able to persist a JFrame (or gui components in general)?

NewJFrame c"); contacts = qryListContacts.getResultList(); NewJFrame
Forum
1

Storing Images and Object Pooling

Hello we have heard your product and we will plan to use your product on image database. Is it good to use ObjectDB as image database? Image database just screenshots of desktops.   2- ) On JPA as we know getting Result list returns ArrayList         List xxx = query.getResultList
Forum
1

Subquery error

token 'SELECT' (error 752) (position 37) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java
Issue
1

Super class' field access fails

b ORDER BY b.x DESC").getResultList();         em.close();         emf.close
Forum
1

Thread in BLOCKED state

.objectdb.o.QRR.f ( QRR.java:153 ) com.objectdb.jpa.JpaQuery.getResultList ( JpaQuery.java:686 ) I
Forum
1

TreeSet and compareTo() issue

.JpaQuery.getResultList(JpaQuery.java:719) ... 6 more Caused by: java.lang.NullPointerException
Forum
1

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
Forum
1

Unexpected behaviour upon update. Bug?

Update s" , Update.class)             .getResultList().listIterator