Home » Search

About setParameter

61-70 of 94Refresh
Forum
1

com.objectdb.o.InternalException: Unexpected internal exception

(Person.class); List pList = em.createNamedQuery("getPersonByName",Person.class).setParameter
Forum
1

createQuery method error

Hello, I am learning ObjectDB now. I create a simple Dao method as below:   public boolean isJobExist(String name) { TypedQuery query = em.createQuery( "SELECT count(j) FROM MFJob j WHERE j.jobName = :name", Long.class); return query.setParameter("name", name
Forum
1

Failed to read DB file while online backup is running

);   backupQuery.setParameter("target", database.getBackupDirectory());   Thread backupThread = backupQuery
Issue
1

Feature Request: Subclassed PersistenceException for Type Not Found in DB Schema

);         query.setParameter("chain", Integer.parseInt(chain));         try {             storeList
Forum
1

Finding an object by its datetime

", Booking.class) .setParameter("btime", btime, TemporalType.TIMESTAMP); } @Entity public
Forum
1

Help with 'not like/lower' query

.createQuery(c);         query.setParameter(stringProp, "test");             List resultList
Forum
1

IN operator syntax

query = em.createQuery("SELECT FROM MyEntity e WHERE e.num IN :list");     query.setParameter("list
Issue
1

InternalException when using MEMBER OF on a large list in a query

= em.createQuery(query, String.class); q.setParameter(1, scopeIDs); //scopeIDs is a Set
Forum
1

java.lang.UnsupportedOperationException

", License.class); query.setParameter(1, id); int changes = query.executeUpdate
Forum
1

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

)     .setParameter( "name", name.toLowerCase() );    final List guests =  query.getResultList