ObjectDB Database Search
1-42 of 42 resultsjakarta.persistence.NamedQueries Jakarta Persistence (JPA) Annotation Type jakarta.persistence. NamedQueries Implemented Interfaces ... names are scoped to the persistence unit. The NamedQueries annotation can be applied to an entity or mapped superclass. See Also: NamedQuery Since: Jakarta Persistence (JPA) 1.0 The JPA Named Queries | |
jakarta.persistence.NamedQuery Jakarta Persistence (JPA) Annotation Type jakarta.persistence. NamedQuery Implemented Interfaces ... the Jakarta Persistence query language: @ NamedQuery ( name = "findAllCustomersWithName", query = "SELECT c ... ", Customer.class) .setParameter("custName", "Smith") .getResultList(); The NamedQuery annotation | |
JPA Named Queries rather than embedding literals dynamically into the query string and results in more efficient queries. @ NamedQuery and @ NamedQueries Annotations The following @ NamedQuery annotation defines a query ... : @ NamedQuery ( name ="Country.findAll", query ="SELECT c FROM Country c") The @ NamedQuery annotation | |
jakarta.persistence.NamedQueries.value Jakarta Persistence (JPA) Method in jakarta.persistence. NamedQueries NamedQuery [] value (Required) An array of NamedQuery annotations. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.NamedQueries.classNo JavaDoc Info for jakarta.persistence. NamedQueries /class | |
jakarta.persistence.NamedQuery.lockMode Jakarta Persistence (JPA) Method in jakarta.persistence. NamedQuery LockModeType lockMode (Optional) The lock mode type to use in query execution. If a lockMode other than LockModeType.NONE is specified, the query must be executed in a transaction and the persistence context joined | |
jakarta.persistence.NamedQuery.hints Jakarta Persistence (JPA) Method in jakarta.persistence. NamedQuery QueryHint[] hints (Optional) Query properties and hints. May include vendor-specific query hints. Default: {} Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.NamedQuery.name Jakarta Persistence (JPA) Method in jakarta.persistence. NamedQuery String name (Required) The name used to identify the query in calls to EntityManager.createNamedQuery . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.NamedQuery.query Jakarta Persistence (JPA) Method in jakarta.persistence. NamedQuery String query (Required) The query string in the Jakarta Persistence query language. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.NamedQuery.resultClass Jakarta Persistence (JPA) Method in jakarta.persistence. NamedQuery Class resultClass (Optional) The class of each query result. The result class may be overridden by explicitly passing a class object to EntityManager.createNamedQuery . If the result class of a named query is not specified | |
Using Enum type in NamedQuery: Field is not found in type in the following JPA Named Query @ NamedQuery (name = "TestQuery",   | |
can not use spring-data-jpa repository with NamedQuery in spring-data-jpa named queries are used to implement repository interface methods, see http://static.springsource.org/spring-data/data-jpa/docs/current/reference/html/#jpa.query-methods.named-queries for example @ NamedQuery (name = "Foo.findByBar", query = "select f from Foo f where :bar member | |
JPA Query API also provides a way for building static queries, as named queries , using the @ NamedQuery and @ NamedQueries annotations. It is considered to be a good practice in JPA to prefer named queries | |
Setting and Tuning of JPA Queries", 6000); For a named query definition - using the hints element: @ NamedQuery ( name ="Country | |
ObjectDB Object Database Features Criteria Query API . Static definition ( named queries ) in annotations (@ NamedQuery ) and XML. Query | |
jakarta.persistence.EntityManager string is found to be invalid. See Also: NamedQuery NamedNativeQuery Since: Jakarta Persistence (JPA) 1 ... ::getNamedQueries(Class) NamedQuery NamedNativeQuery Since: Jakarta Persistence (JPA) 1.0 StoredProcedureQuery | |
jakarta.persistence.TypedQueryReference Jakarta Persistence (JPA) Interface jakarta.persistence.TypedQueryReference Type Parameters: - an upper bound on the result type of the query A reference to a named query declared via the NamedQuery ... of all hints specified via NamedQuery .hints or NamedNativeQuery.hints . Since: Jakarta Persistence (JPA) 1 | |
JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception. NamedQuery ; import javax.persistence. NamedQueries ; import javax.ejb.TransactionAttribute; import javax.ejb ... .TransactionManagementType; @ NamedQueries ( { @ NamedQuery ( name="Guest ... ( "ManagedType Guest not found" ); // NamedQuery does not work // TypedQuery query | |
Problem with entities detection.persistence.Id; import javax.persistence. NamedQueries ; import javax.persistence. NamedQuery ; import javax ... ") @XmlRootElement @ NamedQueries ({ @ NamedQuery (name = "Alumno_odb.findAll", query = "SELECT a FROM Alumno a") , @ NamedQuery (name = "Alumno_odb.findByDni", query = "SELECT a FROM Alumno a WHERE a.dni = :dni | |
openejb jpa jaas module.getPrincipals(); final int id = info.getId(); final TypedQuery namedQuery = entityManager.createNamedQuery("UserPrincipal.findAll", UserPrincipal.class); List resultList = namedQuery .getResultList ... ) @ NamedQueries ({ @ NamedQuery (name = "UserInfo.setClientSettings",query = "update UserInfo ui set ui | |
jakarta.persistence.QueryHint Jakarta Persistence (JPA) Annotation Type jakarta.persistence.QueryHint Implemented Interfaces: Annotation 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: Jakarta Persistence | |
jakarta.persistence.PessimisticLockScope or used with the NamedQuery annotation. Since: Jakarta Persistence (JPA) 2.0 Enum Constants EXTENDED | |
Duplicate Entity class names causes Exception in Query, only one of them is mentioned in the persistence.xml. I a NamedQuery I use the unqualified class name ... the query on objdbTest.Item package objdbTest; import .... @Entity @ NamedQueries ({ @ NamedQuery ... "), @ NamedQuery (name = "objdbTest.Singleton.count", query = "SELECT COUNT(x) FROM Item x") }) public | |
New to Product & Having An Issue) @ NamedQueries ({ @ NamedQuery (name="Department.findAll", query="SELECT d FROM Department AS d"), @ NamedQuery (name="Department.byName", query="SELECT d from Department AS d WHERE d.name = :name"), @ NamedQuery (name="Department.findByCmpPK", query="SELECT d FROM test.Domain.Department AS d " + "WHERE d | |
jakarta.persistence.TypedQueryReference.getHints() Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQueryReference Map getHints() A map keyed by hint name of all hints specified via NamedQuery .hints or NamedNativeQuery.hints . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.EntityManager.createQuery(TypedQueryReference)::getNamedQueries(Class) NamedQuery NamedNativeQuery Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.EntityManager.createNamedQuery(String) been defined with the given name or if the query string is found to be invalid. See Also: NamedQuery NamedNativeQuery Since: Jakarta Persistence (JPA) 1.0 | |
Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne).persistence.FlushModeType; import javax.persistence.Id; import javax.persistence. NamedQueries ; import javax.persistence. NamedQuery ; import javax.persistence.Query; import javax.persistence.Version; import uk.co.his.experiment8.common.TestException; @Entity @ NamedQueries ({ @ NamedQuery (name | |
ObectDb 2.3.6 in OSGi environment.class); the corresponding POJO: @Entity @ NamedQueries ({ @ NamedQuery (name = "RuleValueNode.findRoot", query = "SELECT rvn FROM RuleValueNode rvn where rvn.parent is null"), @ NamedQuery ... = true and rvn.parent = :parent"), @ NamedQuery (name = "RuleValueNode.findStandardNodes", query | |
Should derived fields of an EmbeddedId be manually maintained by app code?.persistence.FlushModeType; import javax.persistence.Id; import javax.persistence. NamedQueries ; import javax.persistence. NamedQuery ; import javax.persistence.Query; import javax.persistence.Version; import uk.co.his.test.TestException; @Entity @ NamedQueries ({ @ NamedQuery (name = "numberOfMapItems", query | |
Database Inconsistency or corruption_01") @javax.persistence. NamedQueries ({ /* queries */ }) public class ObjectValue implements metamodel ... .persistence.Table(name="Attributes", schema="dex_01") @javax.persistence. NamedQueries ({ /*  ... .persistence.InheritanceType.JOINED) @javax.persistence. NamedQueries ({ /* queries | |
Embedded List Why does this NamedQuery only work sometimes? @ NamedQuery (name = "ItemDB.getPartial", query = "SELECT i FROM com.model.ItemDB i JOIN i.lstSupplier s WHERE s.strSupNumber LIKE ?1") I use this to access it. TypedQuery tqItem = emf.createEntityManager().createNamedQuery("ItemDB.getPart", ItemDB.class | |
JPQL query to get entities that does not have a child entity in their child entities for Job and Status with NamedQueries on Job entity and using TomEE for deployment. I am using following queries. FINISHED Jobs between a time interval: @ NamedQuery ( name | |
Cast exception?(); Where the query is a NamedQuery store in Player class file: @ NamedQuery (name="Player.getPlayer | |
Query can't see recently persisted object consistency of objects persisted within the same container transaction? @ NamedQueries ( { @ NamedQuery | |
Composite Index error 328; import java.util.Objects; @Entity @Table(name = "usrlist", schema = "posts") @ NamedQueries ( { @ NamedQuery (name = "UsrListEntity.clearAllIds" , query = "UPDATE UsrlistEntity usrlist SET usrlist.dyId | |
Modifying something with Explorer -> app JPQL with Enum doesn't work anymore with field "type" GOOD found by the the NamedQuery does not correspond with the actual data present ... and click on run button. That's it. Anyway...it's just a NamedQuery that is executed by an EntityManager | |
Trouble bug on explorer. */ @ NamedQueries ({ @ NamedQuery (name = "User.findAll", query = "Select c from User c | |
Object comparation never matches number; Which is a part of Customer object: @MappedSuperclass @ NamedQueries ({ @ NamedQuery ( name="authentication.getByPrincipal | |
UserException - Object User#2 belongs to another EntityManager CDI. Problem on method execution, which runs a NamedQuery : com.objectdb.o.UserException - Object 'com | |
com.objectdb.o.InternalException: Unexpected internal exception Hi, I am using objectdb.jar version 2.6.8 (installed via Maven). I am trying to authenticate a user. Initially, the database is empty. I have the following query: @javax.persistence. NamedQuery ( name = "getPersonByName", query = "SELECT _person FROM metamodel.user.Person as _person WHERE _person | |
ObjectDB needs "insert ignore" have to do this for inserting: @ NamedQuery ( name="isExistName", query="SELECT count(c) FROM Student c WHERE c |