autocreate

Can one automaticaly create javadoc tags for an entire Eclipse project?

I know one can use '<alt><shift>J' to create tags for a single code element (class method for example). But is there a way to automaticaly create these tags for every class in the entire project? Or even just at package or class level? ...

How to force Grails to use proper column type in MySQL for Map field

Hi, I have a problem in Grails 1.1.2 + MySQL. My domain class Something contains field Map<String, Map<Integer, Integer>> priceMap When I run the app, Grails creates table 'something' and sub-table 'something_price_map'. 'something_price_map' contains BIGINT(20) price_map VARCHAR(255) price_map_idx TINYBLOB price_map_elt The pr...

Django FileField: how to set default value (auto-create empty file)?

I've got a model like this: class MyModel(models.Model): name = models.CharField(max_length=255) code = models.FileField() When a new MyModel is submitted, I want to allow for the code field to be left empty, in which case I need Django to create an empty file (with arbitrary name). Question is: what is the right way to do it...