-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
5
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Support MongoDB's read/write concerns by the following approach:
- injected Mongo-specific `MongoSessionFactory` which is a wrapper of existing Hibernate's default `SessionFactory` with additional read/write concerns config
- Injected Mongo-specific `MongoSession` which is a wrapper of existing Hibernate's default `Session` with additional read/write concerns config
- add overloaded methods for both `MongoSessionFactory` and `MongoSession` to provide explicit read/write concern config when creating `Session` (from `MongoSessionFactory`) or `Transaction` (from `MongoSession`), which will overwrite the default config of the initiator (`MongoSessionFactory` and `MongoSession`)
- use `ThreadLocalCurrentSessionContext` to bind the newly-created `MongoSession` to the context
- getting the `TransactionOptions` stored in the `current session` above from `MongoConnection` when a new transaction is to be created.
- clones
-
HIBERNATE-35 Support batch operations
-
- Backlog
-
- depends on
-
HIBERNATE-16 implement java.sql.Statement
-
- Closed
-
-
HIBERNATE-30 transaction demarcation
-
- Closed
-