在NetBeans中将休眠添加到现有的Web应用程序中? [英] Add hibernate to existing web application in netbeans?
本文介绍了在NetBeans中将休眠添加到现有的Web应用程序中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在netbeans中创建了一个web应用程序,它工作正常。现在为了学习目的,我想使用hibernate进行数据库交互。我可以在netbeans中使用hibernate创建一个新项目,但我不知道如何在现有项目中添加hibernate。
谢谢。
$ b $在Netbeans 7.3.1版本中,b$ b
右键单击点击源码包>>新>>其他...>>休眠>>休眠配置向导。
I have created a web application in netbeans and it works fine. Now for the learning purpose I want to use hibernate for the database interaction. I can create a new project with hibernate in netbeans but I don't know how to add hibernate in my existing project.
Thank you.
解决方案
In Netbeans version 7.3.1
right-click on "Source Packages" >> New >> Other... >> Hibernate >> Hibernate Configuration Wizard.
这篇关于在NetBeans中将休眠添加到现有的Web应用程序中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文