Home » Search

About setParameter

81-90 of 94Refresh
Forum
1

ORDER BY problem, when String starts with language specific character

.getNormName()");         query.setParameter("names", Arrays.asList("a", "c"));         List resultList
Forum
1

Performance in SELECT statement

, TestEntity.class); query.setParameter("state", EnumSet.of(State.NEW, State.ACKNOWLEDGED)); List
Forum
1

Problems down-casting in WHERE clause

");         query.setParameter("search", "");         query.getResultList();         em.close
Forum
1

query on calendar class

=em.createQuery("SELECT c FROM Cdr c where c.start.DAY_OF_WEEK = ?1",Cdr.class); query.setParameter
Forum
1

Query with FETCH JOIN returns multiple results instead of one.

") .setParameter("demand", demand).getResultList(); I want this query to find one and only Demand object
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

Should derived fields of an EmbeddedId be manually maintained by app code?

.setParameter("container", this); q.setFlushMode(FlushModeType.AUTO); try { long l = (Long) q
Forum
1

TYPE Expression

.createQuery("SELECT From A a WHERE TYPE(a)=:type");         query.setParameter("type", A.class
Issue
1

type in http://www.objectdb.com/java/jpa/query/criteria serParameter -> setParamether

type in http://www.objectdb.com/java/jpa/query/criteria serParameter -> setParamether Thanks. It was fixed now to setParameter. ravshansbox
Forum
1

user defined backup target

Dear objectdb Team 1. I could not find a way, to declare the name of the backup-file (while running the database).  The only way I found is to create the folder in which objectdb will copy the database - file: Query backupQuery = em.createQuery("objectdb backup"); backupQuery.setParameter