yor1g
yor1g
`JPQLNextExpressions.groupConcat( true, userCompany.company.code, "、", userCompany.company.name.asc() );` `GROUP_CONCAT('DISTINCT', userCompany.company.name, 'SEPARATOR', " + "'、', 'ORDER BY', userCompany.company.name, ASC)` > java.lang.IllegalArgumentException: Attribute 'ASC' not found on type 'UserCompany' at com.blazebit.persistence.parser.PathTargetResolvingExpressionVisitor.visit(PathTargetResolvingExpressionVisitor.java:233) at com.blazebit.persistence.parser.expression.PropertyExpression.accept(PropertyExpression.java:30) at...
```` QBusWasteGenerate busWasteGenerate = QBusWasteGenerate.busWasteGenerate; blazeJPAQueryFactory.from(busWasteGenerate) .select( busWasteGenerate.company.code, busWasteGenerate.wasteCode ) .groupBy( busWasteGenerate.company.code, busWasteGenerate.wasteCode ) .fetchCount(); ```` Hibernate: select count(distinct bwg1_0.waste_code) from bus_waste_generate bwg1_0 ```` QBusWasteGenerate busWasteGenerate = QBusWasteGenerate.busWasteGenerate; QCompany company...