allow for db.constraint in batchinsert mode
cache dynamic relationship/label
Merge branch 'dynamic'

* dynamic:
  cache dynamic relationship/label