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

Grails4.0.1 domain.findAll() and domain.list() don't work #7

Open
zhangjiayu139 opened this issue Apr 24, 2020 · 0 comments
Open

Grails4.0.1 domain.findAll() and domain.list() don't work #7

zhangjiayu139 opened this issue Apr 24, 2020 · 0 comments

Comments

@zhangjiayu139
Copy link

zhangjiayu139 commented Apr 24, 2020

domain.list(),domain.findAll() don't work

my code :

1、build.gradle
compile 'org.grails.plugins:gorm-logical-delete:2.0.0.M2'
2、domain class
class Demo implements Serializable, LogicalDelete<Demo> { String demo static constraints = { } }
3、controller
def index() { render Demo.list() as JSON }

4、run result
image

@zhangjiayu139 zhangjiayu139 changed the title Grails4.0.1 don't work Grails4.0.1 domain.findAll() and domain.list() don't work May 28, 2020
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