Took out the Java Persistence stuff. I need to do some reading on this topic. See the wiki.
SQL added for the database.