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

nuodb-migrator data export fail on Oracle DB EE (12.2) #42

Open
rwjlewis opened this issue Aug 15, 2018 · 1 comment
Open

nuodb-migrator data export fail on Oracle DB EE (12.2) #42

rwjlewis opened this issue Aug 15, 2018 · 1 comment

Comments

@rwjlewis
Copy link

Create generic Oracle DB user/data:

conn / as sysdba
set echo on
alter session set container = orclpdb;
drop user foo cascade;
create user foo identified by foo;
grant create session,resource,unlimited tablespace to foo;
conn foo/foo@orclpdb
create table foo(ID INT);
INSERT INTO FOO(ID) VALUES(1);
commit;
exit

nuodb-migrator schema --source.driver=oracle.jdbc.driver.OracleDriver --source.url=jdbc:oracle:thin:@//localhost:1521/orclpdb --source.username=foo --source.password=foo --source.schema=FOO --output.path=/tmp/schema.sql

Output of schema.sql doesn't contain data:
USE "FOO";
DROP TABLE IF EXISTS "FOO" CASCADE;
CREATE TABLE "FOO" ("ID" NUMERIC(38,0));

I added --meta.data.=true to force it with no output change.
nuodb-migrator schema --source.driver=oracle.jdbc.driver.OracleDriver --source.url=jdbc:oracle:thin:@//localhost:1521/orclpdb --source.username=foo --source.password=foo --source.schema=FOO --output.path=/tmp/schema.sql --meta.data.
=true
Output of schema.sql still doesn't contain data:
USE "FOO";
DROP TABLE IF EXISTS "FOO" CASCADE;
CREATE TABLE "FOO" ("ID" NUMERIC(38,0));

@rwjlewis
Copy link
Author

--meta.data.*=true

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

No branches or pull requests

1 participant