0

根据 Java EE 7 教程,我需要通过运行命令“mvn install”来安装示例原型。

我被提示这个错误

[INFO] [talledLocalContainer] PER01003: Deployment encountered SQL Exceptions:
[INFO] [talledLocalContainer] Command deploy failed.
[INFO] [talledLocalContainer]   PER01000: Got SQLException executing statement "CREATE TABLE SETUPOFFICE (EMPLOYEEID VARCHAR(255) NOT NULL, EMPLOYEENAME VARCHAR(255), EQU
IPMENTLIST VARCHAR(255), OFFICENUMBER INTEGER, PRIMARY KEY (EMPLOYEEID))": java.sql.SQLException: Table/View 'SETUPOFFICE' already exists in Schema 'APP'.

我的问题是:

  • SQL查询在哪里?!
  • 如何登录 JavaDB 模式来解决这个问题?我下载了 SQuirreL SQL 客户端,但我不知道我应该使用什么凭据\模式名称

更重要的是,请注明您的信息来源。本教程很难理解,我打算完成它,所以我需要绕路。

4

1 回答 1

0

JavaDB (Derby) connection information is:

Address: localhost
Username: APP
Password: APP
Schema name: sun-appserv-samples

I got this from the JDBC connection pools from the pool named "DerbyPool"

于 2013-10-30T22:40:30.580 回答