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.
我正在尝试使用 Netbeans 创建一个持久性单元。但是我无法弄清楚 Jndi 名称应该是什么 - 在数据库连接中,我已成功连接到我的 Db?
我通常做的是在服务器“容器”中设置数据库连接,这取决于您使用的服务器。我在服务器中输入的 JNDI 名称类似于java:comp/env/jdbc/employee
java:comp/env/jdbc/employee