cancel
Showing results for 
Search instead for 
Did you mean: 

How obtain a DbSqlSession

jcosano
Champ in-the-making
Champ in-the-making
I had code using:

 CommandContext.getCurrent().getDbSqlSession()

But now is not possible call to getCurrent()

How can I obtain same result?

thanks!

http://forums.activiti.org/en/viewtopic.php?f=6&t=398
2 REPLIES 2

frederikherema1
Star Contributor
Star Contributor
Try using
Context.getCommandContext()

jcosano
Champ in-the-making
Champ in-the-making
Perfect!!!

Thank you!