I'm having some trouble understanding the best way to deal with Node persistence.
So far I have designed a JCR service manager that allows you to define multiple repositories.
repository.cfg.xml:
etc.
I make each of these available by name as a JcrService.
When someone wants put a node into the context, I need to know which repository it came from. I can then convert it to a string or special varInstance type to persist.
On revert this is easy, I go to that repository and find the node with the path information I stored.
A javax.jcr.Node has no concept of "which repository" it came from. Should I wrap the javax.jcr.Node type with a class jBPM provides to hold the node and respoitory name?
My head is spinning...I hope this makes sense. Let me know if you need more to reply.
Thanks, Jim
Sorry for the duplicate