use transaction for complex model
This commit is contained in:
parent
f1fbf15fea
commit
e4fb793769
|
@ -228,6 +228,7 @@ public abstract class DiscoDao {
|
||||||
entity.getClass().getName()));
|
entity.getClass().getName()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Transaction
|
||||||
@Query(
|
@Query(
|
||||||
"SELECT disco_item.discoId,address FROM disco_item JOIN disco_feature ON"
|
"SELECT disco_item.discoId,address FROM disco_item JOIN disco_feature ON"
|
||||||
+ " disco_item.discoId=disco_feature.discoId WHERE feature=:feature AND"
|
+ " disco_item.discoId=disco_feature.discoId WHERE feature=:feature AND"
|
||||||
|
|
Loading…
Reference in a new issue