﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Kevin commented on NHibernate for Reporting...</title><description>Hi Ayende,
  
  
I am currently struggling with how to handle retrieving data in large sets (~10,000 records) while still working within the DDD approach I have started. I have been studying your approach using repositories and I am working on implementing a set of specific repositories for things in my system. One is a StudentRepository which is responsible for managing the students in our system. Most of the repository methods are like Save, Remove, Get, Find, etc. These all use NHibernate to do their work. How would you go about implementing a requirement of "Retrieve students matching some criteria and save results to a downloadable Excel file" where the results could be upwards of ten thousand records? Would this be the responsibility of the repository or some other service? I am just looking for some advice or suggestions.
  
  
Thanks!
</description><link>http://ayende.com/2375/nhibernate-for-reporting#comment12</link><guid>http://ayende.com/2375/nhibernate-for-reporting#comment12</guid><pubDate>Tue, 05 Jun 2007 17:58:22 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate for Reporting...</title><description>That said, Hibernate in Action has a section on reporting queries, and I thinks the docs as well.
</description><link>http://ayende.com/2375/nhibernate-for-reporting#comment11</link><guid>http://ayende.com/2375/nhibernate-for-reporting#comment11</guid><pubDate>Fri, 11 May 2007 15:26:18 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate for Reporting...</title><description>Normally,I wouldn't use NHibernate for reports, SQL is usually better at this sort of thing.
  
The scenario that I was facing is a legacy database schema that I have already mapped to NHibernate and reports that contained business logic.
  
Therefor, I choose to do reporting via the business layer.
  
Normally, I would suggest reports to use SQL directly.
</description><link>http://ayende.com/2375/nhibernate-for-reporting#comment10</link><guid>http://ayende.com/2375/nhibernate-for-reporting#comment10</guid><pubDate>Fri, 11 May 2007 15:25:34 GMT</pubDate></item><item><title>Jericho commented on NHibernate for Reporting...</title><description>Hi Ayende!
  
I`m using HN in my project and I think NHibernate isn`t appropriate for complex reporting or may be my knowledges are not enough for this stuff.
  
Could you recommended me any information for using NH for reporting and any tips&amp; tricks would be very useful!!!
  
  
Thanks!!
</description><link>http://ayende.com/2375/nhibernate-for-reporting#comment9</link><guid>http://ayende.com/2375/nhibernate-for-reporting#comment9</guid><pubDate>Fri, 11 May 2007 14:51:21 GMT</pubDate></item><item><title>Scott Willeke commented on NHibernate for Reporting...</title><description>Can you email me some more information about both how you used (or would prefer to use) NHibernate with reporting and also specifically what problems you have with RTL in RS. We've just released a public beta of Data Dynamics Reports which, among other things will read RDL files, and does support RTL (although I thought RS did too). I'm interested to know what features we might be able to add to help make using NHibernate, RTL more useful in reporting. I'd add XPath to that list, but I think it's hopeless &lt;grin&gt; :)
  
Scott Willeke
  
Data Dynamics
  
http://www.datadynamics.com/
  
</description><link>http://ayende.com/2375/nhibernate-for-reporting#comment8</link><guid>http://ayende.com/2375/nhibernate-for-reporting#comment8</guid><pubDate>Wed, 09 May 2007 16:42:05 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate for Reporting...</title><description>Winston, 
  
see next post about it.
</description><link>http://ayende.com/2375/nhibernate-for-reporting#comment7</link><guid>http://ayende.com/2375/nhibernate-for-reporting#comment7</guid><pubDate>Wed, 09 May 2007 15:35:42 GMT</pubDate></item><item><title>Winston Fassett commented on NHibernate for Reporting...</title><description>Ayende, could you summarize the trivial operations involved?  I, too, would like to know how you transformed your object graph to a dataset and wired it up to MSRS.
</description><link>http://ayende.com/2375/nhibernate-for-reporting#comment6</link><guid>http://ayende.com/2375/nhibernate-for-reporting#comment6</guid><pubDate>Wed, 09 May 2007 14:56:14 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate for Reporting...</title><description>@ Njue,
  
It is tirival to transform an object graph to a dataset.
</description><link>http://ayende.com/2375/nhibernate-for-reporting#comment5</link><guid>http://ayende.com/2375/nhibernate-for-reporting#comment5</guid><pubDate>Wed, 09 May 2007 10:49:37 GMT</pubDate></item><item><title>Rik Hemsley commented on NHibernate for Reporting...</title><description>We need RTL because one of the languages we produce reports in is Arabic. Oh well, there are other reporting products on the market and I was going to try a few of them anyway...
  
</description><link>http://ayende.com/2375/nhibernate-for-reporting#comment4</link><guid>http://ayende.com/2375/nhibernate-for-reporting#comment4</guid><pubDate>Wed, 09 May 2007 07:08:21 GMT</pubDate></item><item><title>Njue commented on NHibernate for Reporting...</title><description>I've been thinking about using NHibernate on my next project but have been reluctant because of reporting.Its a rich client app and i'm stuck with Crystal Reports which as far as i can tell only takes DataSets as report data source.Any ideas on how i would feed NHibernate query results to such a tool?
</description><link>http://ayende.com/2375/nhibernate-for-reporting#comment3</link><guid>http://ayende.com/2375/nhibernate-for-reporting#comment3</guid><pubDate>Wed, 09 May 2007 06:18:15 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate for Reporting...</title><description>We got some help from Microsoft, turned out to be a HttpModule that just processed the outgoing HTML and added dir="rtl", but that breaks horribly on aggregation.
  
Why do you need RTL?
  
No workaround yet, this is one situation where I can tell the customer, you wanted Microsoft, now you deal with it. Not that I would have another solution, by the way, it is just that I have fun saying that ;-)
</description><link>http://ayende.com/2375/nhibernate-for-reporting#comment2</link><guid>http://ayende.com/2375/nhibernate-for-reporting#comment2</guid><pubDate>Tue, 08 May 2007 21:15:19 GMT</pubDate></item><item><title>Rik Hemsley commented on NHibernate for Reporting...</title><description>Ouch... We're considering moving from Crystal Reports, which is just disgusting, and I thought SQL Server Reporting Services sounded interesting - but if it doesn't support RTL...
  
  
Did you come up with a workaround?
  
</description><link>http://ayende.com/2375/nhibernate-for-reporting#comment1</link><guid>http://ayende.com/2375/nhibernate-for-reporting#comment1</guid><pubDate>Tue, 08 May 2007 21:12:30 GMT</pubDate></item></channel></rss>