admin管理员组文章数量:1291629
I don't really know how to explain the problem accordingly but its being stuck at the first line, not every time though I don't even change anything in the code but when I restart the application suddenly it doesnt work.
public TradeHistory fetchTradeHistory() {
var trade = QTrade.trade; // stuck here
var p = QTradePerformance.tradePerformance;
var query = queryFactory.select(
Projections.constructor(TradeHistory.Item.class,
trade.actionDate,
trade.createdAt,
trade.type,
trade.holding.stock.symbol,
trade.price,
trade.quantity,
p.profit,
p.returnPercentage,
p.performanceCategory
)
)
.from(trade)
.leftJoin(trade.performance, p)
.where(trade.holding.user.id.eq(AuthenticationProvider.getUser().getId()))
.orderBy(trade.createdAt.desc())
.fetch();
return new TradeHistory(query);
}
Also I get this warning in the intellij 'Skipped breakpoint at dev.canverse.stocks.service.stock.TradeService:59 because of stepping in another thread'.
I don't get this problem everywhere. Just in this specific function. Query isn't even being executed.
本文标签: OpenFeign QueryDSL QClassproperty Stuck At First LineStack Overflow
版权声明:本文标题:OpenFeign QueryDSL QClass.property Stuck At First Line - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741535909a2384024.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论