Re: [hibernate-dev] SessionImpl.list(CriteriaImpl criteria) returns an empty list when no implementors exist

2009-02-17 Thread Kevin Wong
Hi Steve, thanks for the idea. Thoughts on returning null instead of an empty list to differentiate an unsuccessful query versus a successful query that returns no items. Kevin - Original Message - From: "Steve Ebersole" To: "Kevin Wong" Cc: hibernate-dev@

[hibernate-dev] SessionImpl.list(CriteriaImpl criteria) returns an empty list when no implementors exist

2009-02-14 Thread Kevin Wong
Hi all, in using hibernate v31final SessionImpl.list(CriteriaImpl criteria), I had an issue where hibernate would return an empty list when no implementors existed for the entity name(I had mistaken deleted the entity from the hibernation configuration file). The confusion arose in that this was