chore(driver-compat) add @Immutable to DBObjectFactory