User development,

A new message was posted in the thread "org.hibernate.MappingException: Named 
query not known: findP":

http://community.jboss.org/message/521402#521402

Author  : Ronald van Kuijk
Profile : http://community.jboss.org/people/kukeltje

Message:
--------------------------------------------------------------
Delayed response, but I'll give it anyway in case others come across it.
 
RepositoryService is to be used in normal operations. It's *part of the public 
api* (org.jbpm.api). DBSession is to be used when low level stuff is done (the 
repository service internally uses commands which in turn use DBSession) and 
*not part of the public api* (org.jboss.pvm.internal). You can use it, but *no 
guarantees on stability* etc... You can retrieve the current hibernate session 
from it and do anything in the database you want.
 
So when implementing new commands and they have to do things that are not 
available trough services, use the DBSession.

--------------------------------------------------------------

To reply to this message visit the message page: 
http://community.jboss.org/message/521402#521402


_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to