db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject Re: PreparedStatement.setXXX methods do not set up ContextStack. Is that right and if so, why?
Date Sat, 03 Mar 2007 17:42:36 GMT
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.


View raw message