Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

more additional info about setting up a JPA project

 
Ranch Foreman
Posts: 1896
12
  • 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]
 
You are HERE! The other map is obviously wrong. Better confirm with this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic