I would like to return a DTO from my data layer which would also contain child collections...such as this:
Is is possible to do automatic rel开发者_JAVA技巧ation fetching in GORM / Grails? class Person { static hasMany = [cars : Car]
I\'ve got this object graph: // Lots of stuff omitted for brevity; these are all virtual properties and there
I have a problem with SetFetchMode call in Crite开发者_如何转开发ria API in following query: DetachedCriteria.For<User>()
I found this description of the batch-fetching algorithm in \"Manning - Java Persistence with Hibernate\":
I’m using NHibernate for data access, but accessing it through a façade layer. This layer consists of interfaces for the repositories, plus an IUnitOfWork interface which corresponds to the ISession
I am trying to eagerly fetch collections using selects, but all I am getting is inner joins. What is going on?