Re: [Resin-interest] Help with JPA

2015-03-03 Thread c.whalley
On 19/02/2015 13:38, c.whalley wrote: > On 19/02/2015 02:36, Nam Nguyen wrote: >> Hi Carl, >> >> JPA prohibits changing the primary key. So you're right about having >> to do a copy-and-delete. I'm not too familiar with EclipseLink - >> what's the exact error you're seeing? Maybe others can chim

Re: [Resin-interest] Help with JPA

2015-02-19 Thread c.whalley
On 19/02/2015 02:36, Nam Nguyen wrote: > Hi Carl, > > JPA prohibits changing the primary key. So you're right about having > to do a copy-and-delete. I'm not too familiar with EclipseLink - > what's the exact error you're seeing? Maybe others can chime in. > > Anyways, I think the easiest and

Re: [Resin-interest] Help with JPA

2015-02-18 Thread Nam Nguyen
Hi Carl, JPA prohibits changing the primary key. So you're right about having to do a copy-and-delete. I'm not too familiar with EclipseLink - what's the exact error you're seeing? Maybe others can chime in. Anyways, I think the easiest and most effective way is to just use plain-ole SQL.