if for example want to define filter  like this

@org.hibernate.annotations.FilterDef(
name = "accessLevelFilter2",
        parameters = [EMAIL PROTECTED](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#4050909

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050909
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to