From: xgas <xg...@ho...> - 2008-03-24 11:09:21
|
Isn't it helpful to have in middlegen ANT task the option to specify implements interfaces for each table separatly example: <middlegen appname="${program.name}-${module.name}" gui="false" databaseurl="${database.url}" driver="${database.driver}" username="${database.user_name}" password="${database.user_pwd}" schema="${database.user_name}" includeViews="false"> <table name="SOME_TABLE" implements="Interface" /> <table name="OTHER_TABLE" implements="Some other interface" /> <table name="THIRD_TABLE" /> <!-- no interface --> <hibernate destination="${dir.generator.mappings}" genXDocletTags="true" standardCascade="all-delete-orphan" batchSize="500" /> </middlegen> Right now we can only have same interfaces for all tables. I made some modifications and this works fine. If middlegen dev team thiks its reasonable then i can send my modifications in middlegen source also. Raino Kolk |