01: package com.completex.objective.persistency.examples.ex004a;
02:
03: import com.completex.objective.persistency.examples.ExamplesHelper;
04:
05: import java.io.IOException;
06: import java.sql.SQLException;
07:
08: /**
09: * @author Gennady Krizhevsky
10: */
11: public class GenDescriptors {
12:
13: public static void main(String[] args) throws Exception,
14: SQLException, IllegalAccessException,
15: InstantiationException, ClassNotFoundException {
16: ExamplesHelper
17: .createTablesAndGenerateDescriptors(GenDescriptors.class);
18: }
19:
20: public static void createTables() throws SQLException, IOException {
21: ExamplesHelper.createTables(GenDescriptors.class);
22: }
23:
24: }
|