flyway:clean doesn't remove compiled java source #697
Closed
Comments
axelfontaine
added a commit
that referenced
this issue
Feb 11, 2014
#697: add support for cleaning 'JAVA SOURCE' in Oracle DB
Merged #698 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have some compiled java source in Oracle DB:
CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "MyJavaSource" AS
public class MyJavaSource {
public static int sum(int a, int b) { return a + b;}
}
But after flyway:clean process, It's not removed.
SELECT * FROM all_objects WHERE owner = ?
I think you need to extend your logic in the OracleSchema.doClean function:
for (String statement : generateDropStatementsForObjectType("JAVA SOURCE", "")){
jdbcTemplate.execute(statement);
}
The text was updated successfully, but these errors were encountered: