Re: jdbc xa patches

From: Vadim Nasardinov <vadimn(at)redhat(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: jdbc xa patches
Date: 2005-07-27 15:04:19
Message-ID: 200507271104.19933.vadimn@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Wednesday 27 July 2005 00:33, Oliver Jowett wrote:
> > > Having ResourceAssociationState as a full-blown class seems like
> > > overkill since you only have one instance anyway.
> >
> > Maybe. Java 1.4 doesn't have enums. What do you suggest as an
> > alternative?
>
> Just a bare int?

Java 1.4's typesafe enum pattern doesn't usually strike me as an
overkill, as long as you're aware of its problems:

http://www.google.com/search?q=Java+typesafe+enum

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Xavier Poinsard 2005-07-27 15:06:06 Announcement of new releases ?
Previous Message Jan de Visser 2005-07-27 14:46:06 Re: unusual ResultSet.next() behaviour