RE: update query syntax for embedded class field

2007-12-10 Thread Ajay Aggarwal
, December 06, 2007 9:39 AM To: users@openjpa.apache.org Subject: RE: update query syntax for embedded class field Thanks Michael. I will file a bug. Meanwhile, is there a workaround for this? -Original Message- From: Michael Bouschen [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 05, 2007

RE: update query syntax for embedded class field

2007-12-06 Thread Ajay Aggarwal
Jira issue created https://issues.apache.org/jira/browse/OPENJPA-461 -Original Message- From: Ajay Aggarwal [mailto:[EMAIL PROTECTED] Sent: Thursday, December 06, 2007 9:39 AM To: users@openjpa.apache.org Subject: RE: update query syntax for embedded class field Thanks Michael. I will

RE: update query syntax for embedded class field

2007-12-06 Thread Ajay Aggarwal
Thanks Michael. I will file a bug. Meanwhile, is there a workaround for this? -Original Message- From: Michael Bouschen [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 05, 2007 5:59 PM To: users@openjpa.apache.org Subject: Re: update query syntax for embedded class field Hi Ajay

Re: update query syntax for embedded class field

2007-12-05 Thread Marc Prud'hommeaux
I think we might only support setting top-level attributes, but you are right: it does look like we are supposed to support navigation through an arbitrary number of 1-1 relations. On Dec 5, 2007, at 2:59 PM, Michael Bouschen wrote: Hi Ajay Aggarwal, I think your query is correct and sh

Re: update query syntax for embedded class field

2007-12-05 Thread Michael Bouschen
Hi Ajay Aggarwal, I think your query is correct and should work. According to the Java Persistence query language BNF the expression following the keyword SET might be a state_field and state_field includes navigation through an embedded: state_field ::= {embedded_class_state_field.}*simple_s