如何在 Eclipse IDE 中结合 GWT+Hibernate+MySQL?
早上好,
对于我的项目,我需要开发一个Web应用程序,为此我的选择是:GWT+Hibernate+MySQL+eclipse Helios,但是,我无法使用所有这些工具配置eclipse。这种组合可能吗?如果是的话,有没有一起使用它们的教程? (我在网上搜索,没有找到任何合适的教程)具体来说,如何使用hibernate并与MySQL数据库建立连接? (我创建了 GWT 所需的所有内容,现在我不知道如何调用 hibernate)
欢迎任何帮助, 问候。
Good morning,
For my project, I need to develop a web application, for this my choice was: GWT+Hibernate+MySQL+eclipse Helios, however, I'm not able to configure eclipse with all those tools. Is this combinaison possible? if yes, is there any tutorial for using them together? (I was searching on the internet and I didn't find any appropriate tutorial ) and concretly, how can I use hibernate and make connection with MySQL database? (I created all what I need for GWT and now I don't know exactly how to call hibernate)
Any help is welcome,
Regards.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
为了“调用”Hibernate,您需要使用适当的数据源和描述域实体到数据库结构的映射的映射元数据来配置 SessionFactory。
我建议你在之前仔细阅读Hibernate 文档继续前进。
In order to 'call' Hibernate you'll need to configure a SessionFactory using an appropriate datasource and mapping metadata describing the mapping of your domain entities to your database structure.
I suggest that you carefully read the Hibernate documentation before going any further.
有Gilead库来集成GWT和hibernate。试试这个http://noon.gilead.free.fr/gilead/
There is Gilead library to integrate GWT and hibernate. try this http://noon.gilead.free.fr/gilead/
我制作了一个教程来帮助人们如何做到这一点。检查一下:
http ://singularityprogramming.wordpress.com/2012/04/06/gwt-2-4-0-hibernate-3-6-10-final/
I made a tutorial to help people how to do it. Check it:
http://singularityprogramming.wordpress.com/2012/04/06/gwt-2-4-0-hibernate-3-6-10-final/