On Tue, May 28, 2013 at 6:58 AM, Emmanuel Bourg <ebo...@apache.org> wrote:
> Le 11/01/2013 08:36, Mark Thomas a écrit : > > > We could also add the JDBC 4.1 methods to DBCP1 but I'm not sure I like > the idea of three builds for that version. > > I think we should do that. Debian and Fedora maintain a patch to be able > to build DBCP from source (see DBCP-385), but we should assume this burden. > > I see 3 options, either: > > 1. Release DBCP 1.4.1 with no-op methods throwing a > SQLFeatureNotSupportedException or an UnsupportedOperationException. > This is what Fedora/Debian do. > That's fine with me but I would not say this is not for a maintenance version, it should be for a minor version. > 2. Release DBCP 1.5 with the fully implemented methods and Java 7 as a > build requirement. > Fine with me, nice and simple. > > 3. Release DBCP 1.4.1 or 1.5 with the fully implemented methods but > using reflection, thus compiling with Java 6 or Java 7. > I do not like these kinds of solutions because I have to think twice about what the dynamic behavior means on different platforms. Gary > > > What do you think ? > > > Emmanuel Bourg > > > -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory