Skip to content

psu zzz psu zzz

いかがでしたでしょうか

Month: January 2014

[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.

1
2
domain.validate()
domain.hasErrors()

Author takePosted on 2014年1月16日Categories Grails, groovy, IT technical1 Comment on [Grails] Can’t insert data

Posts pagination

Previous page Page 1 Page 2

いいね!

Recent Comments

  • Ahmad on [Grails] ERROR ehcache.Cache – Unable to set localhost.
  • yanti on [Spring Batch] (For forgot) What ItemReader should do
  • widya on [Grails] Can’t insert data
  • widya on Grails: About build/runtime/compile in BuildConfig.groovy
  • widya on [Grails] Using proxy.

Archives

  • August 2014
  • January 2014
  • December 2013
  • November 2013

Recent Posts

  • Grails: About build/runtime/compile in BuildConfig.groovy
  • [Grails] Speed up Integration test (Debug mode available)

Categories

  • GIT
  • Grailde
  • Grails
  • groovy
  • IT technical
  • SpringBatch
  • Version Control
psu zzz psu zzz Proudly powered by WordPress