if for example want to define filter like this
@org.hibernate.annotations.FilterDef(
name = "accessLevelFilter2",
parameters = {(a)org.hibernate.annotations.ParamDef(name =
"currentAccessLevel", type="integer")}
)
@org.hibernate.annotations.Filter(
name = "accessLevelFilter2",
condition = "(select level from registration where
id=this.id)=:currentAccessLevel"
)
this should reference to the entity.I couldn't get it to work.. how this could be
done?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050909#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...