NHibernate Query Analyzer 0.5
Well, I'm ready to show you what I've done so far.
It's an alpha version, so it has many some problems.
Features:
- Support NHibernate 0.5
- Support on-the-fly translating from HQL to SQL including error reporting.
- Support viewing the returned object graph
- Support viewing the returned data base results
- There is no save button - see Tog
- Support configuring from multiply resources (*.cfg.xml, *.config, *.exe,*.dll, *.hbm.xml)
Known problems:
- You must put your assemblies in the same directory as NQA - this is related to .Net loading non-GAC assemblies. There are solutions out there, I haven't the time to look at them.
- The TreeListview that I'm using currently as my object viewer is
verybuggy if you try to do uncommon things such as double clicking on a column to auto expand it. I'll replace it as soon as I'll find a new one that I can use. - Code highlighting is not working due to my inability to use an of the free offerring and lack of time to create my own. There is some
highly inefficenthighlighting on the SQL results windows, but even that is not good enough. - Sometime there is a problem if you configure from several resource that contain the same information. NHibernate throws an exception on that, I've not decided what I should do about it. Options are:
- Leave as is - what I'm doing now, let the user know that they made a mistake, leave it up to him to fix it.
- Silently ignore - Means that the configuration may not be what the user expected.
- Silently succedd - The "last one in - wins" scenario.
- Something else I didn't think about... ?
- The sample DB is MS Access "grocertogo.mdb" (the only thing that I'd on my computer during development :-)
Planned features:
- Generating code/mapping/table schema base on supplied files or some GUI editor - for this I would have to have a code editor, so if you know one that I can use, or just can help me with making ScintillaNET usable to me, I would be very grateful.
- Some UI modifications, I'm not sure that I like the current UI, it seems a bit clumsy to me.
- Moving to NHibernate 0.6
- Add timing so you can see how
inefficent your code really is :-) - Viewing the log4net output from NHibernate
- Add a menu to the tree, so you can remove files more easily (right now you need to press "Delete")
- Refactor the code :-)
Usual warnings apply, alpha code, use at your own risk, all your bases belog to us, etc.
Feature requests, bug reports are welcome if I manage to find a winforms bug tracking software that doesn't use MS Sql :-)
[Update: You can get the files at the project site: http://developer.berlios.de/projects/nqa/ ]
Enjoy. ;-)
Comments
Comment preview