|
From: <tho...@tr...> - 2004-08-31 20:35:55
|
Except that now java.sql.Timestamp/Time are autoconverted to java.sql.Date since they are both subclasses of java.util.Date. I made the fix to bypass autoconversion for them too. Otherwise it seems to work well. Thomas Quoting "jürgen höller [werk3AT]" <jue...@we...>: > I've adapted StatementCreatorUtils as follows: > > * StatementCreatorUtils uses specific PreparedStatement parameter setter = > methods, as far as possible > * added auto-conversion of java.util.Calendar to = > java.sql.Date/Time/Timestamp, for SQL types DATE/TIME/TIMESTAMP > * added auto-conversion of java.util.Date and java.util.Calendar to = > java.sql.Date, in case of an unknown SQL type > > This was partly triggered by > http://opensource.atlassian.com/projects/spring/browse/SPR-301 > > Thomas and co, please give the new version a try. It should essentially = > work the same as before, just do a few more auto-conversions. > > Juergen > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |