It works for many schemas also... Just check the test with the schemas
TEST1 and TEST2...


JP


On Tue, May 7, 2013 at 6:16 PM, George Gastaldi <notifications@github.com>wrote:

> In
> src/main/java/org/hibernate/forge/generate/DefaultReverseEngineeringStrategyWithSchemaSelection.java:
>
> > +	 *
> > +	 * @param catalogs
> > +	 *            The catalogs to use ( FOO.* matches any catalog named FOOX,
> > +	 *            FOOBAR, FOO, etc)
> > +	 * @param schemas
> > +	 *            The schemas to use ( FOO.* matches any schema named FOOX,
> > +	 *            FOOBAR, FOO, etc)
> > +	 * @param tables
> > +	 *            The tables to use ( FOO.* matches any table named FOOX,
> > +	 *            FOOBAR, FOO, etc)
> > +	 */
> > +	public DefaultReverseEngineeringStrategyWithSchemaSelection(
> > +			String catalogs, String schemas, String tables) {
> > +		SchemaSelection schemaSelection = new SchemaSelection(catalogs,
> > +				schemas, tables);
> > +		schemaSelections = Collections.singletonList(schemaSelection);
>
> That means only one schema will be parsed ? What about the substring match
> ?
>
> final String SCHEMA_HELP = "Schema pattern to include. 'PRODUCTION' for specific schema, 'PR.*' for substring match and '.*' for all (the default)";
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/forge/plugin-hibernate-tools/pull/16/files#r4117932>
> .
>



-- 

[image: Linkare TI - http://www.linkare.com]

  *» José Pedro Pereira | CTO*
*»* Email/Gtalk: jpereira@linkare.com
*»* M: +351 918 140 992 | T: +351 213 590 623 | F: +351 213 590 624
***»* Web Site: http://www.linkare.com