Java standalone app with JPA + Hibernate (or similar) and Apache Derby embedded DB

我的未来我决定 提交于 2019-11-28 18:02:50
carlspring

If you are using Maven for your build, you can use the derby-maven-plugin, which I wrote and is available on GitHub and via Maven Central. It will take care of starting and stopping the database for you before your tests.

You can check:

  • Here for my answer to a similar question
  • Here for a sample REST application which uses Derby and has tests
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!