这些约束用额外的语义强化层标来注模型,超出了只在基础uml中可表示的内容。
These constraints annotate models with an additional strengthening layer of semantics beyond what is expressible solely in base UML.
但是,如果把它标为属于functional层,就意味着只能在调用框架setup函数之后运行它。
But marking it as belonging to the functional layer means that it will run only after a framework setup function has been invoked.
如果一个服务层方法只处理只读数据,可以将它的事务标为只读,这是优化Hibernate和底层JDBC驱动的一个方法。
If a service layer method deals with only read-only data, you can mark its transaction as read-only, which is a hint to optimize Hibernate and the underlying JDBC driver.
应用推荐