Re: Question about key path expression

2009-09-08 Thread Reinout van Schouwen
Hi Michael, Op dinsdag 08-09-2009 om 12:22 uur [tijdzone -0400], schreef Michael Gentry: > Then you should use that in your expression: > > Expression.fromString("names.familyName like '$name'") Thanks, after I removed the unnecessary single quotes, this worked. :-) -- Reinout van Schouwen

Re: Question about key path expression

2009-09-08 Thread Reinout van Schouwen
Hi Michael, 2009/9/8 Michael Gentry : > Also, what is the name of your relationship from Person to PersName? It is 'names'. -- Reinout van Schouwen

Question about key path expression

2009-09-08 Thread Reinout van Schouwen
true that the table Person has no field 'persname' but if I read http://cayenne.apache.org/doc20/building-expressions.html correctly, Cayenne should automatically determine all the join information. How should I build the key path expression? regards, -- Reinout van Schouwen

Question about key path expression

2009-09-08 Thread Reinout van Schouwen
Hi, Is it possible to do a query like this:

Re: DataContext cache WICKET

2009-09-08 Thread Reinout van Schouwen
without its own problems, for instance the latest stable release only supports Wicket 1.3.x and Cayenne 2.0.4, but it could help you get started. regards, -- Reinout van Schouwen

Re: Different DataContext

2009-08-28 Thread Reinout van Schouwen
ecoming a hear-tearing exercise for me. regards, -- Reinout van Schouwen

Re: Different DataContext

2009-07-23 Thread Reinout van Schouwen
nder (the thin layer between Wicket and Cayenne) unless absolutely necessary. Perhaps the problem lies with Databinder-- I've posted a question on their forum[1] but received no reply as of yet. [1] http://databinder.net/forum/viewtopic.php?f=1&t=369 -- Reinout van Schouwen http://vanschouwen.info/

Re: Different DataContext

2009-07-22 Thread Reinout van Schouwen
e of at all times? I.e. when creating a link between two objects, is it best practice to retrieve the datacontext from either one, and handle both objects from that context? -- Reinout van Schouwen http://vanschouwen.info/

Re: Different DataContext

2009-07-22 Thread Reinout van Schouwen
at happen if u steps into (...) This part of the code works fine. It's the 'else' case that causes the exception. Regards, -- Reinout van Schouwen http://vanschouwen.info/

Different DataContext

2009-07-22 Thread Reinout van Schouwen
j.setPerson(auxiliary); } else { nameObj.setPerson(person); // <-- line 102 where the exception is triggered. 'person' } super.onSubmit(); } }); Thanks for any advice! -- Reinout van Schouwen http://vanschouwen.info/