C:\temp\jboss-seam-1.2.1.GA>seam new-project
You can go to the
And add a line such as this:
This should effectively restrict the tables as desired. Note you can use multiple of these entries to "carve out" the set of tables you want (although I'm not sure what the exact semantics are of using various combinations of exclude=true/false for different entries).<table-filter match-schema="MYSCHEMA" match-name="DEMO.*" exclude="false"/>
Some things to watch out for:
- Case sensitivity
At least for Oracle, you need to use upper case (I suppose you could attemp some kind of case insensitive regex). - Owning schema in seam-gen.reveng.xml
Seems like you have to specify the owning schema for the tables, even if you are connecting with a user that has privileges for the tables. - Owning schema in build.properties
You need to specify connection properties to the owning schema, at least temporarily, or you may get WARNING: Exception while trying to get indexinfo on...
Reference for table-filter
No comments:
Post a Comment