Skip to content

Commit f255505

Browse files
author
arno82
committed
Treat PROGRAM as PROCOBJ
Scheduler PROGRAM has to be of type PROCOBJ to allow the DDL export of such objects
1 parent 1a4c2c2 commit f255505

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/googlecode/scheme2ddl/TypeNamesUtil.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ public static String map2TypeForDBMS(String type) {
2020
if (type.equals("JOB"))
2121
return "PROCOBJ";
2222
if (type.equals("SCHEDULE"))
23+
return "PROCOBJ";
24+
if (type.equals("PROGRAM"))
2325
return "PROCOBJ";
2426
if (type.equals("PACKAGE"))
2527
return "PACKAGE_SPEC";

0 commit comments

Comments
 (0)