You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrey Razumovsky (JIRA)" <ji...@apache.org> on 2009/09/23 21:05:16 UTC
[jira] Updated: (CAY-1279) Passing null values in query parameters
[ https://issues.apache.org/jira/browse/CAY-1279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrey Razumovsky updated CAY-1279:
-----------------------------------
Priority: Major (was: Blocker)
> Passing null values in query parameters
> ---------------------------------------
>
> Key: CAY-1279
> URL: https://issues.apache.org/jira/browse/CAY-1279
> Project: Cayenne
> Issue Type: Bug
> Components: Cayenne Core Library
> Affects Versions: 1.2.5, 2.0.5, 3.0 beta 1, 3.0
> Reporter: Evgeny Ryabitskiy
>
> Example1:
> INSERT INTO TABLE1 (id, NullableColumn) values (10, $MyNullValue)
> If I put null in MyNullValue parameter I will get: bad formed query because of how Velocity do merge with templates.
> But Cayenne is using #bind directive, so....
> Example2:
> INSERT INTO TABLE1 (id, NullableColumn) values (10, #bind($MyNullValue))
> If I put null in MyNullValue parameter I will get Bind Exception.
> So.... how can I insert null in my column using Cayenne?!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.