cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CAY-114) Null vs. Empty String validation
Date Mon, 15 Feb 2016 09:46:18 GMT

     [ https://issues.apache.org/jira/browse/CAY-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrus Adamchik closed CAY-114.
-------------------------------
    Resolution: Won't Fix

closing...

> Null vs. Empty String validation
> --------------------------------
>
>                 Key: CAY-114
>                 URL: https://issues.apache.org/jira/browse/CAY-114
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Core Library
>    Affects Versions: 1.1 [LEGACY]
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>            Priority: Minor
>             Fix For: Undefined future
>
>
> http://objectstyle.org/cayenne/lists/cayenne-devel/2004/04/0001.html
> Some DB engines (notably Oracle) can't tell the difference between NULL and "". Oracle
(either at the driver level or at the DB level?) converts empty string to nulls with all the
consequwnces (e.g. a DB exception when the column allows no nulls). 
> This affects Cayenne validation, since in most cases validation should pass when a required
field has an empty string value... In all cases except when Oracle is the target database.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message