|
Spring Data Document | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DbCallback | |
---|---|
org.springframework.data.document.mongodb | MongoDB core support. |
Uses of DbCallback in org.springframework.data.document.mongodb |
---|
Methods in org.springframework.data.document.mongodb 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 Document | |||||||||
PREV NEXT | FRAMES NO FRAMES |