Skip to main content
8 events
when toggle format what by license comment
Nov 24, 2020 at 10:57 comment added Oliver @ScubaSteve Actually, you can access both - the collection or a single entity of the collection via the join! The NHibernate API is really powerful here. I've added an example of that.
Nov 24, 2020 at 10:55 history edited Oliver CC BY-SA 4.0
consolidated capitalization and spelling, added collection example in join
Jan 11, 2016 at 16:40 history edited Greg Burghardt CC BY-SA 3.0
Formatted code
Oct 8, 2015 at 13:04 comment added ScubaSteve I tried to do something similar to this, but when I try to access personfavouriteAlias in the 3rd joinAlias, since it is a Collection, I do not have access to Favorite. Instead, I only have access to Collection properties like Count.
Oct 21, 2014 at 0:01 history edited Low Flying Pelican CC BY-SA 3.0
added 36 characters in body
Oct 20, 2014 at 17:38 comment added Mario Tacke The aliases need to be initialized (example: Person personAlias = null) before they can be used. Otherwise, the code will throw an exception.
Sep 30, 2012 at 13:14 vote accept BennoDual
Sep 29, 2012 at 12:18 history answered Low Flying Pelican CC BY-SA 3.0