Skip to content

ojitha/spring3part8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

spring3part8

Spring Hibernate project

This is a Spring 3.2.2 and Hibernate 3.5.6 application for managing address and state data.

Technologies Used

  • Spring Framework 3.2.2.RELEASE
  • Hibernate 3.5.6
  • MySQL Database
  • Maven

Requirements

  • Java 7
  • MySQL database
  • Maven

Database Configuration

Configure MySQL database connection in src/main/resources/META-INF/spring/jdbc.properties:

jdbc.driverClassName=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/payroll
jdbc.username=<your-username>
jdbc.password=<your-password>

Building

mvn clean install

Running

The application can be run using the Client class which demonstrates:

  • Fetching all states
  • Address management functionality
  • State/Address relationship handling

The main application context is configured in src/main/resources/META-INF/spring/app-context.xml

About

This is a Spring 3.2.2 and Hibernate 3.5.6 application for managing address and state data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages