[jboss-user] [JBoss jBPM] - How to retreive the Connection in a handler ?

francis1970 do-not-reply at jboss.com
Mon Jan 29 11:09:35 EST 2007

Hi all!
in the docs it's showed that, in order to retrieve a Connection from an handler you should :

	public void execute(ExecutionContext context) throws Exception {
	Connection conn = context.getJbpmContext().getConnection();


this gives me a NullPointerExceptiopn because context.getJbpmContext()
is null.......
anybody helps me ?

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

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

More information about the jboss-user mailing list