On 5/28/13 3:58 AM, Emmanuel Bourg 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. > > 2. Release DBCP 1.5 with the fully implemented methods and Java 7 as a > build requirement. > > 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. > > > What do you think ?
Looks complicated and painful. I would rather put energy into getting dbcp 2.0 out the door and aim for the following: DBCP 1.3.x JDK 1.4-1.5 DBCP 1.4.x JDK 1.6 DBCP 2.x JDK 1.7 The 1.4 branch (once the 1.7 stuff is reverted) can still be used to generate 1.3 releases. Adding on another set of filters is in theory possible, but painful. So basically, we cut only pure maintenance releases for 1.3/1.4 and put the energy into getting 2.0 out. Phil > > > Emmanuel Bourg > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org