About NamedQuery

11-20 of 36Refresh
Forum
24

Using Enum type in NamedQuery: Field is not found in type

JPA Named Query @NamedQuery(name = "TestQuery",                 query = "select obj from Obj
Manual
19

Setting and Tuning of JPA Queries

); For a named query definition - using the hints element: @NamedQuery(name="Country.findAll", query="SELECT
Result
19

ObjectDB Object Database Features [2018-01-27]

annotations (@NamedQuery) and XML. Query parameters for efficient reuse of one query in multiple executions
Result
19

ObjectDB Object Database Features [2018-10-27]

annotations (@NamedQuery) and XML. Query parameters for efficient reuse of one query in multiple executions
Result
19

ObjectDB Object Database Features

, including using JPA Criteria Query API. Static definition (named queries) in annotations (@NamedQuery
Forum
7

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

.NamedQuery; import javax.persistence.NamedQueries; import javax.ejb.TransactionAttribute; import ... .TransactionManagementType; @NamedQueries( { @NamedQuery(          name="Guest.getAll ... );   if ( type == null )     System.out.println( "ManagedType Guest not found"  );   // NamedQuery does
Forum
6

Problem with entities detection

; import javax.persistence.NamedQueries; import javax.persistence.NamedQuery; import javax.persistence ... ") @XmlRootElement @NamedQueries({ @NamedQuery(name = "Alumno_odb.findAll", query = "SELECT a FROM Alumno a") , @NamedQuery(name = "Alumno_odb.findByDni", query = "SELECT a FROM Alumno
Forum
6

openejb jpa jaas module

(); final int id = info.getId(); final TypedQuery namedQuery = entityManager ... > resultList = namedQuery.getResultList(); for (UserPrincipal userPrincipal : resultList ... . */ @Cacheable @Entity @SequenceGenerator(name="seq", initialValue=10000) @NamedQueries
JPA Doc
5

javax.persistence.PessimisticLockScope

with the NamedQuery annotation. Since: JPA 2.0 PessimisticLockScope EXTENDED In addition to the behavior
JPA Doc
5

javax.persistence.QueryHint

javax.persistence Annotation QueryHint Target: Used to supply a query property or hint to the NamedQuery or NamedNativeQuery annotation. Vendor-specific hints that are not recognized by a provider are ignored. Since: JPA 1.0 String name Name of the hint. Name of the hint. Since: JPA 1.0 String