LoginSignup
0
0

More than 1 year has passed since last update.

@Transactional内のselect文

Posted at

@Transactional
public Object saveOrUpdateAny(){
update any;
select any;
}

問題:select の結果は、update前のデータになります。

対応方法:saveOrUpdateAny()メソッドを実行した後で、
selectを実行します。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0