About named queries

71-80 of 200Refresh
Result
24

ObjectDB Object Database Features

, including using JPA Criteria Query API. Static definition (named queries) in annotations (@NamedQuery ... attributes, grouping queries and aggregate queries) which are usually missing from Object Oriented ... ). Database file page cache. Query program cache (for repeating queries with different arguments). Query
JPA Doc
23

javax.persistence.TypedQuery

of the given name. This method is not required to be supported for native queries. Parameters: name ... of the specified name does not exist IllegalStateException - if invoked on a native query ... is required to be supported for criteria queries only. Parameters: name - parameter name type - type
Manual
23

Index Definition

Querying without indexes requires iteration over entity objects in the database one by ... the iteration can be avoided and complex queries over millions of objects can be executed quickly ... indexedField1; @Index(unique="true") int indexedField2; // unique @Index(name="i3") int indexedField3
Manual
22

Database Management Settings

" synchronized="false" />    <query-cache results ... and deleted by ObjectDB when the database is closed. The name of the recovery file is based on the name ... " operations (which modify the database) have to be recorded. For debugging of query failure
Manual
22

Database Explorer [2011-09-21]

to view data in ObjectDB databases, execute JPQL and JDOQL queries and edit the content of databases ... ) in the database and their persistent fields and indexes. The [Query] window enables running JPQL and JDOQL queries, as discussed below. Closing a Database Connection Use the File > Close menu command
Manual
22

Database Explorer

to view data in ObjectDB databases, execute JPQL and JDOQL queries and edit the content of databases ... ) in the database and their persistent fields and indexes. The [Query] window enables running JPQL and JDOQL queries, as discussed below. Closing a Database Connection Use the File > Close menu command
Forum
22

Duplicate Entity class names causes Exception in Query

.... @Entity @NamedQueries({ @NamedQuery(name = "objdbTest.Singleton.getItem", query = "SELECT o FROM Item o WHERE o.cachedKey = :cachedKey"), @NamedQuery(name = "objdbTest.Singleton.count", query ... to  @NamedQuery(name = "objdbTest.Singleton.count", query = "SELECT COUNT(x) FROM objdbTest.Item x
Manual
22

JPA Entity Fields

the database, but is still available after retrieval by a special automatic query. Note: Navigation ... , since it requires running queries. Inverse fields are essential for collection fields when using ORM JPA ... relationship: @Entity public class Employee { String name; @ManyToOne Department department
Forum
21

Is named-query supported in orm.xml

I prefer to keep custom JPQL named queries in an external file, e.g. orm.xml, rather than in the entity classes, for example: <named-query name= "DataValue.deleteByCapabilityAndCreationtime ... and d.creationtime <= :creationtime query> named-query
Manual
21

JPA Persistable Types

, package or private) and it can be either concrete or abstract. Entity Class Names Entity classes are represented in queries by entity names. By default, the entity name is the unqualified name of the entity class (i.e. the short class name excluding the package name). A different entity name can be set