If this works I will be absolutely amazed:

- Added lib directory including two jar files which should now be
included in the project build path.
- Changed the project type to JPA, and added persistence.xml to the
META-INF directory.
- Added db package containing two classes, one is a util class for you
to use and the other is a test class demonstrating use.
- Added model package containing JPA entities.