要对应的hibernate-annotation ,hibernate-commons-annotations,和ejb3-persistence
hibernate annotation就是省略bai了duhbm.xml文件才用zhi注解的方式使类和表对应在daohibernate3.5后自动集成了annotation所以看你的回hibernate版本就行了。。类对应的@答table,属性对应@column具体用法自己搜下吧
贴个邮箱出来,把内容发给你!
http://sourceforge.net/projects/hibernate/files/hibernate3 这里来面自可bai以du找zhi到dao
用户登录
还没有账号?立即注册
用户注册
投稿取消
文章分类: |
|
还能输入300字
上传中....