Apagar todas as instâncias de um one to many
19/05/2010 00:00
Customer.executeUpdate("delete PollOptions po where po.option.id = :idOption", [idOption:option.id])
Customer.executeUpdate("delete PollOptions po where po.option.id = :idOption", [idOption:option.id])[/quote]
Para se registrar, clique aqui.