Re: Cayenne chain-chank problem

2010-05-21 Thread Andrus Adamchik
s :) Evgeny. -Original Message- From: Andrus Adamchik [mailto:and...@objectstyle.org] Sent: Friday, May 21, 2010 1:33 PM To: dev@cayenne.apache.org Subject: Re: Cayenne chain-chank problem Ok I got it now. That's how Velocity works. This code is not Cayenne specific. I would sugg

RE: Cayenne chain-chank problem

2010-05-21 Thread Рябицкий Евгений
). Going to make Jira for it. If there no doubts :) Evgeny. -Original Message- From: Andrus Adamchik [mailto:and...@objectstyle.org] Sent: Friday, May 21, 2010 1:33 PM To: dev@cayenne.apache.org Subject: Re: Cayenne chain-chank problem Ok I got it now. That's how Veloc

Re: Cayenne chain-chank problem

2010-05-21 Thread Andrus Adamchik
mailto:and...@objectstyle.org] Sent: Friday, May 21, 2010 12:12 PM To: dev@cayenne.apache.org Subject: Re: Cayenne chain-chank problem Hi Evgeny, Where did you find this example? I am checking #chunk directive example here: http://cayenne.apache.org/doc20/scripting-sqltemplate.html and everyt

RE: Cayenne chain-chank problem

2010-05-21 Thread Рябицкий Евгений
. Evgeny. -Original Message- From: Andrus Adamchik [mailto:and...@objectstyle.org] Sent: Friday, May 21, 2010 12:12 PM To: dev@cayenne.apache.org Subject: Re: Cayenne chain-chank problem Hi Evgeny, Where did you find this example? I am checking #chunk directive example here: http

Re: Cayenne chain-chank problem

2010-05-21 Thread Andrus Adamchik
Hi Evgeny, Where did you find this example? I am checking #chunk directive example here: http://cayenne.apache.org/doc20/scripting-sqltemplate.html and everything seems correct to me. IIRC "0 == null" is how Velocity evaluates expressions (C-style), so this has to be taken into account whe