List<Hoge>をmakePersistentAllできない
Hogeの一覧をSingleTransactionでmakePersistentAll*1しようとすると下記の例外。
java.lang.IllegalArgumentException: can't operate on multiple entity groups in a single transaction. found both Element { type: "Hoge id: 1 } and Element { type: "Hoge" id: 2 }
ListのStoreを1トランザクションで行いたい場合ってどうすればいいんだ?手動でストア出来たものの情報をとっておいて失敗したら戻すとかなんだろうか?
*1:ループでmakePersistentしても同様