title: Java standalone app with JPA + Hibernate (or similar) and Apache Derby embedded DB
body: <p>I want to create a Java standalone Java application that will use the Apache Derby Embedded DB. </p>
  
  <p>I want to use JPA since I'm quite familiar with it and probably over Hibernate ( but others are welcome if it is to get easier).</p>
  
  <p>Is there any example that uses JPA over Hibernate over a Derby embedded db? I was searching around but I can't find any useful example code. I would like something like a tutorial that will tell which libs I need to add in my classpath, which are the essential files and what I need to do.</p>