Monthly Archives: February 2014

Simple Example of Mybatis JAVA Maven Implementation 2

Previous Example Next Example All Mybatics Examples/Topics We will continue with the first simple JAVA mybatis example. In this example, we will first remove the hard-coded database access information from the database-config.xml file, and have the information fed in from

Tagged with: , , , , , ,
Posted in MyBatis

Simple Example of Mybatis JAVA Maven Implementation

Next Example All Mybatics Examples/Topics Mybatis is a powerful and flexible persistent framework. One of the advantage of it, compared to Hibernate, is that you don’t have to pick up new script language. You still create the sql, as you

Tagged with: , , , , , ,
Posted in MyBatis

How to backup and restore mysql DB

Here are a couple of simple mysql commands to backup and restore mysql database 1. backup mysqldump -u [username] -p[pass] -h [hostname] -P [port] [database name] > [database name].sql the -h and -P can be omitted if using localhost and

Tagged with: , ,
Posted in database