« Return to Thread: @Resource(mappedName="JQCF") ConnectionFactory--doesn't work?

@Resource(mappedName="JQCF") ConnectionFactory--doesn't work?

by gembin :: Rate this Message:

Reply to Author | View in Thread

hi there,
 
  why @Resource(mappedName="JQCF") ConnectionFactory connectionFactory doesn't work?
  but it works for  @Resource(mappedName="jdbc_1") DataSource ds;

  what's the good way to Inject it?

Regards,
Gembin
 

 « Return to Thread: @Resource(mappedName="JQCF") ConnectionFactory--doesn't work?