• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with em.merge

 
manu chaox
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have next problem:

class ProjectDaoImpl


class ProjectDaoService


class Project



class ProjectAction


I don't know why merge is functional only for adding object and not for deleting object . Do you have any idea ?

(EJB3, JBoss 4.2.2,Struts2 - I am newby in ejb 3)
 
Ankit Garg
Sheriff
Posts: 9577
33
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you properly override the equals and hashCode methods in RoleAssociation class?? I know this is a basic things, but sometimes we miss some very basic things...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic