hibernate-filters Questions

2

I am trying to execute Hibernate Filter. Here is my POJO class: @Entity @Table(name="flight") @FilterDef(name="f1",parameters=@ParamDef(name="status",type="String")) @Filter(name="f1",condition="...
Turbofan asked 31/7, 2016 at 20:48

0

I have entities that are persisted in MongoDB and use spring data MongoRepository to fetch data. Now i want to apply filter to all queries that executed on the entites, so i decided to use hibernat...
Homophonous asked 24/1, 2022 at 13:24

4

I do have this hibernate filter in my repository: @Entity @Audited @DiscriminatorValue(value = "GROUP") @FilterDef(name = "groupACL", parameters = @ParamDef(name = "userId", type = "long")) @Filte...
Underhung asked 18/7, 2017 at 14:32

2

Solved

I'm using Hibernate 3.6.7-Final and Spring 3.0.5. I have entity like this @Entity public class Foo { @ManyToOne private Bar bar; } @Entity public class Bar { @Column String group; } How ca...
Burks asked 21/5, 2012 at 19:40

1

I have read several articles (i.e. this and that and that) on the web regarding multi tenancy (for different clients in a SaaS application). Once you have decided to go for the discriminator based ...
Standstill asked 15/10, 2012 at 11:9

1

Solved

I want to have multiple Hibernate filters on an entity, I have tried everything logical without luck and Google has come up short on this one, as has the Hibernate doc. I can't imagine that this is...
Homogamy asked 5/4, 2013 at 21:52

2

Say there is a User table with structure: User List item userId (PK) company (PK) userName address ...etc And I want to retrieve users only for the current company (company can be changed by ...
1

© 2022 - 2024 — McMap. All rights reserved.