简体   繁体   English

使用NetBeans实用程序无法访问Java DB(嵌入式)

[英]Can't get access to the Java DB (Embedded) using NetBeans utilities

stackoverflowers!!! stackoverflowers !!!

I've got a big problem with creating embedded database, using NetBeans IDE. 使用NetBeans IDE创建嵌入式数据库时遇到了一个大问题。 So, this are the steps I'm taking to create app: 因此,这是我创建应用程序要采取的步骤:

1 - In Services I'm starting the server. 1-在服务中,我正在启动服务器。
2 - Then creating the database; 2-然后创建数据库;
3 - Making a connection, using a JavaDB (Embedded) driver; 3-使用JavaDB(嵌入式)驱动程序进行连接;
4 - Then, in a new connection I'm creating a new table; 4-然后,在新连接中创建一个新表;
5 - Then I'm creating empty Java application project; 5-然后创建一个空的Java应用程序项目;
6 - Creating an Entity Classes from Database file; 6-从数据库文件创建实体类;
7 - Making Frame Form with a table; 7-用桌子制作框架表格;
8 - Binding the table with databases table; 8-将表与数据库表绑定;
9 - Click Run button; 9-单击运行按钮;
10 - NetBeans says: "database was not found"; 10-NetBeans说:“未找到数据库”;

SO, your suggestions? 所以,您有什么建议吗? I'm so tired with that... 我对此感到非常疲倦...

There is a pretty good explanation about your scenario here . 关于您的情况, 这里有一个很好的解释。 If you are using NetBeans then it is perfectly good. 如果您使用的是NetBeans那就太好了。
As, once I faced the same scenario and found that there are very few resources about the topic, but this post particularly solved my problem. 而且,一旦我遇到相同的情况,发现关于该主题的资源很少,但是这篇文章特别解决了我的问题。

I did not mention the details about the answer as the mentioned link speaks it all. 我没有提及答案的细节,因为提到的链接说明了一切。

Thanks, hope it helps!!! 谢谢,希望对您有所帮助!!!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM