Skip to content

Finalize ORM rules and Discuss implementation of Daily Tip

Meeting Info

Date 2022-06-09
Topic Finalize ORM rules and Discuss implementation of Daily Tip
Attendee Calvin Yan, Selly Huang, Rocky Chi, Daniel Zhou, Ted Zhao, Jackson Liu, Albert Wang
Note Taker Ted Zhao
Timer Rocky Chi
Duration 60 minutes

Meeting Agenda

  1. Summary and finalize ORM rules (20 minutes)
  2. Discussion on how to better implement event Daily Tip by HEA (20 minutes)
    • tip workflow: prepare and create tip, show tip, move tip to history, (show tip history)
    • work with daily lucky one?
    • agent shift to share the tip

Meeting Minutes / Action Items:

Summary and finalize ORM rule

  • DB ORM rule survey result (marked): db-schema-rule
  • Results for controversial rules:
Rule Name Result Comments
NOT ALLOWED to add 'is' before boolean attributes in POJO Class. Recommended to add 'is_' before database table field, and require to use \<resultMap> for mapping fields and attributes. Recommend
Not recommended to use the queryForList(String statementName, int start, int size) that comes from iBATIS. Reference
Don't abuse @Transactional. Transactions can affect the QPS of the database. In addition, various rollback cases should be considered where transactions are used, such as cache rollback, search engine rollback, message compensation, and statistical correction. Recommend

Daily Tip

Action output

  1. A Jira task about creating new side tab practice, including a second level folder introduce content of SQL MyBatis generator.
    https://jira-eng-gpk2.cisco.com/jira/browse/WBXPLTFM-99992
  2. A Jira task about researching how to integrate Daily Tip on Daily Host teams app UI by GitHub Enterprise Project boards API.
    https://jira-eng-gpk2.cisco.com/jira/browse/WBXPLTFM-99993