update « EntityManager « JPA Q&A





1. Hibernate EntityManager.merge() results in the creation of a new entity instead of updating existing one    stackoverflow.com

i have the following (partial) hierarchy:

@MappedSuperclass
public abstract class PersistentEntity {
    @Id
    @GeneratedValue(generator="system-uuid")
    @Type(type = "pg-uuid")
    public UUID getId() {
 ...

2. update of entity with hibernate entity manager    stackoverflow.com

I have one implementation where my entity Company extends RootEntity with

strategy =InheritanceType.JOINED.(I am using hibernate-entitymanager) 
I have other entities which does not extends RootEntity. When I create all entites it ...

3. Hibernate EntityManager on Glassfish doesn't update data    forum.hibernate.org

Hello, I am using Hibernate persistence provider (Hibernate EntityManager version 3.3.1 GA and Hibernate Core version 3.2) on Glassfish (Version 1 Update 2). The database is Oracle XE. This is a JSF application where the managed bean is using application managed extended scoped persistence context to access database. Even though I am able to view the data, I am not able ...

4. entityManager - data updated in the database, not for my app    forum.hibernate.org

Hi everyone, I'll explain my problem. First my env. I am using Seam 2.1.0 with Richfaces. I have a page with multiple tabs. I have one tab with a search form and I can do actions on the result. For example, I have a list of requests and I can reply to one of the request directly from the result. The ...