DPascalBernard / maven-alfresco-archetypes

Automatically exported from code.google.com/p/maven-alfresco-archetypes
0 stars 0 forks source link

In memory DB (h2) support for embedded run #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As per https://issues.alfresco.com/jira/browse/ALFCOM-3691 we could be able to 
achieve in memory DB support (but clearly not supported from Alfresco) to run 
embedded. 

Carlo assigning this to you since I heard you're doing some work around this.

Do you think we can make it for the next release?

Original issue reported on code.google.com by colum...@gmail.com on 4 Aug 2011 at 1:46

GoogleCodeExporter commented 9 years ago
tl;dr: yes, I guess we can make it for a post-summer release!

The current situation is:

- I released an initial version of H2 DB scripts in my github 
(https://github.com/skuro/alfresco-h2-support)
- they allowed me to *bootstrap* Alfresco from scratch, which I think involves 
already quite a few DB transactions
- when Alfresco eventually started against H2, I played a bit around the web 
client UI and it seemed everything was fine
- AFAIK problems with other in-memory DBs where related to concurrency, some 
multi threaded tests should be run (even though H2 supports MVCC, which is 
already a huge parachute)

As it makes no sense to support DB upgrades for now, the DB scripts should be 
fine as they are. 

Original comment by carlo.sciolla on 4 Aug 2011 at 8:21

GoogleCodeExporter commented 9 years ago
Fixed on trunk as per r326

Original comment by carlo.sciolla on 4 Aug 2011 at 4:06

GoogleCodeExporter commented 9 years ago
Reopened as repo extension is still using MySQL (AMP archetype already produces 
a working environment that uses h2)

Original comment by carlo.sciolla on 4 Aug 2011 at 4:20

GoogleCodeExporter commented 9 years ago
Fixed and verified for both AMP and repo extension generated projects

Original comment by carlo.sciolla on 5 Aug 2011 at 7:58

GoogleCodeExporter commented 9 years ago
Alfresco repo extension project version 3.9.0. uses mysql ATM. Tested with 
h2-support-1.2 and Alfresco 4.0.b. everything works as expected.

Original comment by mauri...@session.it on 6 Apr 2012 at 7:43

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r382.

Original comment by mauri...@session.it on 6 Apr 2012 at 9:35

GoogleCodeExporter commented 9 years ago

Original comment by mauri...@session.it on 6 Apr 2012 at 6:26