Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean on DB2 functions or procedures fails when two procedures have the same name #1167

Closed
pswrdf opened this issue Jan 20, 2016 · 4 comments

Comments

@pswrdf
Copy link

pswrdf commented Jan 20, 2016

Nobody get load on my comment there #464, so I create this issue

I faced with same error flyway 3.2.1:
INFO: Database: jdbc:db2://localhost:50001/TEST1 (DB2/NT64 9.7)
Exception in thread "main" org.flywaydb.core.api.FlywayException: Unable to clean schema "DB2ADMIN"
Caused by: com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-476, SQLSTATE=42725, SQLERRMC=DB2ADMIN.MYFUNCTION, DRIVER=3.63.75

REFERENCE TO FUNCTION function-name WAS NAMED WITHOUT A SIGNATURE, BUT THE FUNCTION IS NOT UNIQUE WITHIN ITS SCHEMA

@axelfontaine
Copy link
Contributor

Please include exacts steps on how to reproduce (small sample script that Flyway fails to clean).

Also please try the version from GitHub (flyway-core can easily be built from source with -DskipTests) and see if the problem still occurs.

@axelfontaine
Copy link
Contributor

Any news?

@axelfontaine
Copy link
Contributor

Closing due to lack of response from original reporter.

@axelfontaine
Copy link
Contributor

Fixed by #1722

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants