Skip to content

thomasabraham/CompositePU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CompositePU

This is a Proof of concept to connect to multiple databases using JPA/eclipselink. We are using composite persistence unit to configure multiple persistence units, which will be used to connect to multiple databases.

How to run

Once you have checked out the project, do the following to run it.

  1. Run CreateDB.sql in your local database to create the required schemas and default data.
  2. Update modThree/src/main/resources/dbConf.properties with your database credentials.
  3. Now build the entire project with mvn clean install command. (Note: you need maven, jdk to build this project)
  4. Now take the modThree/target/modThree-1.0.0.war file and deploy it in a tomcat

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published