Hi Jonathan,
Welcome, this sounds like a list of exciting ideas!
More comments inline:
On 25 January 2012 18:18, jonathan wood <jonathanshawwood(a)gmail.com> wrote:
Hello,
I have a need for resolution of
#OGM-98<https://hibernate.onjira.com/browse/OGM-98> and
would not mind taking a shot at the implementation. Has any work or
analysis been done in this area? I'd love to leverage any knowledge in the
community.
No, I didn't try it and am not aware of others doing so. You're very
welcome to do so and let us know.
On the surface, this seems quite possible. The current plan would be
to
created unit tests around the use cases described in the envers docs .
I'm not sure what the problems could be: it might just work, maybe
not. Writing some tests is definitely the way to go!
Feel free to introduce all tests you want and send a pull request; if
you need any directions please ask; you can use this list, or chat
with us via IRC
as described at
http://hibernate.org/community/irc
Outside of Envers, I've abandoned use of CQ in favor of
HibernateSearch (A
move that is proving to be a bit easier than expected, gotta love being
able to conjure an index any time you need one). It seems that a custom
class bridge might solve the revision query issues (by allowing an index to
be created upon entity state change). Also under consideration is
reflecting/annotationprocessing to create the Envers model, but that seems
a bit more complicated and error prone.
What do you mean by "allowing an index to be created upon entity state change"
?
Since 4.0 it's indeed possible to trigger creation of new indexes at
runtime, but it's still an undocumented and untested feature (and I
never disclosed it before!..), so feel free to try but don't hesitate
in asking for suggestions and code changes.
I'm also looking at the possibility of adding support for a
couple of
other backends. Has the recently released Amazon DynamoDB been considered?
Cassandra is also a possibility, but Dynamo seems a closer match to the
key/val implementation used to support Infinispan.
+1 !
Would be interesting indeed. One concern I'm having with Dynamo is
that it's currently hard to create functional tests with it without
actually using the AWS service. I've read somewhere (sorry lost the
link) of that being addressed..
Any thoughts out there? Is this the appropriate place to discuss
this?
You've definitely come to the right place.
Regards,
Sanne
Thanks,
Jonathan
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev