Class ResultSetWithNulls

java.lang.Object
com.randomnoun.common.db.ResultSetWithNulls
All Implemented Interfaces:
AutoCloseable, ResultSet, Wrapper

public class ResultSetWithNulls extends Object implements ResultSet
A class which wraps a ResultSet that makes it easier to handle nullable columns.

Instead of calling wasNull() after each nullable column, this class will do that for you and return a null instead.

Use the getXxxxOrNull() methods in this class to get the new behaviour.