Thlware
asked on
Hibernate filter not working
@FilterDef(name = "BaseEntityOwnershipListener", parameters = {@ParamDef(name = "bu_Id", type = "string")}, defaultCondition="bu_Id = :bu_Id")
@Filter(name = "BaseEntityOwnershipListener")
@Entity
@Table(name = "SAMPLE_SCHEMA_NAME__WBN_SAMPLE")
@SuppressWarnings("serial")
public class SampleEntity
is not working it seem to be injected after the database is being hit. Any ideas ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
re wrote the code using some of your ideas
ASKER