ObjectDB Database Search
1-34 of 34 resultsJPA Named Queries
literals dynamically into the query string, which results in more efficient queries. @ NamedQuery and @ NamedQueries Annotations The following @ NamedQuery annotation defines a query named "Country.findAll" that retrieves all Country objects from the database: @ NamedQuery ( name ="Country.findAll", query
|
|
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.class
No 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
|
|
JPA Named Queries Annotations
. A container annotation that groups multiple @ NamedQuery definitions on a single class. Supplies parameters to the persistence provider within a @ NamedQuery . Hints can control behavior such as query timeouts
|
|
JPA Query API
named queries , by using the @ NamedQuery and @ NamedQueries annotations. In JPA, it is a best
|
|
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
|
|
Setting and Tuning of JPA Queries
.persistence.query.timeout", 6000); For a named query definition, use the hints element: @ NamedQuery
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|