• JDBC - Use in Agents

    By Karsten Kropp 1 decade ago

    Is there a way to use the JDBC-functions or JDBC-profiles within an agent?

    • Not that I am aware of but if someone else knows I would be interested as well

      By Steve Smillie 1 decade ago

      I have a project where I need to do some scheduled JDBC stuff (thus a Java Agent) and it would be great to make use of the already configured relational stuff for the XPages in the application, rather than doing it all separately.

    • Not with the XPages libraries...

      By Philippe Riand 1 decade ago

      The agents don't have access to the XPages application instance in memory and thus cannot reuse the connections/OSGi drivers.

      Now, you can load the JDBC drivers in agents but you won't get access to the connections pool and it will probably perform poorly.