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 chime in.

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 most

Re: [Resin-interest] Help with JPA

2015-02-18 Thread Nam Nguyen
. -- Nam On 2/18/15 10:00 AM, resin-interest-requ...@caucho.com wrote: Date: Tue, 17 Feb 2015 21:04:47 + From: c.whalleyc.whal...@blueyonder.co.uk Subject: [Resin-interest] Help with JPA To: General Discussion for the Resin application server resin-interest@caucho.com Message-ID

[Resin-interest] Help with JPA

2015-02-17 Thread c.whalley
Hi, I realise this is not the usual thing but I'm using EclipseLink under Resin so if anyone can help I'd really appreciate it. Basically I want to know a better way to achive something I feel I'm doing via a kludge. I have an entity for which I effectivley want to rename a primary key. I know