Note: in Listing 14, the SALES_FACT table is populated in a single transaction, which will require a large amount of disk space for logging.
注意:在清单14中,sales_fact表是通过单独一个事务填充完成的,这需要占用大量的磁盘空间来记录日志。
Note 1: an alternative design for the MDC dimension on the Transactions history table is to define Transaction date at a smaller granularity, such as by week or by day.
注1:对于Transactions历史表上的mdc维,另一种设计方案是以更细的粒度定义Transaction日期,例如每周或每天。
Listing 2 is a sample of how a business method can be implemented in case of a bean-managed transaction (note that exceptions handling is omitted for simplicity)?
清单2示例展示了业务方法在bean管理事务的情况下是如何实现的(注意,为简化起见省略了异常处理)?
应用推荐