I've read posts that reason that things like a tablespace tag shouldn't be added to XDoclet, that makes sense to me. But what I'd like to see is something added to the schemaexport task that allows generically adding text into various places of the DDL, for example, something like
Code:
<schemaexport aftertablecreate="in tablespace index in idx_tablespace long in lob_tablespace"
...>
would then generate
Code:
create table blah (
...
) in tablespace index in idx_tablespace long in lob_tablespace;
Similar things could also be used to generate grant statements (it would have to be the same permissions for every table).
Does that sound like a good idea? Does something like that already exist? If its something that people agree with, I'll write a patch to do it.