【发布时间】:2022-01-05 21:25:53
【问题描述】:
在我的方法中,我修改了数据库中的数据,我想用同样的方法来检索我的新数据 java ee 应用程序
注意:我在我的 accountRepository 中使用 entitymanager
示例
@Transactional(value = Transactional.TxType.SUPPORTS)
public Account getAccount(Account account) {
accountRepository.create(new Account("test");
return accountRepository.getAllAccount();
}
【问题讨论】:
标签: java postgresql ejb entitymanager