Internal Website Search

11-20 of 200 resultsRefresh

EntityManager.getDelegate() - JPA Method

JPA Method in javax.persistence. EntityManager Object getDelegate () Return the underlying provider object for the EntityManager , if available. The result of this method is implementation specific. The unwrap method is to be preferred for new applications. Return: underlying provider object for EntityManager Since: JPA 1.0

EntityManager.close() - JPA Method

JPA Method in javax.persistence. EntityManager void close () Close an application-managed entity manager. After the close method has been invoked, all methods on the EntityManager instance and any Query , TypedQuery , and StoredProcedureQuery objects obtained from it will throw

EntityManager.createNamedQuery(name,resultClass) - JPA Method

JPA Method in javax.persistence. EntityManager TypedQuery createNamedQuery (   String name,    Class  resultClass ) Create an instance of TypedQuery for executing a Java Persistence query language named query. The select list of the query must contain

EntityManager.getEntityGraphs(entityClass) - JPA Method

JPA Method in javax.persistence. EntityManager List getEntityGraphs (   Class  entityClass ) Return all named EntityGraphs that have been defined for the provided class type. Parameters: entityClass - entity class Return: list of all entity graphs defined for the entity Throws: IllegalArgumentException - if the class is not an entity Since: JPA 2.1

EntityManager.merge(entity) - JPA Method

JPA Method in javax.persistence. EntityManager T merge (   T entity ) Merge the state of the given entity into the current persistence context. Parameters: entity - entity instance Return: the managed instance that the state was merged to Throws: IllegalArgumentException

EntityManager.persist(entity) - JPA Method

JPA Method in javax.persistence. EntityManager void persist (   Object entity ) Make an instance managed and persistent. Parameters: entity - entity instance Throws: EntityExistsException - if the entity already exists. (If the entity already exists, the EntityExistsException

EntityManager.find(entityClass,primaryKey) - JPA Method

JPA Method in javax.persistence. EntityManager T find (   Class  entityClass,    Object primaryKey ) Find by primary key. Search for an entity of the specified class and primary key. If the entity instance is contained in the persistence context, it is returned

EntityManager.remove(entity) - JPA Method

JPA Method in javax.persistence. EntityManager void remove (   Object entity ) Remove the entity instance. Parameters: entity - entity instance Throws: IllegalArgumentException - if the instance is not an entity or is a detached entity TransactionRequiredException - if invoked

EntityManager.createQuery(criteriaQuery) - JPA Method

JPA Method in javax.persistence. EntityManager TypedQuery createQuery (    CriteriaQuery  criteriaQuery ) Create an instance of TypedQuery for executing a criteria query. Parameters: criteriaQuery - a criteria query object Return: the new query instance Throws

EntityManager.createQuery(qlString) - JPA Method

JPA Method in javax.persistence. EntityManager Query createQuery (   String qlString ) Create an instance of Query for executing a Java Persistence query language statement. Parameters: qlString - a Java Persistence query string Return: the new query instance Throws