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

Oracle: cleaning type fails with object does not exist #2263

Closed
jutoft opened this issue Jan 15, 2019 · 1 comment
Closed

Oracle: cleaning type fails with object does not exist #2263

jutoft opened this issue Jan 15, 2019 · 1 comment

Comments

@jutoft
Copy link

@jutoft jutoft commented Jan 15, 2019

The type is created like this:
CREATE TYPE XXX AS VARRAY(1000) OF VARCHAR2(512)

The issue have started after we did this:
alter type XXX modify limit 100000 cascade

Which version and edition of Flyway are you using?

5.1.4

If this is not the latest version, can you reproduce the issue with the latest one as well?

(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
We use oracle 12.1 so i am unable to test on latest version.

Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)

Command line

Which database are you using (type & version)?

Oracle Enterprise 12.1

Which operating system are you using?

Flyway: Windows
Oracle: Unknown

What did you do?

(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
flyway clean

What did you expect to see?

An empty schema.

What did you see instead?

Failing to delete a type, and dropping out with some types left behind.

@axelfontaine axelfontaine added this to the Flyway 6.0.0 milestone Jan 20, 2019
@axelfontaine axelfontaine changed the title Flyway clean Oracle type: "Message : ORA-04043: object XXX does not exist" Oracle: cleaning type fails with object does not exist Feb 11, 2019
axelfontaine pushed a commit to flyway/flywaydb.org that referenced this issue Feb 11, 2019
@axelfontaine
Copy link
Contributor

@axelfontaine axelfontaine commented Feb 11, 2019

Thanks for reporting. Fixed.

Loading

@axelfontaine axelfontaine removed this from the Flyway 6.0.0 milestone Feb 11, 2019
@axelfontaine axelfontaine added this to the Flyway 6.0.0-beta milestone Feb 11, 2019
dohrayme pushed a commit to dohrayme/flyway that referenced this issue Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants