[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2818) Example criterion needs to have a way to exclude empty string

Alberto A. Flores (JIRA) noreply at atlassian.com
Sat Sep 1 01:12:24 EDT 2007


Example criterion needs to have a way to exclude empty string
-------------------------------------------------------------

                 Key: HHH-2818
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2818
             Project: Hibernate3
          Issue Type: Improvement
    Affects Versions: 3.2.5
         Environment: Hibernate 3, Oracle 10g
            Reporter: Alberto A. Flores


>From the documentation, "By default, null valued properties are excluded" in Example queries. In the NHibernate documentation it reads: "By default, null valued properties and properties which return an empty string from the call to ToString() are excluded". Is there any reason why this is not a desired behavior in the Java version? At a minimum, there should be a method similar to "excludeZeroes()", perhaps a "excludeEmptyStrings()", or even better, make such the default.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list