Re: detached object cannot be persisted exception again

2008-06-09 Thread Arun
( "optimistic-lock-none"); > entity.setOptimisticLockMode( getOptimisticLockMode(lockNoneNode) ); > > HTH, > Martin > - Original Message - From: "Arun" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Sent: Thursday, Jun

Re: detached object cannot be persisted exception again

2008-06-05 Thread Martin
To: "Struts Users Mailing List" Sent: Thursday, June 05, 2008 12:11 PM Subject: detached object cannot be persisted exception again Hi, I am using JPA and ehcache. My entity is this. @Entity @Table(name = "holiday_calendar") @Cache(usage = CacheConcurrencyStrategy.READ_WR

detached object cannot be persisted exception again

2008-06-05 Thread Arun
Hi, I am using JPA and ehcache. My entity is this. @Entity @Table(name = "holiday_calendar") @Cache(usage = CacheConcurrencyStrategy.READ_WRITE) public class HolidaysCalendar { @Id @Column(name = "HOLIDAY_CALENDAR_ID", nullable = false, unique = true) private int holidayCalendarId; @Column(name