IntelliJ IDEA Setup Derby
- Click the project and cretate a new folder;
- Right click the new folder, and select
New
->Data Source in Path
, likederby
; - On the right panel of the idea window, click the database icon to expand;
- Click the
+
icon ->Data Source
->Apache Derby
; - Name:
Apache Derby (Embedded)
Path: the path to thederby
Must check theCreate Database
,
Or append;create=true
to the end of url - Add derby driver to tomcat
lib
floder, literally copy all jar file to the folder. - Add ```xml
```
P.S. driver is EmbeddedDriver
. P.P.S. Must be deactive in Database
Panel. P.P.P.S. Jdk8 only support 10.14.2.0, version could be choozen on Driver tab.
This post is licensed under CC BY 4.0 by the author.