generator two tables && applicationContext.xml