jsr343-experts@jms-spec.java.net

[jsr343-experts] Re: (JMS_SPEC-45) Clarify and improve Connection.createSession

From: Ruediger zu Dohna <ruediger.dohna_at_1und1.de>
Date: Thu, 29 Sep 2011 12:43:35 +0200

Nigel,

On 29.09.2011 12:04, Nigel Deakin wrote:
>> I'd prefer to put SESSION_TRANSACED first, so the enum ordinals match
>> the constant values in Session.
>
> Yes, that would be consistent. But if we think *users* will ever to use
> ordinal() then I think this whole idea is getting over-complicated.

I don't see any reason for users to do so... if we deprecate the old
constants and all methods that take numeric values, that is ;)


Rüdiger