Hibernate / NHibernate映射文件编辑器 [英] Hibernate/NHibernate mapping file editor

查看:122
本文介绍了Hibernate / NHibernate映射文件编辑器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一名编辑,该编辑从

http://www.hibernate.org/hib_docs/nhibernate/html/mapping.html



内置,并允许以GUI方式简单编辑XML文件。我意识到CodeSmith和MyGeneration是存在的,但是从我记忆中来看,这些只能用一种方式,并且不允许编辑现有的HBM文件。 解决方案

值得一提的是Oren Eini的NHibernate查询分析器。
主要用于分析HQL查询,它也有一个相当有用的HBM编辑器:

NHibernate查询分析器截图http://img6.imageshack.us/img6/5617/nhqa.gif



旧项目页面(带有Flash演示): http://ayende.com/projects/nhibernate-query-analyzer.aspx



新项目页面: http://www.assembla .com / wiki / show / NHibernateQueryAnalyzer



这将允许编辑HBM文件并显示每个映射节点的所有可用属性。



鉴于您可以下载源代码,添加内联帮助并不是那么简单。


I'm looking for an editor that has the help from

http://www.hibernate.org/hib_docs/nhibernate/html/mapping.html

built in, and allows simple editing of the XML files in a GUI fashion. I realise there's CodeSmith and MyGeneration, but from what I remember these only go one way, and don't allow editing existing HBM files.

解决方案

Probably worth taking a look at the NHibernate Query Analyzer by Oren Eini. Primarily used to analyze HQL queries it also has a fairly useful HBM editor:

NHibernate Query Analyzer Screenshot http://img6.imageshack.us/img6/5617/nhqa.gif

Old Project Page (with flash demo): http://ayende.com/projects/nhibernate-query-analyzer.aspx

New Project Page: http://www.assembla.com/wiki/show/NHibernateQueryAnalyzer

This will allow editing for HBM files and will show all of the available attributes for each mapping node.

Given that you can download the source code it wouldn't be that trivial to add the inline help.

这篇关于Hibernate / NHibernate映射文件编辑器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆