JBoss Community

spring bean as global variable

created by Odelya Holiday in jBPM - View the full discussion

Hi!

 

I need to call my database in order to acess data for example: retrieving list of actors for the process.

 

Is it fine to use global as spring bean and set it:

 

 

ksession.setGlobal("springDao",mydao)

 

 

and extract database from it?

Reply to this message by going to Community

Start a new discussion in jBPM at Community