隔离级别 isolation,5 种:

ISOLATION_DEFAULT,
ISOLATION_READ_UNCOMMITTED,
ISOLATION_READ_COMMITTED,
ISOLATION_REPEATABLE_READ,
ISOLATION_SERIALIZABLE,

隔离级别解决的问题:

脏读,

幻读,

不可重复读,

传播性 propagation,7 种:

PROPAGATION_REQUIRED,
PROPAGATION_SUPPORTS,
PROPAGATION_MANDATORY,
PROPAGATION_REQUIRES_NEW,
PROPAGATION_NOT_SUPPORTED,
PROPAGATION_NEVER,
PROPAGATION_NESTED,

Spring事务实现原理:

IOC+APO

05-11 13:42