db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mamta Satoor" <msat...@gmail.com>
Subject Re: PreparedStatement.setXXX methods do not set up ContextStack. Is that right and if so, why?
Date Mon, 05 Mar 2007 06:33:25 GMT
Dan, did you mean EmbedPreparedStatement.setDate(...)?


On 3/3/07, Daniel John Debrunner <djd@apache.org> wrote:
> Daniel John Debrunner wrote:
> > Sounds like a bug. I do think that the existing code that obtains the
> > locale is approaching the problem in entirely the wrong way and probably
> > should be written from scratch. E.g. if a data type is locale dependent
> > for its string conversion then it should have a setValue(String) method
> > that has an additional argument that specifies the locale (either as a
> > Locale, a LocaleFinder or some other effective object).
> An example of this is the way Calendar objects are passed into the
> EmbedResultSet.setDate(...) methods and onto the data types.
> Dan.

View raw message