About Persistence Context

41-50 of 200Refresh
Manual
10

DELETE Queries in JPA/JPQL

. For example, the EntityManager may not be aware that a cached entity object in its persistence context has been removed from the database by a DELETE query. Therefore, it is a good practice to use
Manual
10

UPDATE SET Queries in JPA/JPQL

its persistence context has been modified by an UPDATE query. Therefore, it is a good practice to use
Manual
10

UPDATE SET Queries in JPA/JPQL [2011-11-22]

its persistence context has been modified by an UPDATE query. Therefore, it is a good practice to use
JPA Doc
10

javax.persistence.spi.PersistenceUnitInfo

javax.persistence.spi Interface PersistenceUnitInfo Interface implemented by the container and used by the persistence provider when creating an javax.persistence.EntityManagerFactory. Since: JPA 1.0 ... are only transformed once within the same classloading scope, regardless of how many persistence units
JDO Doc
9

javax.jdo.PersistenceManager

is specified as null, events for all persistent classes and interfaces will be sent to listenerInstance ... 1.0 void deletePersistent(Object pc) Delete the persistent instance from the data store. Delete the persistent instance from the data store. This method must be called in an active transaction
JPA Doc
9

javax.persistence.spi.PersistenceProvider

javax.persistence.spi Interface PersistenceProvider Interface implemented by the persistence provider. It is invoked by the container in Java EE environments and by the javax.persistence.Persistence class in Java SE environments to create an javax.persistence.EntityManagerFactory. Since: JPA 1.0
JPA Doc
9

javax.persistence.PersistenceUnitUtil

javax.persistence Interface PersistenceUnitUtil Superinterfaces: PersistenceUtil Utility interface between the application and the persistence provider managing the persistence unit. The methods ... for this persistence unit or on new entity instances. Since: JPA 2.0 Object getIdentifier(Object
Forum
9

javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test

to persist an entity into an ObjectDB database. I'm working in C/S model and I have both the ObjectDB server and Karaf running on localhost. When I try to persist the entity I'm getting the  javax.persistence.PersistenceException: No Persistence provider for EntityManager named objectdb://localhost:6136
JDO Doc
9

javax.jdo.annotations.Persistent

javax.jdo.annotations Annotation Persistent Target: Fields (including property get methods) Annotation for defining the persistence of a member. This corresponds to the xml elements "field ... persistent but in the non-embedded instances the member is persistent. Note that it is not portable
JPA Doc
9

javax.persistence.GenerationType

javax.persistence Enum GenerationType java.lang.Object java.lang.Enumpersistence.GenerationType> javax.persistence.GenerationType Implemented Interfaces: Serializable ... /JPA manual. GenerationType AUTO Indicates that the persistence provider should pick an appropriate