I think it is much cleaner to just add your own queries.

It's rather easy if you just do it the same way as it is done in jbpm.  Just 
create your own extra queries file and make sure it is loaded in your 
hibernateSessionFactory (by adding it in your hibernate.cfg.xml).

By doing this you can extend the jbpm stuff with your own queries without the 
need to change anything to the internal queries or mappings.

Then you can write some classes which shield you from the hibernate usage.  You 
could f.e. add a new service or provide your own implementation for an existing 
one (by putting it in your own jbpm.cfg.xml).

Hope this helps,

Olivier.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964901
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to