[Grails] Can’t insert data

domain.save(flush:true)

When you save doesn’t work
or id or version dose not numberd.

Check errors fields on its domain object.

See the errors fields has the constraints error, you can check also check by hasErrors() method.







Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.