pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vadim Nasardinov <vadimn@redhat.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: jdbc xa patches
Date: Wed, 27 Jul 2005 11:04:19 -0400
Message-ID: <200507271104.19933.vadimn@redhat.com> (raw)
In-Reply-To: <42E70E8E.9010408@opencloud.com>
References: <20050726193540.M74424@yvyyl>
	<20050726225605.T74424@yvyyl>
	<42E70E8E.9010408@opencloud.com>

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



view thread (18+ messages)  latest in thread

Message-ID: <200507271104.19933.vadimn@redhat.com>
Permalink:  ../200507271104.19933.vadimn@redhat.com/
Also on:    postgresql.org/message-id/200507271104.19933.vadimn@redhat.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: vadimn@redhat.com
  Subject: Re: jdbc xa patches
  In-Reply-To: <200507271104.19933.vadimn@redhat.com>
  References: <20050726193540.M74424@yvyyl> <20050726225605.T74424@yvyyl> <42E70E8E.9010408@opencloud.com> <200507271104.19933.vadimn@redhat.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox