HHH-2394 remove last comma in the array, seems some jdks do not support it

This commit is contained in:
Strong Liu 2012-07-12 23:55:17 +08:00
parent a4d83a9025
commit ab708a7ed9
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ import org.hibernate.annotations.ParamDef;
@FilterDef(name="iqRange", parameters= @FilterDef(name="iqRange", parameters=
{ {
@ParamDef(name="min", type="integer"), @ParamDef(name="min", type="integer"),
@ParamDef(name="max", type="integer"), @ParamDef(name="max", type="integer")
}) })
@Filter(name="iqRange", condition="HUMAN_IQ BETWEEN :min AND :max") @Filter(name="iqRange", condition="HUMAN_IQ BETWEEN :min AND :max")
public class Human extends Mammal { public class Human extends Mammal {

View File

@ -13,7 +13,7 @@ import org.hibernate.annotations.ParamDef;
@FilterDef(name="iqRange", parameters= @FilterDef(name="iqRange", parameters=
{ {
@ParamDef(name="min", type="integer"), @ParamDef(name="min", type="integer"),
@ParamDef(name="max", type="integer"), @ParamDef(name="max", type="integer")
}) })
@Filter(name="iqRange", condition="HUMAN_IQ BETWEEN :min AND :max") @Filter(name="iqRange", condition="HUMAN_IQ BETWEEN :min AND :max")
public class Human extends Mammal { public class Human extends Mammal {

View File

@ -13,7 +13,7 @@ import org.hibernate.annotations.ParamDef;
@FilterDef(name="iqRange", parameters= @FilterDef(name="iqRange", parameters=
{ {
@ParamDef(name="min", type="integer"), @ParamDef(name="min", type="integer"),
@ParamDef(name="max", type="integer"), @ParamDef(name="max", type="integer")
}) })
@Filter(name="iqRange", condition="HUMAN_IQ BETWEEN :min AND :max") @Filter(name="iqRange", condition="HUMAN_IQ BETWEEN :min AND :max")
public class Human extends Mammal { public class Human extends Mammal {