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.
我在一家大公司工作,需要连接oracle数据库。它已设置为我可以通过 DSN 连接到它,但我想直接连接到数据库。当我拥有的唯一信息是数据库的名称以及用户名和密码时,我该怎么做。它通过dsn工作正常。
我认识的大多数 Java 开发人员都使用 JDBC 瘦客户端进行连接。您需要用户/密码、主机名和数据库 ID,并且应该能够连接。