On Mon, Mar 10, 2014 at 7:29 AM, Emmanuel Bernard wrote:
> Either this or have on the session owner contract a generic facility to
> store session specific data that OGM could extend.
> I think Steve has been reluctant of such contract in the past. We could re
> discuss the pluses and minuses.
>
>
I'm OK with exposing a getSessionOwner() method. This could actually be
helpful in other places like envers iiuc.
On Mon, Mar 10, 2014 at 6:59 AM, Gunnar Morling wrote:
> Hi,
>
> I'm looking into ways for reducing the number of datastore roundtrips in
> OGM [1].
>
> One idea is to fetch associa
That would be extremely useful. That being said, it's not the only
useful context. On top of the "entity" context, I can see usage for:
- per event context (flush event for example)
- transaction context
- global session context (not sure I have a use case yet but I suspect
it's useful.
Emmanue
This seems like related to the relation-walking optimization we
discussed for Neo4J: also would need to couple the entity instance to
the Neo4J document. Currently the Neo4J griddialect would need to run
a new query for a graph-traversal: not taking advantage of the graph
capabilities which is of c
Minor correction:
> Unfortunately there is no getter for the session owner on
SessionFactoryImplementor
s/SessionFactoryImplementor/SessionImplementor
--Gunnar
2014-03-10 12:59 GMT+01:00 Gunnar Morling :
> Hi,
>
> I'm looking into ways for reducing the number of datastore roundtrips in
> OG
Either this or have on the session owner contract a generic facility to store
session specific data that OGM could extend.
I think Steve has been reluctant of such contract in the past. We could re
discuss the pluses and minuses.
Another alternative is to use transactions as the payload transp
Hi,
I'm looking into ways for reducing the number of datastore roundtrips in
OGM [1].
One idea is to fetch associations embedded within entity documents (e.g. in
MongoDB) when loading such document. We'd "remember" the entity document
and could later on retrieve the association from it without go