DatabaseBuilder.java now properly propagates type params

Signed-off-by: gburgett <gordon.burgett@gmail.com>