|
From: Thomas R. <tho...@tr...> - 2007-05-15 16:21:43
|
Donnchadh, That's a good point, thanks. I've added that. Thomas Donnchadh Ó Donnabháin wrote: > On 5/15/07, Thomas Risberg <tho...@tr...> wrote: > If anyone can come up with a better way of instantiating this: > >> ParameterizedBeanPropertyRowMapper<Customer>(Customer.class) - then that >> would be great, I haven't found a way of avoiding specifying Customer >> twice there due to the type erasure. >> >> > This won't avoid specifiying the class twice but it will ensure they > are the same: > public ParameterizedBeanPropertyRowMapper(Class<T> mappedClass) > instead of > public ParameterizedBeanPropertyRowMapper(Class mappedClass) > > Donnchadh > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > |