refs #237 NPE when using ReadOnlyAutoSession with RelationalSQL
version 1.7.6