mybatisexample
Spring mybatis sample project with complete java config
#Steps to run this project :
- Install mysql database
- Create database mybatis
- Run sql scripts from db folder (https://github.com/sanjoy-sust/mybatisexample/tree/master/src/main/resources/db)
- Run mvn clean package, Brfore that configure your maven settings.
- Copy mybatis-example-1.0-SNAPSHOT.war file from target folder to your tomcat webapps folder
- Goto bin folder of your tomcat and run ./startup.sh for linux and ./startup.bat for windows
- goto web browser and hit http://localhost:8080/mybatis-example-1.0-SNAPSHOT/employee
- You will see employee list