33 | Method javax.persistence.EntityManager void detach( Object entity ) Remove the given entity from the persistence context, causing a managed entity to become detached. Unflushed changes made to the entity if any (including removal of the entity), will not be synchronized to the database. Entities |
33 | Every entity object that is stored in the database has a primary key. Once assigned, the primary key cannot be modified. It represents the entity object as long as it exists in the database. As ... that is absent from other object oriented databases. Entity Identification Every entity object in |
33 | Method javax.persistence.EntityManager void lock( Object entity, LockModeType lockMode, Map<String,Object> properties ) Lock an entity instance that is contained in the persistence context ... and the entity contains a version attribute, the persistence provider must also perform optimistic |
33 | Method javax.persistence.EntityManager void lock( Object entity, LockModeType lockMode ) Lock an entity instance that is contained in the persistence context with the specified lock mode type. If a pessimistic lock mode type is specified and the entity contains a version attribute, the persistence |
33 | Method javax.persistence.EntityManager void refresh( Object entity, LockModeType lockMode, Map ... made to the entity, if any, and lock it with respect to given lock mode type and with specified properties. If the lock mode type is pessimistic and the entity instance is found but cannot be locked |
33 | Method javax.persistence.EntityManager void refresh( Object entity, Map<String,Object> properties ... , and overwriting changes made to the entity, if any. If a vendor-specific property or hint is not recognized, it is silently ignored. Parameters: entity - entity instance properties - standard and vendor-specific |
33 | Method javax.persistence.spi.ProviderUtil LoadState isLoadedWithoutReference( Object entity, String attributeName ) If the provider determines that the entity has been provided by ... . If the provider determines that the entity has been provided by itself and that either entity attributes |
33 | Method javax.persistence.EntityManager void refresh( Object entity, LockModeType lockMode ) Refresh the state of the instance from the database, overwriting changes made to the entity, if any, and lock it with respect to given lock mode type. If the lock mode type is pessimistic and the entity |
33 | Method javax.persistence.EntityManager void refresh( Object entity ) Refresh the state of the instance from the database, overwriting changes made to the entity, if any. Parameters: entity - entity instance Throws: IllegalArgumentException - if the instance is not an entity or the entity is not |
33 | Method javax.persistence.spi.ProviderUtil LoadState isLoaded( Object entity ) If the provider determines that the entity has been provided by itself and that the state of all attributes ... . If the provider determines that the entity has been provided by itself and that not all attributes |