[hibernate-issues] [Hibernate-JIRA] Updated: (ANN-581) Improvement in "2.4.8. Filters"

Emmanuel Bernard (JIRA) noreply at atlassian.com
Mon Apr 16 09:58:06 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard updated ANN-581:
---------------------------------

    Issue Type: Patch  (was: Improvement)

> Improvement in "2.4.8. Filters"
> -------------------------------
>
>                 Key: ANN-581
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-581
>             Project: Hibernate Annotations
>          Issue Type: Patch
>          Components: documentation
>            Reporter: Diego Pires Plentz
>            Priority: Minor
>             Fix For: 3.3.1
>
>         Attachments: entity.xml.patch
>
>
> 	@Entity
> 	@FilterDef(name="minLength", parameters=**{** @ParamDef( name="minLength", type="integer" ) **}** )
> 	@Filters( {
> 	    @Filter(name="betweenLength", condition=":minLength <= length and :maxLength >= length"),
> 	    @Filter(name="minLength", condition=":minLength <= length")
> 	} )
> Could be
> 	@Entity
> 	@FilterDef(name="minLength", parameters= ** ** @ParamDef( name="minLength", type="integer" ) ** ** )
> 	@Filters( {
> 	    @Filter(name="betweenLength", condition=":minLength <= length and :maxLength >= length"),
> 	    @Filter(name="minLength", condition=":minLength <= length")
> 	} )

-- 
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