On 8 March 2011 11:03, Holly Cummins <[email protected]> wrote: > Alasdair wrote: > >> I just thought why don't we just increase the service ranking by >> adding 1000 to the existing one? If no ranking is set it defaults to 0 >> and that means we would get the wrapped DataSource in preference. > > This seems neatest - and easiest, which is a bonus. :) > > It still has the advantage that we'll obliterate short-form JNDI lookup of > the original javax.sql.XADatasource, but long-form lookup will still be > available. It's also hard to imagine many use cases in which users will be > looking up the datasource using JNDI and expecting a > javax.sql.XADatasource to come back.
I agree, I don't think this is the majority scenario. > > Holly > > > > > > > Unless stated otherwise above: > IBM United Kingdom Limited - Registered in England and Wales with number > 741598. > Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU > > > > > > -- Alasdair Nottingham [email protected]
