| This page (and all pages in the Tech: namespace) is a developer discussion about a feature that is either proposed for inclusion in JAMWiki or one that has already been implemented. This page is NOT documentation of JAMWiki functionality - for a list of documentation, see Category:JAMWiki.
Status of this feature: NOT IMPLEMENTED.
|
JAMWiki Hibernate layer will use latest Hibernate release, probably version 3.2.5. The Spring Framework controls transaction management and provides some convenient methods. If possible only methods of the Java Persistence API, as know as EJB 3.0 are used. EJB 3.0 is much more lightweight than EJB 2 and doesn't need any application server. It's basically a thin layer above Hibernate.
All classes are located in org.jamwiki.hibernate.There must be one change in WikiBase, where the DataHandler is initiated. If HibernateDataHandler is available on the classpath, it is created via reflection.
--------- --------------------
|Category | | VirtualWiki |
--------- --------------------
|m |1
| |
|m |m
------------------- ----------------
| Topic | 1---m | TopicVersion |
------------------- ----------------
|m
|
|
|----WatchList
|m
------------
| User |
------------
|m
|
|m
------------
| Group |
------------
In my opinion RecentChange is just a combination of Topic with 2 TopicVersions. The information is redundant.