Skip to end of metadata
Go to start of metadata

All database queries whether SQL or HQL should be externalize to configuration files:

  1. Production queries (SQL or HQL) should be stored in hibernate mapping files
    1. Entity related queries should go in the associated entity mapping file
    2. Non entity related queries should go in mapping files unrelated to entities and grouped by function area
  2. Patch tasks SQL (no HQL allowed) queries should be stored in a property file
Labels
  • None