Questions tagged [first-level-cache]
18 questions
0
votes
1 answer
Configuration of Level 1 and Level 2 cache in JPA
I have read the following pages and I have several doubts.
About the persistence context type for Level 1 cache
What is the difference between Transaction-scoped Persistence context and Extended Persistence context?
About the Level 2…

Aliuk
- 1,249
- 2
- 17
- 32
0
votes
1 answer
EntityFramework 5 hits database twice within the same context
In MSDN for Entity Framework 5 the .Find Methode is decribed as:
Uses the primary key value to attempt to find an entity tracked by the context. If the entity is not in the context then a query will be executed and evaluated against the data in the…

user3003880
- 11
- 2
0
votes
3 answers
Use EF Code First Local extention
The following method works properly in my service layer:
public override IList GetAll()
{
var query = from item in _tEntities
select item;
query.Load();
return _tEntities.Local;
}
but…

Hossein Moradinia
- 6,116
- 14
- 59
- 85