I added a comment to the WIKI about setting up a new page to discuss a common transaction facility for HiveMind.
-----Original Message----- From: Jean-Francois Poilpret [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 05, 2004 10:12 AM To: [email protected] Subject: RE: Request for built-in support for Hibernate in HiveMind lib Hi, it seems that there are several isolated initiatives to work on Hivemind+Hibernate integration (myself, I am currently working on that problem). The problem that may arise is that at the end we all have a multitude of solutions that might fit partially some people's requirements, but maybe never completely. I wonder if we should not try to gather our efforts on this task. But before all, maybe we should try to establish a list of "official" requirements for such an integration solution. This is what I started to do (actually this is my own list of requirements) in the WIKI. (http://wiki.apache.org/jakarta-hivemind/HibernateSupport) Currently I could come out with a solution that: - implements 1, 2, 3, 6 of the list I put in the WIKI. - could easily be added support for 5 - probably does not support 4 (because I am not acquainted with XA in the context of Hibernate and I did not prepare any test case for it). I am preparing some simple practical example on how to use it (maybe I could reuse the example code of James for that). Until now I just wrote test cases but no "full featured" application. Whenever I can come with a full example, then I'll post it as an attachment to the JIRA. Maybe we should go on with this discussion in the WIKI (there is a Hibernate page already) and try to discuss our viewpoints, share our experiences on that. -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Sent: Monday, October 04, 2004 6:52 AM To: [email protected] Subject: [jira] Updated: (HIVEMIND-54) Request for built-in support for Hibernate in HiveMind lib The following issue has been updated: Updater: James Carman (mailto:[EMAIL PROTECTED]) Date: Sun, 3 Oct 2004 4:51 PM Comment: Hey, guys. Here's a sneak peak of the code that I'm writing for TSS.com about HiveMind. It contains code that I've been working on which integrates Hibernate and HiveMind. I would love to have any suggestions, comments. This zip file contains an Ant build file. You should modify the build.properties file (database settings, deploy location, etc) if you want to actually install and run the example webapp. You'll need to run the "get-dependencies" task first (hopefully you're not behind a proxy server, because I didn't account for that yet). This is an example of what I have in mind with respect to support for Hibernate in HiveMind. Of course, we might want to change the names of some of the interfaces/classes (to protect the innocent). One thing I don't particularly like is the duplication of code between the TransactionInterceptor (a service interceptor) and TransactionFilter (a servlet filter) classes, but I think it's the easiest way to implement what we need without adding new classes/interfaces. I created a class called HibernateSessionWrapper which wraps a Hibernate session and provides many of the common operations you might need WITHOUT the checked exceptions (they throw runtime exceptions instead). Anyway, please check it out and let me know what you think. Changes: Attachment changed to hivemind-article.zip --------------------------------------------------------------------- For a full history of the issue, see: http://issues.apache.org/jira/browse/HIVEMIND-54?page=history --------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/HIVEMIND-54 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
