OK, I've just spent a couple of hours working on this. This is the process as 
it goes:

In the ContextInstance you've created a variable that's supposed to be 
Hibernate managed.
The variable is passed through a number of variable matchers, until it reaches 
HibernateLongIdMatcher.

This searches the hibernate configuration file for a class of the given type, 
and if it finds one it gets the ID field and stores that into the database.

I stopped there, because I use the starterskit and I needed to edit the 
hibernate.cfg.xml in the 
jbpm-server\server\jbpm\deploy\jbpm.sar\jbpm.sar.cfg.jar but then I needed to 
add my classfile to the jBPM classloader and I felt that that would break loose 
coupling and end up just being an ugly hack.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949146#3949146

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949146


_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to