use transaction for complex model

This commit is contained in:
Daniel Gultsch 2023-03-05 15:15:57 +01:00
parent f1fbf15fea
commit e4fb793769
No known key found for this signature in database
GPG key ID: F43D18AD2A0982C2

View file

@ -228,6 +228,7 @@ public abstract class DiscoDao {
entity.getClass().getName()));
}
@Transaction
@Query(
"SELECT disco_item.discoId,address FROM disco_item JOIN disco_feature ON"
+ " disco_item.discoId=disco_feature.discoId WHERE feature=:feature AND"