Home Jpa Jpacrud Creating files in jpa project
Questions:Ask|Latest

 
 

Share on Google+Share on Google+

Creating files in jpa project

Advertisement
After creating " JPACRUDApplication " project, you need to follow the following steps

Creating files in jpa project

     

After creating "JPACRUDApplication" project, you need to follow the following steps:

  1. Right click on "Source Package" and choose new => Folder.

  2. Give the folder name "META-INF" in Folder Name text box.

  3. Select "META-INF" folder and ritht click on it. Select New => XML Document...

  4. Give the file name "persistence" in file name test box.

  5. Select a radio button "Well-formed Docuement" and click on Finish button.

  6. Put the following text in "persistence.xml" file.

  7. Right click on Source Package" and select New => Java Package...

  8. Give the package name "roseindia" in package name text file.
Advertisements

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: April 18, 2011

Related Tutorials

Ask Questions?    Discuss: Creating files in jpa project  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments
DMCA.com