Handling global metadata

전역적인 메타데이타

  • query strings can be externalized to metadata and called by a globally unique name in the application code.
  • a query usually isn’t related to a particular class, and sometimes not even to a particular package.
  • Other application-scoped metadata includes user-defined mapping types (converters) and data filter (dynamic view) definitions.

Global XML mapping metadata

Global annotation metadata

Using placeholders