1

I can connect to Oracle in the following way: sqlplus / as sysdba. Can I connect in the same way from java? According to the docs (https://docs.oracle.com/cd/B19306_01/java.102/b14355/urls.htm#CHDJICFH), I have to have sys schema with the password, but I don't have any user.

1
  • most likely there 'll be a default pass and user Commented Aug 22, 2018 at 7:56

1 Answer 1

1

This is not supported by Thin JDBC drivers.

When you execute sqlplus / as sysdba then your sqlplus spawns a child oracle process and then talks to it via pipe. So you completely bypass a network stack.

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you. It can be possible if I would use other drivers?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.