update « EJB « JPA Q&A





1. save or update problem    stackoverflow.com

We have an application which has a swing client and java app on the server (jboss.4.2.1.GA) side. We are using ejb3. In our application at some point we are successfuly creating ...

2. How to automatically update an entity when an entity is persisted or updated    stackoverflow.com

I have an entity that has a reference to another one like these:

class School {
   private boolean used = false;
}

class Student {
   @ManyToOne
   private School ...

3. Strategies for handling updates in existing JPA persistence classes    stackoverflow.com

We are doing a project in which we have planned to use JPA Persistence. We think that once the project goes live, there is a small chance that changes in the ...

4. JBOSS EJB3 and dynamic update    forum.hibernate.org

I am trying to use JBOSS 5.1, EJB3 Entity beans with 'dynamicUpdate' set to true with Oracle 10G XE as the database. But I see sql where all the columns are being updated. Is the dynamicUpdate attribute only for optimistic locking? I think JBOSS by default uses pessimistic locking for Entity beans. Is there any way to update only the changed ...

5. EJB-2-EJB calls and failure to update entity in same session    forum.hibernate.org

Hibernate Version: 3.1.2 JVM: IBM 1.4.2 Server: WAS 5.1.1 Platform windows

6. Possible bug in EJB 3.0 UPDATE statement    forum.hibernate.org

Author Message rickhoro234 Post subject: Possible bug in EJB 3.0 UPDATE statement Posted: Tue Aug 07, 2007 10:27 pm Beginner Joined: Wed Oct 15, 2003 1:31 pm Posts: 25 I think there's a bug when generating SQL for a fairly simple EJB QL UPDATE statement. I'm using Hibernate 3.2.5.GA, EntityManager 3.3.1.GA, Annotations 3.3.0.GA and EJB 3.0 with Glassfish v2b41c. ...