Don't NPE is sqlstate is not set
Enable StatementCache