hibernate逆向工程不能选择Spring DAO

.springBeans文件


<?xml version="1.0" encoding="UTF-8"?>
<beansProjectDescription>
	<version>1</version>
	<pluginVersion><![CDATA[2.3.2.me201004140951]]></pluginVersion>
	<configSuffixes>
		<configSuffix><![CDATA[xml]]></configSuffix>
	</configSuffixes>
	<enableImports><![CDATA[false]]></enableImports>
	<configs>
		<config>WebRoot/WEB-INF/applicationContext.xml</config>   //注意
	</configs>
	<configSets>
	</configSets>
	<springVersion>3.0</springVersion>
</beansProjectDescription>



.myhibernatedata文件

#MyEclipse Hibernate Properties
#Sun Aug 12 21:36:50 CST 2012
sessionFactoryName=com.cas.user.bean.HibernateSessionFactory
genBasicCompId=true
profile=
daoSFId=sessionFactory     //注意
version=3.3
jndiPath=
detectM2M=false
reStrategyClass=
detectO2O=false
springDaoFile=WebRoot/WEB-INF/applicationContext.xml     //注意
useJavaTypes=true
keyGenerator=
libInstallFolder=/WebRoot/WEB-INF/lib
addLibs2Project=true
genVersionTag=false
sessionFactoryId=sessionFactory
basePersistenceClass=
genAnnotations=false
reSettingsFile=/coalgas/hibernate.reveng.xml
configFile=/coalgas/WebRoot/WEB-INF/applicationContext.xml //注意
createConfigFile=false
addLibs2Classpath=true

你可能感兴趣的:(DAO,spring,Hibernate,逆向工程)