Add missing method introduced in Java 7 to DataSource. 

Builds with Java 6 and 7 successfully again.