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

export error with LOBs #24

Closed
daust opened this issue Nov 4, 2020 · 2 comments
Closed

export error with LOBs #24

daust opened this issue Nov 4, 2020 · 2 comments
Assignees
Labels
bug Something isn't working module:exporter
Milestone

Comments

@daust
Copy link
Owner

daust commented Nov 4, 2020

While exporting I had errors only with “LOB” and “JOB” object_type (We have on that schema almost 100 jobs, non of them where exported), schema2ddl export that out.

And few LOB-s
export: TRANSLATIONS_LOB[LOB] => 20:03:17 (Exporter,ERROR) sql error: ORA-31600: invalid input value LOB for parameter OBJECT_TYPE in function GET_DDL (LOB was not exported with schema2ddl)
ORA-06512: at "SYS.DBMS_METADATA", line 6681
ORA-06512: at "SYS.DBMS_METADATA", line 6466
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA_INT", line 4166
ORA-06512: at "SYS.DBMS_METADATA_INT", line 4643
ORA-06512: at "SYS.DBMS_METADATA_INT", line 9656
ORA-06512: at "SYS.DBMS_METADATA", line 6409
ORA-06512: at "SYS.DBMS_METADATA", line 6522
ORA-06512: at "SYS.DBMS_METADATA", line 9672
ORA-06512: at line 1

@daust daust self-assigned this Nov 4, 2020
@daust daust added bug Something isn't working module:exporter labels Nov 4, 2020
@daust daust added this to the v1.1.2 milestone Nov 4, 2020
@daust
Copy link
Owner Author

daust commented Nov 4, 2020

The "LOB" object type is a generated type. It is at least generated for table. Thus I will exclude all generated objects by default and add that to the query. This cannot be turned off, but you can see it in the generated query. Anyhow, later we will have a custom query and could work around potential issues here.

@daust daust closed this as completed Nov 4, 2020
@daust
Copy link
Owner Author

daust commented Nov 4, 2020

Also, nested tables will be excluded by default as a subquery which cannot be turned off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module:exporter
Projects
None yet
Development

No branches or pull requests

1 participant