[Hibernate-JIRA] Created: (ANN-581) Improvement in "2.4.8. Filters"
by Diego Pires Plentz (JIRA)
Improvement in "2.4.8. Filters"
-------------------------------
Key: ANN-581
URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-581
Project: Hibernate Annotations
Type: Improvement
Components: documentation
Reporter: Diego Pires Plentz
Priority: Minor
@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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
17 years, 5 months
[Hibernate-JIRA] Created: (ANN-580) Mistake in "2.2.2.3. Embedded objects (aka components)"
by Diego Pires Plentz (JIRA)
Mistake in "2.2.2.3. Embedded objects (aka components)"
-------------------------------------------------------
Key: ANN-580
URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-580
Project: Hibernate Annotations
Type: Improvement
Components: documentation
Reporter: Diego Pires Plentz
@Embedded
@AttributeOverrides( {
@AttributeOverride(name="city", column = @Column(name="fld_city") ) ** **
@AttributeOverride(name="nationality.iso2", column = @Column(name="nat_Iso2") ),
@AttributeOverride(name="nationality.name", column = @Column(name="nat_CountryName") )
//nationality columns in homeAddress are overridden
} )
Should be
@Embedded
@AttributeOverrides( {
@AttributeOverride(name="city", column = @Column(name="fld_city") ) **, **
@AttributeOverride(name="nationality.iso2", column = @Column(name="nat_Iso2") ),
@AttributeOverride(name="nationality.name", column = @Column(name="nat_CountryName") )
//nationality columns in homeAddress are overridden
} )
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
17 years, 5 months