Exclude Table Patch to respect <table generate="false">

"Michael Bushe" <[email protected]> Wed, 9 Feb 2005 20:56:31 -0500
Newsgroups gmane.comp.java.ejb.middlegen.user
Message-ID <[email protected]>
Folks,

 

I uploaded a patch to be enable the ability to exclude files with the
<table> element.  

 

With the patch:

-          Having no <table> elements still generated all tables.  

-          Having only exluded tables, such as <table name="foo"
generate="false:>, generates all but excluded tables 

-          Having a mix of included and excluded, which would be silly
outside of debugging, would generate the included ones not excluded, though
I must admit, I didn't not test this condition.

 

Commiters: I assume this email and the patch is sufficient to get it looked
at and hopefully committed.  If I should submit a bug report too, please let
me know.

 

FYI, I needed this when I upgraded my database from PostgreSQL 7.2.? to
PostgrSQL 8.0.1 Middlegen found new system tables, specifically:
sql_sizing_profiles, sql_languages, sql_packages, sql_features, sql_sizing,
and sql_implementation_info.

 

Thank You,

 

Michael Bushe

Bushe Enterprises, Inc.