I agrre with you that only JPA is a considerable target for another persistence provider
integrated with JBPM. But even if I agree with you on that I need to implement support for
another provider. What I intend to contribut is only the refactoring of JBPM to allow
implementation of adaption layers to different persistence providers.
What I have in mind is to move all code that interacts with a persistence provider into
the Session classes (e.g. GraphSession) in org.jbpm.db package. Having said that there are
still some references to Hybernate classes that i do not have an idea yet how this could
be achived (e.g. org.jbpm.persistence).
As a second step the Session classes could be converted to interfaces with Hybernate
specific implementations. It still need to be discussed how that implementations are
instantiated but propably a factory would be a good idea.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054519#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...