|
Spring Data MongoDB | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DbCallback | |
---|---|
org.springframework.data.mongodb.core | MongoDB core support. |
Uses of DbCallback in org.springframework.data.mongodb.core |
---|
Methods in org.springframework.data.mongodb.core with parameters of type DbCallback | ||
---|---|---|
|
MongoTemplate.execute(DbCallback<T> action)
|
|
|
MongoOperations.execute(DbCallback<T> action)
Executes a DbCallback translating any exceptions as necessary. |
|
|
MongoTemplate.executeInSession(DbCallback<T> action)
|
|
|
MongoOperations.executeInSession(DbCallback<T> action)
Executes the given DbCallback within the same connection to the database so as to ensure consistency in a
write heavy environment where you may read the data that you wrote. |
|
Spring Data MongoDB | |||||||||
PREV NEXT | FRAMES NO FRAMES |