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:
parent
7fda9a03ee
commit
f0c63e6253
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user