The forum has been updated!Pro Cloud Server Released!Enterprise Architect 13.5 Released!
UPDATE t_object SET genType="C++" WHERE genType='Java
I missed this first time around or I would have mentioned that you can do it with the UI: Right-click package in Project Browser > Code Engineering > Reset Options for this Package.
Paolo, there is no option to propagate the language from a package to the elements created within it. A diagram type can specify a language, but not a package.
Selecting '<none>' is the only way to specify that this diagram doesn't specify a language (and that the model default should be used.)
Out of curiosity: why is it, that a diagram is related to a certain language? Seems like a coincidental choice.
In EA 13 - Configure > Model > Options > Source Code Engineering : Default Language for Code Generation.http://sparxsystems.com/enterprise_architect_user_guide/13.0/model_domains/code_generation_options.html