Skip to content

Commit d77e478

Browse files
committed
Main Method
1 parent 15d97cc commit d77e478

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
package edu.ie3.datamodel;
2+
3+
import edu.ie3.datamodel.exceptions.EntityProcessorException;
4+
import edu.ie3.datamodel.exceptions.ProcessorProviderException;
5+
import edu.ie3.datamodel.io.SqlUtils;
6+
import edu.ie3.datamodel.models.input.system.type.StorageTypeInput;
7+
8+
public class Main {
9+
public static void main(String[] args) {
10+
try {
11+
System.out.println(SqlUtils.queryCreateTableUniqueEntity(
12+
StorageTypeInput.class,
13+
"public"
14+
));
15+
} catch (EntityProcessorException e) {
16+
throw new RuntimeException(e);
17+
} catch (ProcessorProviderException e) {
18+
throw new RuntimeException(e);
19+
}
20+
}
21+
}

0 commit comments

Comments
 (0)