You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by Patrick Linskey <pl...@gmail.com> on 2007/08/21 00:17:54 UTC
API question: JDBCFetchPlan.setResultSetType and setFetchDirection
Hi,
JDBCFetchPlan.setResultSetType() and JDBCFetchPlan.setFetchDirection()
take as arguments the Connection symbolic constants. Should I migrate
these to use enums instead of symbolic constants, or should we keep
using the Java-standard constants?
-Patrick
--
Patrick Linskey
202 669 5907
Re: API question: JDBCFetchPlan.setResultSetType and setFetchDirection
Posted by Marc Prud'hommeaux <mp...@apache.org>.
I lean towards enums for this.
On Aug 20, 2007, at 6:17 PM, Patrick Linskey wrote:
> Hi,
>
> JDBCFetchPlan.setResultSetType() and JDBCFetchPlan.setFetchDirection()
> take as arguments the Connection symbolic constants. Should I migrate
> these to use enums instead of symbolic constants, or should we keep
> using the Java-standard constants?
>
> -Patrick
>
> --
> Patrick Linskey
> 202 669 5907