-
1. overide fetchmode while querying historical data on ENVERS
adamw Mar 23, 2011 4:15 PM (in response to dkelly)1 of 1 people found this helpful -
2. overide fetchmode while querying historical data on ENVERS
dkelly Mar 24, 2011 11:46 AM (in response to adamw)Thanks Adam,
Good to know.
Regards
D.......
-
3. overide fetchmode while querying historical data on ENVERS
dkelly Mar 28, 2011 10:03 AM (in response to adamw)Hi Adam,
We are evaluating envers as a possible solution for storing and retrieving historical data. In some cases LAZY loading is fine but in others we are concerned that calling .size() on a collection may give us (n+1) select issues. Have you any advice on this, any workarounds etc. Also can you point me to areas of the code that I could see if a workaround/extension would be possible and any advice on this too would be appreciated.
Regards
David.....
-
4. overide fetchmode while querying historical data on ENVERS
adamw Mar 30, 2011 12:32 PM (in response to dkelly)Well eager fetching (and joins, as it essentialy boils down to them) aren't easy with historic entities. It will be possible to implement them if you are using the ValidityAuditStrategy, but that's not done yet. As for areas in the code, well ... it would be quite a lot of code . You can look at the various query generators.
Adam