Fixed the dialect and using read-only transaction