Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数据库访问使用act-hibnerate + MySQL这种配置下,dao.count()不能工作 #45

Open
casonol opened this issue Jul 24, 2019 · 0 comments

Comments

@casonol
Copy link

casonol commented Jul 24, 2019

pom文件配置act-starter-parent版本是1.8.25.0,数据访问直接使用 act-hibernate 和 mysql。
在使用 ### dao.count()时报错。
HTTP/1.1 400 Bad Request

org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: Member near line 1, column 15 [SELECT COUNT( Member ) FROM com.yicool.cason.modules.system.model.Member Member ]
 - java.lang.IllegalArgumentException: org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: Member near line 1, column 15 [SELECT COUNT( Member ) FROM com.yicool.cason.modules.system.model.Member Member ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant