Would it be possible to patch the jdbc driver so that it will internally turn autcommit off, set the fetchsize to 10,000, and ignore any attempt by the application to change these parameters? Could someone create such a patch for me? I am using java 1.5, so the driver compiles as the 3g version.
Is not it easier to use a delegating driver that does required actions on *Statement creation? You won't have to get into Postgresql JDBC driver and will have no problems with any driver updates.