Archive for the ‘IT’ Category

Hibernate Query Optimization and lazy loading

The problem: For each object that Hibernate loads, it needs to do one or more extra SQL queries to load associated objects. (Potentially as many as Kn + 1, where n is the number of objects returned). Example: Simplified hibernate mapping file <class name=”Department”> … <many-to-one name=”employee”…/> … </class> Simple HQL Query from Department dept where dept.location like [...]

Posted on February 8, 2010 at 12:00 pm by Sami · Permalink · Leave a comment
In: Hibernate, IT · Tagged with: ,

IIS7 as Web Server – Application Request Routing

We used this approach to forward all requests from/to MOSS 2007. It is easy using IIS7 but complicated with IIS6 Install IIS 7 Install Application Request Routing http://learn.iis.net/page.aspx/482/install-application-request-routing/ Open IIS Manager Press Add and then Finish Press Yes Try to request for a page on MOSS server from the web server. http://WEB_SERVER/Pages/Memos.aspx This will be [...]

Posted on January 24, 2010 at 5:26 pm by Sami · Permalink · Leave a comment
In: IT, Microsoft, SharePoint · Tagged with: , , ,