@Transactional
을 만들어주고 싶을 때@Target({ElementType.TYPE, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) @Documented @Transactional("myDbTransactionManager") public @interface MyDbTransactional { @AliasFor(annotation = Transactional.class) Propagation propagation() default Propagation.REQUIRED; @AliasFor(annotation = Transactional.class) Isolation isolation() default Isolation.DEFAULT; @AliasFor(annotation = Transactional.class) int timeout() default -1; @AliasFor(annotation = Transactional.class) boolean readOnly() default false; ... }