2009-09-19 19:45:12 UTC
The method works fine (I only tried the version I've built last night, I can't test the final 7.3 until monday), but there is a problem with the mappings recommendations. Let´s say I have a table with a nullable integer column that maps to an int, if I write an entity class with a setter method corresponding to that column and attempt to set the field to null, I'll get a compiler error. It would be better to use the object version of the primitive types (Integer in this example), I've seen other code generators doing the same, but I acknowledge that this would be against the official recomendations.... so I can't give a definitive argument. Hope this makes sense. Cheers, Daniel