Split huge generate(schema) method in several smaller ones.

Improved exception handling.
Made the code reusable in custom code generators.
This commit is contained in:
Aaron Digulla 2012-06-07 17:59:15 +02:00
parent 7fda9a03ee
commit f0c63e6253
2 changed files with 1850 additions and 1731 deletions

File diff suppressed because it is too large Load Diff

View File

@ -36,8 +36,6 @@
package org.jooq.util;
import java.io.IOException;
import javax.annotation.Generated;
/**
@ -50,7 +48,7 @@ public interface Generator {
/**
* Do the code generation
*/
void generate(Database database) throws IOException;
void generate(Database database);
/**
* Set a naming strategy to this generator