Re: Insert is called instead of Update when merge() with complex IDs

2009-10-30 Thread Fay Wang
This is a bug in openjpa. JIRA-1371 is open to address this problem. - Original Message From: Constantine Kulak To: users@openjpa.apache.org Sent: Fri, October 30, 2009 12:54:19 AM Subject: Re: Insert is called instead of Update when merge() with complex IDs Hello! Neither of those

Re: Insert is called instead of Update when merge() with complex IDs

2009-10-30 Thread Constantine Kulak
ntity) or em.merge(newEntity)? Fay - Original Message From: Constantine Kulak To: users@openjpa.apache.org Sent: Thu, October 29, 2009 4:19:11 AM Subject: Insert is called instead of Update when merge() with complex IDs Hello! I need some help in the following situation - compl

Re: Insert is called instead of Update when merge() with complex IDs

2009-10-29 Thread Fay Wang
, October 29, 2009 4:19:11 AM Subject: Insert is called instead of Update when merge() with complex IDs Hello! I need some help in the following situation - completely stuck with it :( Can you please point me in some direction? Anyway, thanks in advance! OpenJPA version is 2.0.0-M3. So, I have three

Insert is called instead of Update when merge() with complex IDs

2009-10-29 Thread Constantine Kulak
Hello! I need some help in the following situation - completely stuck with it :( Can you please point me in some direction? Anyway, thanks in advance! OpenJPA version is 2.0.0-M3. So, I have three entities: Prognosis contains many PrognosisEntry, and PrognosisEntry references some Stock. So, i