public void transactionExample() {
Transaction.create(() -> {
UserEntity userEntity = new UserEntity();
userEntity.setId(1L);
userEntity.setUserName("테스트유저");
return userRepository.save(userEntity);
})
.execute(transactionManager, Propagation.REQUIRES_NEW);
}
-
Notifications
You must be signed in to change notification settings - Fork 1
namjug-kim/functional-transaction
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
transaction monadic container
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published