ObjectDB Database Search

1-16 of 16 results

jakarta.persistence.NamedQueries.class

No JavaDoc Info for jakarta.persistence. NamedQueries /class

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

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

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

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

UserException - Object User#2 belongs to another EntityManager

CDI. Problem on method execution, which runs a NamedQuery : com.objectdb.o.UserException - Object 'com

ObjectDB needs "insert ignore"

have to do this for inserting: @ NamedQuery ( name="isExistName", query="SELECT count(c) FROM Student c WHERE c