Customer Portal

Can a DbConnection be shared

Comments 2

  • Avatar
    oldforum
    0
    Comment actions Permalink
    Thanks for that - we'll do the injection in the meantime.
  • Avatar
    oldforum
    0
    Comment actions Permalink
    Currently, there is now possibility to preserve existing DB connection between graph's executions - as when the execution is finished, all objects (including DB connections) are destroyed.

    This would require a modification to the DBConnection object and in a first step change the way transformation graph is executed.

    If you run your transformation graphs from within another Java program, you could create your own connection pool and then modify TransformationGraph class a bit to "inject" objects from this connection pool to the graph upon load from XML.

    Anyway, we will log this as a feature request to the future.

Please sign in to leave a comment.