Once a transaction is marked for rollback, f.ex. through
, any future work involving connections to Enterprise Information System will be rollbacked (well, du'h) and the work "wasted".
However, previously this would result in an exception when trying to obtain a connection, which meant that applications
would have to do a more "defensive" style of coding. This change will allow to keep using an existing connection, and hence
applications has an easier job to guard against these scenarios, as the transaction status doesn't have to checked all the time.
The end result is of course the same. The old behavior can be activated by a system property (
Previously our <
> was per credential, e.g. you could obtain up to <
> connections per credential used.
This could make it difficult to calculate how many connections were needed against the Enterprise Information System when using configuration
elements like <
> or <
>. The <
> element is now across all credentials used
to make it simpler to configure, and to understand.
The Road Ahead
We should soon see new code coming into our master branch, which is where our IronJacamar 2.0 development is happening. Keep an eye on the repository as well as the forums for updates, and
provide your feedback.
On behalf of the IronJacamar community,