Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以使用 jdbc 连接字符串连接到 Oracle DB,例如:
jdbc:oracle:thin:@myserver:1521:mydb
而不是使用TNS?
可以,只要 JDBC 驱动程序 JAR 在 CLASSPATH 中。