• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

more additional info about setting up a JPA project

 
Himai Minh
Ranch Hand
Posts: 1361
7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Since I passed my web component exam, I move on the JPA exam.

I started reading this first tutorial:
http://www.thejavageek.com/2014/01/08/create-jpa-project-eclipse/
Two more steps I need to add:
1. we need to specify a connector for jdbc driver. Download mysql-connector-java-5.0.8.jar or some other versions of it.
From the first diagram below, click on the little triangle on the right hand side to navigate you to the second diagram.

2. remember to add the connector jar file in the classpath.

See attached diagrams.
driver.JPG
[Thumbnail for driver.JPG]
connector.JPG
[Thumbnail for connector.JPG]
addDriverJar.JPG
[Thumbnail for addDriverJar.JPG]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic