Tags

,

links:
http://blog.denevell.org/java-hibernate-sqlite.html
http://examples.javacodegeeks.com/enterprise-java/jpa/persist-object-with-jpa/
http://stackoverflow.com/questions/1158159/no-persistence-provider-for-entitymanager-named
http://www.objectdb.com/java/jpa/persistence/overview
http://www.vogella.com/tutorials/JavaPersistenceAPI/article.html
http://stackoverflow.com/questions/1780341/do-i-need-class-elements-in-persistence-xml

summary:
– eclipselink is the easiest JPA setup, only needs eclipselink.jar and jpa jar.
– hibernate would pull in tons of jars, must need maven
– composite key requires Embedded id class
– use or to include all classes

Advertisements