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 TC connection hangs when using TC_INITSCRIPT #408

Closed
sooty1892 opened this issue Jul 16, 2017 · 4 comments
Closed

Oracle TC connection hangs when using TC_INITSCRIPT #408

sooty1892 opened this issue Jul 16, 2017 · 4 comments

Comments

@sooty1892
Copy link

When using the Oracle-XE TC along with TC_INITSCRIPT parameter, the connection fails as the TC parameters are passed to the Oracle container.

E.G

jdbc:tc:oracle://hostname/databasename?TC_INITSCRIPT=somepath/init_mysql.sql eventually maps to
jdbc:oracle:thin:system/oracle@//localhost:32775/xe?TC_INITSCRIPT=somepath/init_sql.sql which FAILS

jdbc:tc:oracle://hostname/databasename maps to
jdbc:oracle:thin:system/oracle@//localhost:32775/xe which WORKS

I believe this map be related to issue #345 & PR #357. If this is related, when will the PR be merged and if not, please can you help with the fix?

@richiejrsilva
Copy link

Hi, I'm facing the same issue.

Do you solved it? Theres is news about your issue?

Thanks in advance.
Regards,
RichardSilva

@kiview
Copy link
Member

kiview commented Oct 1, 2018

Hi @richiejrsilva,
this is still happening with recent Testcontainers version (1.9.1)?

@eddumelendez
Copy link
Member

@sooty1892 @richiejrsilva there have been improvements since the date the issue was reported. Can you let us know if the issue still happens?

Although, nowadays, we highly recommend use flyway or liquibase for such operations

@richiejrsilva
Copy link

@eddumelendez the issue does not happen anymore. thanks

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

4 participants