On 2009-10-01 02.47, Alex Shneyderman wrote:
I would like to start contributing to QRM extension. I have finished
about 3.5 + some points of the Niclas' requirements from a post on QRM
on August 18. I feel like what is there is a good starting point.
Hibernate is used to not re-invent the actual low level details of how
exactly one maps a java bean/map to a record in a DB.

Excellent!

Two essential things are missing. First, I am not sure how
transactions and UoW are to be handled.

There are a couple of possible scenarios with mapping UoW and transactions. First, if a transaction is started, and then a UoW is performed entirely within that transaction, the all access by the EntityStore would be done using the given transaction. This is for "short" UoW's.

Then, if there is no transaction outside the UoW (=long UoW's), then you have to do all reads atomically (with or without transaction), and then do one transaction for the apply() method. That's how I see it anyway, but I'm no tx expert.

Second, associations and
values are not yet mapped.

If you need any help on the conceptual level for this, let us know. For values, are you going to do both the "cheat" version (=serialize to JSON string) and the "right" version (=map to tables)?

I do plan to put some time into QRM in the next couple of months or
so. I guess a very useable solution is possible by the end of October.

Sounds great!

Attached is my public key.

Niclas, can you add him?

/Rickard

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to