About named queries

forum_thread

Restrict by class in query

I have the following bit of code: #1 2012-06-01 22:09 I have the following bit of code: public List<Folder> findFolderByName ( String folderName ...

 
api-jpa

javax.persistence.criteria.ListJoin

The ListJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.List.(Interface of JPA)

 
api-jpa

javax.persistence.criteria.Join

A join to an entity, embeddable, or basic type.(Interface of JPA)

 
api-jpa

javax.persistence.criteria.From

Represents a bound type, usually an entity that appears in the from clause, but may also be an embeddable belonging to an entity in the from clause.(Interface of JPA)

 
api-jpa

javax.persistence.criteria.MapJoin

The MapJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.Map.(Interface of JPA)

 
api-jpa

javax.persistence.criteria.CollectionJoin

The CollectionJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.Collection.(Interface of JPA)

 
api-jpa

getParameter(name, type)

Get the parameter object corresponding to the declared parameter of the given name and type.(Method of javax.persistence.Query)

 
forum_thread

Unable to execute update query

Hello! I'm trying to do an update query via the explorer to set a new field value for around 400k objects. UPDATE Position p SET p.originalData = null This exception raises when I try to do it: ... issue #255 is now (in build 2.6.6_04) extended to update queries. See issue #255 posts 10 and 28 regarding how to enable it. ...

 
api-jpa

javax.persistence.criteria.SetJoin

The SetJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.Set.(Interface of JPA)

 
forum_thread

Speed of queries that return many objects

Hi, I have a DB of 146MB - with 1_000_000 elements. Loading the contents (objectDB query in java) takes about 10sec. I am using a recent MacBook (SSD blabla - disk I/O speed is about 400MB/sec - according to blackMagicTest app for mac) - so I was expecting the query to take less than one sec (146/400 = 0.35sec.. + some overhead). I was wondering if this kind of speed is "normal", or if this is something I should investigate. Thanks EKK ... the data from the disk. Using embedded objects or report queries (which return fields rather than entity objects) may help. If ... the data without the entity objects using "report queries" ( using projection ). Of course, you will lose much of the ...