Wednesday, June 17, 2009

More grails woes


Ok. This is just a short status report.

In grails 1.1 (the current version as of june 17. 2009) the following does not work:

  • Cascading deletes.
  • Automatic firing of beforeDelete events.

Consequently anyone depending on these mechanisms for maintaining database consistency will not have consistent database after any deletes that should have involved cascading deletes or automatic firing of beforeDelete events.

The workaround I've used is:

  • Hand-code cascading of deletes into the beforeDelete method in the classes where cascading is supposed to be applied.
  • Hand-firing beforeDelete before every invocation of delete.

I won't tell you how long it took to figure these ones out. Suffice it to say it was far to long.


Tuesday, June 16, 2009

Google wave

This guy has got the most important point about wave, and he has a cool demo to show it ;)